Hi, if possible can someone post a working example please ?
I am using hiera => puppet => augeas. cat myserver.yaml --- myserver: "Birthday": '1' "Debug": '5' The no. of settings will change, so i would like to use a hash here. The hiera lookup works already: >hiera -c /etc/puppet/hiera.yaml -h myserver {"Debug"=>"5", "Birthday"=>"1"} I can save a single value via hiera => puppet => augeas sucessfully when i know its variable name. What i am searching for is the proper syntax to use 'hiera_hash' and save all settings into augeas with 'set $name $value' coming from the yaml-file. In perl it would be have been like this: foreach $key (keys %hash){ print "$key $hash{$key}\n"; } Thank you -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.