Advertisement
theRoUS

Hashes as parameters to declarations

Jun 29th, 2017
2,555
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Puppet 0.15 KB | None | 0 0
  1. $args         = {
  2.   'ensure'    => 'file',
  3.   'owner'     => 'root',
  4.   'require'   => [
  5.     'File[/tmp/foo]',
  6.   ],
  7. }
  8.  
  9. file { '/tmp/bar':
  10.   $args
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement