I am looking to use hiera in my environment but I cannot get past one
thing. In our current puppet code we have some case statements based on
environments. The case statements are like the following...
'production' { do this }
/^aw/ { do this } # this is for all AWS stuff
'aws' { do this } # this is the production like environment of AWS
otherenv { do this }
default { do this } # other server that default here
I would like hiera to do the following order, hostname, environment,
common. I would also like to create one YAML file for all the AW* fîles
rather than create one for awtest, awsandbox, awetc. Is there a way to do
this in hiera that I am missing? Or will I need to re work some logic in
my puppet code?
--
_____________________________________________________
This email and any files transmitted with it are confidential and intended
solely for the addressee. If you received this email in error, please do
not disclose the contents to anyone; kindly notify the sender by return
email and delete this email and any attachments from your system.
© 2011 Currensee Inc. is a member of the National Futures Association (NFA)
Member ID 0403251 | Over the counter retail foreign currency (Forex)
trading may involve significant risk of loss. It is not suitable for all
investors and you should make sure you understand the risks involved before
trading and seek independent advice if necessary. Performance, strategies
and charts shown are not necessarily predictive of any particular result
and past performance is no indication of future results. Investor returns
may vary from Trade Leader returns based on slippage, fees, broker spreads,
volatility or other market conditions.
Currensee Inc | 54 Canal St 4th Floor | Boston, MA 02114 | +1.617.624.3824
--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.