[Puppet Users] osfamily in class namespace error

2015-12-20 Thread Fraser Goffin
Puppet: 4.2.1 OS: RHEL/Centos 7 (can also simulate on Windows if I set osfamily to 'RedHat') Most of the time I develop Puppet modules to run only on Windows but sometimes I want them to be able usable on other OS's particularly RHEL. Sometimes there's a choice between adding a bunch of predica

[Puppet Users] Re: osfamily in class namespace error

2015-12-20 Thread Fraser Goffin
Forgot to mention, if I run puppet lint over the RedHat::install.pp manifest this error occurs (I don't know whether this is because I am running that on Windows - with osfamily set to 'RedHat' or not) :- ..\manifests\RedHat\install.pp - ERROR: docker_registry_host not in autoload module layout

Re: [Puppet Users] osfamily in class namespace error

2015-12-20 Thread Martin Alfke
Hi Fraser, On 20 Dec 2015, at 10:00, Fraser Goffin wrote: > Forgot to mention, if I run puppet lint over the RedHat::install.pp manifest > this error occurs (I don't know whether this is because I am running that on > Windows - with osfamily set to 'RedHat' or not) :- > > ..\manifests\RedHat\

Re: [Puppet Users] osfamily in class namespace error

2015-12-20 Thread Fraser Goffin
Hey Martin, arrgghh, you are right of course, good shout. All working now. In the version of Stdlib I'm using the function is actually called 'downcase'. Regards Fraser. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from thi