Re: [Puppet Users] Puppet newbie question about facts and config files

2017-08-02 Thread David Schmitt
Hi, On 2 August 2017 at 16:15, RG wrote: > I am trying to write my first puppet module. > > I need to be able to pull a value from a custom fact and write a value in > a config file based on a value in the fact. > > Can I do and "if-then" statement like in bash? > Yes! See https://docs.puppet.

[Puppet Users] Puppet newbie question about facts and config files

2017-08-02 Thread RG
I am trying to write my first puppet module. I need to be able to pull a value from a custom fact and write a value in a config file based on a value in the fact. Can I do and "if-then" statement like in bash? Thanks for any guidance. -- You received this message because you are subscribed