For some reason its not working, puppet debug message saying it got created but i don't see it in setnv.sh file
Hiera[class::subclass1::setenv_sh]/class::subclass1::Setenv_sh[INSTALL_SCRIPT]/Ini_setting[/opt/application/setenv.sh/INSTALL_SCRIPT]/ensure: created On Friday, June 13, 2014 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 > > > > test.yaml: > > > > > > class::subclass1::setenv_sh: > > INSTALL_SCRIPT: > > value: '/opt/install.sh' > > > > Thanks, > > RG > > Hi, > > Yes, but your indentation needs to be corrected. > > > class::subclass1::setenv_sh: > 'INSTALL_SCRIPT': > value: '/opt/install.sh' > > Br, > -g > > -- > Garrett Honeycutt > @learnpuppet > Puppet Training with LearnPuppet.com > Mobile: +1.206.414.8658 > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/87aaa272-bafc-455c-aa60-ef6fd7fec176%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
