Hi John,

Thanks for having a look.
I already had the idea that there should be a better way, so I included the 
use case.
I used stdlib to solve my issue, I'm still relatively new to Puppet, so I 
didn't know about this.

Below your suggested options again with a little comment. Thanks again for 
the solution.

custom-facts: I have no idea how to do that, but will look into it once I 
come across something else that might need that.
stdlib: it took a little figuring out and reading the documentation, but 
this does exactly what I need. In this case I need 2 File_line directives 
as there are 2 line to manage, but it definitely works.
file with replace = false: as I explained in my first post, this doesn't 
work because the file is also included in the rpm package.
flip around the file and exec: seems a bit complicated for what I'm trying 
to achieve, haven't tried this.

Best regards,
Steven

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to