daily pastebin goal
8%
SHARE
TWEET

NOT working version

ginsul Dec 16th, 2014 181 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #I have 3 nodes: puppet (master), source_node and target_node
  2. #Source_node runs OK
  3. #Target_node returns:
  4. #Error: /Stage[main]/Main/Node[default]/File[/tmp/output]: Could not evaluate: Could not retrieve information from environment production #source(s) file:/tmp/input
  5.  
  6. node 'puppet' {
  7.   class { 'puppetdb':}
  8.   class { 'puppetdb::master::config':
  9.     puppet_service_name => 'apache2',
  10.   }
  11. }
  12.  
  13. node 'source_node' {
  14.    @@file { "/tmp/output":
  15.      ensure => "present",
  16.      source => "/tmp/input",
  17.      tag => "test",
  18.    }
  19. }
  20.  
  21. node 'target_node' {
  22.     File <<| tag == "test" |>>
  23. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top