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/539B3EF2.3090401%40garretthoneycutt.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to