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

2016-12-01 Thread Rob Nelson
The style guide is being updated, see https://tickets.puppetlabs.com/browse/DOCUMENT-560 (and the epic https://tickets.puppetlabs.com/browse/DOCUMENT-266). You could at least see if the problem is related to the legacy fact vs the facts hash, or with the osfamily entirely, before opening a bug

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

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

2016-12-01 Thread Rob Nelson
You could try using `$osfamily` (no colons) or $facts['os']['family'] if you do not need to support anything older than 3.5.0. I kind of doubt it's related to the prepended colons, but maybe? Rob Nelson rnels...@gmail.com On Thu, Dec 1, 2016 at 11:09 AM, HPUX_PUPPET wrote:

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

2016-12-01 Thread HPUX_PUPPET
I am running into an odd issue in Puppet 4.8.0 running under Foreman 1.13.2 When, on the master, I run *puppet master --verbose --compile myserver.domain.com *I get an error on basic facts with "Unknown Variable". I have had this happen on multiple classes. puppet master --verbose --compile