Albert,
Is it possible that your application can manage the line it needs to manage in
a separate file to php.ini? If so you can use a combination of concat's source
and content attributes to manage this.
If for example, your application can manage a file containing just the one line
in /etc
Sorry...Hunter's!
Too early in the morning.
On Fri, Jan 15, 2016 at 6:07 AM, Trevor Vaughan
wrote:
> Albert's suggestion is probably your best bet at the least amount of work.
>
> First, create a custom fact that pulls that line out of your file.
> https://docs.puppetlabs.com/facter/3.1/custom_
Albert's suggestion is probably your best bet at the least amount of work.
First, create a custom fact that pulls that line out of your file.
https://docs.puppetlabs.com/facter/3.1/custom_facts.html.
Next, your template would have a placeholder for that item.
my_template.erb
...usual_template..
Le 13/01/2016 à 13:21:51-0800, Hunter Haugen a écrit
> Does the application have an "include" syntax that would allow you do have one
> file that is one line that the application manages, and the file that puppet
> manages includes it where appropriate?
WellI would like itbut no...
>
> O
Does the application have an "include" syntax that would allow you do have
one file that is one line that the application manages, and the file that
puppet manages includes it where appropriate?
Or a stupid workaround would be to have a fact that is that one line, and a
puppet template that adds t
Hi everybody.
I want to manage through puppet a config file for a php web application.
But I just want manage all of it's content except one line, because this
line is manage by the application himself.
I can't change the application behavior.
I don't think I can manage through augeas because t