Advertisement
ginsul

NOT working version

Dec 16th, 2014
301
0
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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement