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 repo

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] 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: > I am running into

[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 m

[Puppet Users] puppet master --compile: extra output?

2013-10-21 Thread John Simpson
Greetings. I'm running Puppet 3.3.1. On the server, when I run a command like this: # puppet master --compile hostname > hostname.json ... the resulting JSON file has an extra line at the top containing: Notice: Compiled catalog for (hostname) in environment production in 1.09 secconds Is the

[Puppet Users] puppet master --compile

2013-06-02 Thread Rudy Gevaert
Hi, I'm looking into using puppet master --compile to set up some tests. However it's unclean how I can use this: - do I *need* to run this on the master? - what are the exit statuses that I need to catch? - why does it update /var/lib/puppet/yaml/node/.yaml after such a run? Thanks, Rudy --

[Puppet Users] puppet-master --compile, output as pson?

2013-03-04 Thread Elad Shmitanka
is there a way to use the command: > > puppet master --compile <*nodename*> and have the output in PSON and not JSON? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an ema