[Puppet Users] Re: Puppet 5.0.1: JSON to PSON automatic downgrade doesn't account for binary facts

2017-08-02 Thread Eric Sorenson
Hi Dominic, thanks for tracking this down and documenting it so thoroughly. Some responses inline: On Tuesday, August 1, 2017 at 9:56:28 PM UTC-7, Dominic Scheirlinck wrote: > > Thought I'd leave a note about an issue I ran into when upgrading to > Puppet 5.0.1, in case someone else is wrestling

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

[Puppet Users] chocolatey.config idempotency

2017-08-02 Thread proman
Hi fellow puppet users, I've been busy to find out why my *chocolatey.config* file is not idempotent when i run *puppet apply apply_manifest.pp( *this file include the puppet code from the chocolatey.config) on a specifiek vm (windows-2012r2-x64). I use to get the same output even when i run i