I am trying to write my first puppet module.
I need to be able to pull a value from a custom fact and write a value in a
config file based on a value in the fact.
Can I do and "if-then" statement like in bash?
Thanks for any guidance.
--
You received this message because you are subscribed
have new mail in /var/spool/mail/root
Its the client that is not getting the data. I can put the function in the
modules namespace, but it seemed like the
documentation says you dont need to..
On Wednesday, February 24, 2016 at 11:56:38 PM UTC-5, Henrik Lindberg wrote:
>
> On 24/02/16 21:57,
I am using puppet 4.3 and it looks like the new function lookup provider is
not working, unless i am missing something.
I am working from this:
https://docs.puppetlabs.com/puppet/latest/reference/lookup_quick_module.html
I am just testing with this simple example.
% puppet status
{
"is_ali
11:12:17 AM UTC-7, Garrett Honeycutt wrote:
>
> On 6/13/14, 2:06 PM, RG wrote:
> > Hi,
> >
> > Can i have upper case key in hiera?
> >
> > I have a setenv_sh class that will take a key:value defined in hiera and
> > put it in setenv.sh file
> &g
Hi,
Can i have upper case key in hiera?
I have a setenv_sh class that will take a key:value defined in hiera and
put it in setenv.sh file
test.yaml:
class::subclass1::setenv_sh:
INSTALL_SCRIPT:
value: '/opt/install.sh'
Thanks,
RG
--
You received this message becau