RE: [Puppet Users] Basic syntax and learning problems

2016-06-17 Thread Edward Ned Harvey (puppet)
> From: puppet-users@googlegroups.com [mailto:puppet- > us...@googlegroups.com] On Behalf Of Peter Bukowinski > > Fortunately, facter has separate facts for most items in the os fact hash. > Keep in mind you can see all the facts available to your client by running > ‘sudo facter -p’ Thanks. That

Re: [Puppet Users] Basic syntax and learning problems

2016-06-17 Thread Peter Bukowinski
>> On Jun 17, 2016, at 9:50 AM, Edward Ned Harvey (puppet) >> wrote: >> >> From: puppet-users@googlegroups.com [mailto:puppet- >> us...@googlegroups.com] On Behalf Of Peter Bukowinski >> >> Hi Edward, >> >> With puppet 3.7, all facts are "stringified" by default, meaning hashes are >> flatten

RE: [Puppet Users] Basic syntax and learning problems

2016-06-17 Thread Edward Ned Harvey (puppet)
> From: puppet-users@googlegroups.com [mailto:puppet- > us...@googlegroups.com] On Behalf Of Peter Bukowinski > > Hi Edward, > > With puppet 3.7, all facts are "stringified" by default, meaning hashes are > flattened to strings. If you've got facter 2.0 or greater, you can change this > behavior

Re: [Puppet Users] Basic syntax and learning problems

2016-06-17 Thread Peter Bukowinski
Hi Edward, With puppet 3.7, all facts are "stringified" by default, meaning hashes are flattened to strings. If you've got facter 2.0 or greater, you can change this behavior do you can access hash keys individually. https://docs.puppet.com/puppet/3.7/reference/lang_facts_and_builtin_vars.html#