Am 18.11.2016 um 12:56 schrieb Amber Mehra:
> Please advise what to write on hiera so i can push custom
> configuration of httpd.conf on specific node only.
That depends on your setup.
In general, say you have the following class definition:
class foo ($bar = undef) {}
and your hierarchy in hiera.yaml looks like this:
:hierarchy:
- "node/%{::fqdn}"
- common
You would then put common values for $bar into hiera's common.yaml like so:
foo::bar: common_value
and values for specific nodes would go into node/<fqdn of node>.yaml,
overwriting what is defined in common.yaml:
foo::bar: node_specific_value
HTH...
Dirk
--
*Dirk Heinrichs* | Senior Systems Engineer, Delivery Pipeline
http://mimage.opentext.com/alt_content/binary/images/email-signature/recommind-ot.png
<http://www.opentext.com>
*Tel*: +49 2226 159666 (Ansage) 1149
*Email*: [email protected] <mailto:[email protected]>
*Skype*: dirk.heinrichs.recommind
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon
Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer
HRB 10646
This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser Mail sind nicht gestattet.
http://www.recommind.com
--
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/80d74096-9170-7c93-c87d-60a14bd552ca%40recommind.com.
For more options, visit https://groups.google.com/d/optout.