Hello I would like to check in my manifest the presence of a line in a configuration file under [main] and above [config] With my manifest configuration, it adds my line at the end of file Can you have an idea? thank you in advance my manifest : file_line { "yum protect": line => "protect=1", path => "/etc/yum.conf", match => "protect=.*$", ensure => present } my file : [main] enabled = 1 gpgcheck = 1 priority = 10 protect = 1 [config] enabled = 1 -- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1f6d3b6b-5479-47d3-9503-4fb39232f5b4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.