Re: [Puppet Users] puppet master --compile giving "Warning: Unknown variable: " for Facts

2016-12-01 Thread Jim Perry
The prepended colons are actually the way Puppet 4 guides say to do it now. It is just odd and why I tossed it out to the forum. On Dec 1, 2016 4:30 PM, "Rob Nelson" wrote: > You could try using `$osfamily` (no colons) or $facts['os']['family'] if > you do not need to support anything older tha

Re: [Puppet Users] Best way to set variables based on packages installed on client?

2016-09-16 Thread Jim Perry
Thanks. While I see that Ansible is a nice tool, the clientless access requiring a login has a fatal flaw when compared to puppet. More than once we have had a PAM, SSHD or similar setup get corrupted over dozens, if not all, systems. We were able to fix in Puppet and get the corrections pushed o

Re: [Puppet Users] Setting validproperties fields in provider modules

2014-04-16 Thread Jim Perry
Thanks. I am still learning Ruby so I will look into accessors in more detail. What I am trying to do is call the HPUX provider and use it to set the min and max age that gets passed back to the parent. Then I also need to be able to verify the right commands are used to reset the expiration when

Re: [Puppet Users] Setting validproperties fields in provider modules

2014-04-14 Thread Jim Perry
Not yet. I don't have it working and I was asking how to get our data for troubleshooting it first. On Apr 14, 2014 11:59 AM, "Felix Frank" wrote: > Okay then. > > Is your code up on github or pastebin for direct review? > > On 04/14/2014 05:53 PM, Jim Perry wrot

Re: [Puppet Users] Setting validproperties fields in provider modules

2014-04-14 Thread Jim Perry
Not so far. You are the first reply. On Apr 14, 2014 11:52 AM, "Felix Frank" wrote: > Hi, > > sorry for the late reply. > > Did you ever get this fixed? > > Cheers, > Felix > > On 02/20/2014 03:29 AM, HPUX_PUPPET wrote: > > I am still working to the HPUX provider to handle password expirations >

Re: [Puppet Users] Good resources for writing rspec tests for puppet code changes?

2014-02-19 Thread Jim Perry
Thanks for the links, I will take a look at them. I would love to get some training on it, but the company won't spring for it. So it looks like I am hacking it out with everyone's help and Google. On Wed, Feb 19, 2014 at 4:44 AM, Martin Alfke wrote: > Hi, > > On 19 Feb 2014, at 07:44, Johan D