starting to use hiera in earnest now (still on puppet 2.6 but planning an
upgrade to 3.x this summer).

the heirarchy looks for fqdn, then network_eth0, then 'default'.

Some of our subnets don't want to set http_proxy environment variables, the
rest do.

so default.json has a 'http_proxy_url' key in it, but I want to exclude it

Is there a 'special' hiera value I can set in to stop the
search falling down into default.json ?

At the minute we've set an empty string, but then templates etc. need to be
littered with

if ($url_from_hiera != "") {

which feels like the sort of 'magic variable' that will bite future me in
the ass in around 6 months.

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+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 5 | next ›
Discussion Overview
grouppuppet-users @
postedMay 15, '13 at 11:29a
activeMay 16, '13 at 6:53a

2 users in discussion

Dick Davies: 3 posts Jcbollinger: 2 posts



site design / logo © 2022 Grokbase