--
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/3b68e251-eb42-4fab-9409-6c64e607eb25%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Hi Rob, thanks for your reply.
The main defaults is for every host (all customers, datacenters,
etc), but some, like a jump-host or managed-file-transfer-host,
will need to have different values. Doing this in hiera is fine
for those who are allowed to edit hiera, but setting up machines
for new customers are often done by juniors that only set the role
in the provisioning system and will have to contact a senior to
get something added to hiera. Adding defaults to hiera also makes
the code less portable.
I could do something like this in the base-sshd (pseudo-code):
if $role = 'foo'; then use foo-specific values, else use default.
But I really think code belonging to the profile for jump-hosts
should be set in the corresponding profile, not as an exception in
the base setup.
Lets say this is my current code in base-sshd-profile:
#Using herculesteam/augeasproviders_ssh
sshd_config { 'ConfigVariable':
value => 'no',
} #Code for overwriting this in hiera is omitted
Now I would like to change this same value for some roles, preferably without doing changes in hiera manually for each host having this role.
Bjørge
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAC76iT84yb_aoKyXO-FkMKcmHuuf-wNMbW6HjSTSyxZOmbN%2BFA%40mail.gmail.com.
Hi
I do not wish for my juniors to need to learn Puppet at all:-) Hint: They work in support center and mostly on windows.
send an email to puppet-users+unsubscribe@googlegroups.com
<mailto:puppet-users%2Bunsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/3b68e251-eb42-4fab-9409-6c64e607eb25%40gmail.com
<https://groups.google.com/d/msgid/puppet-users/3b68e251-eb42-4fab-9409-6c64e607eb25%40gmail.com>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
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
<mailto:puppet-users+unsubscrib...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/CAC76iT84yb_aoKyXO-FkMKcmHuuf-wNMbW6HjSTSyxZOmbN%2BFA%40mail.gmail.com
<https://groups.google.com/d/msgid/puppet-users/CAC76iT84yb_aoKyXO-FkMKcmHuuf-wNMbW6HjSTSyxZOmbN%2BFA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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
<mailto:puppet-users+unsubscrib...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/e8b1b63d-a8c0-3cae-f721-7407d05f4352%40gmail.com
<https://groups.google.com/d/msgid/puppet-users/e8b1b63d-a8c0-3cae-f721-7407d05f4352%40gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/70b522d7-1b71-076c-5e1f-69b31f2eb5d9%40gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.