Actually all the OS related ones such as osfamily, operatingsystem, kernel
etc would be fantastic.
On Saturday, 20 September 2014 22:44:04 UTC-4, Matthew Haughton wrote:
>
> Specifically value of "kernelversion".
>
> Thanks!
>
--
You received this message because
Specifically value of "kernelversion".
Thanks!
--
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 email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussio
I worked it out - here's the solution for anyone who might stumble across
this:
In spec/spec_helper.rb:
require
'fixtures/modules/module_data/lib/hiera/backend/module_data_backend.rb'RSpec.configure
do |c|
c.hiera_config = File.join('spec', 'fixtures', 'hiera', 'hiera.yaml')end
In spec/
Hi all,
I have a module I'm trying to convert from params.pp to
ripienaar/module_data. I've got to the point where I can run Puppet with:
puppet apply --debug --noop --hiera_config
spec/fixtures/hiera/hiera.yaml --modulepath spec/fixtures/modules -e
'include ...'
and can see from the hier
As noted at
http://docs.puppetlabs.com/puppet/latest/reference/lang_datatypes.html#undef,
"When used as a boolean, undef is false."
So you can definitely use an if statement that way.
On Friday, 11 July 2014 10:38:41 UTC-4, Chris Cowley wrote:
>
> OK, so what it the recommended way to do this?