Advertisement
Guest User

Untitled

a guest
Nov 3rd, 2018
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Puppet 0.33 KB | None | 0 0
  1.     $options="(rw,insecure,async,root_squash) "
  2.     $clients=lookup({name=> 'nfs_home_clients'})
  3.     $exportline=""
  4.     $clients.each | String $client | {
  5.       $exportline = "${exportline}${client}${options}"
  6.       notify {"client is ${client}": } # this works
  7.     }
  8.     notify {"exportline is ${exportline}": } # this returns ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement