Hi, Actually my configuation permit to search in a section a parameter and give it a value. this it's ok
ini_setting {'priority': ensure => present, path => '/etc/file', section => 'main', key_val_separator => '=', setting => 'priority', value => '5', } But now, i would like doing the same (search in a section a parameter) if he doesnt exist, not create it and give a value but execute a command... can you have an idea? regards -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/a93c1d57-0598-49e5-b126-703aa904d770%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.