Hi chaps,
I'm using Hiera in a light way to store a few global values for my
servers, including the site-wide SMTP relay etc. Yesterday I changed one
of the values to reflect my organisation's new SMTP server, but the
change hasn't been applied to my nodes. I'm using camptocamp/postfix to
configure the Postfix MTA on all my nodes
common.yaml:
---
uob_mail_relay:
new-smtp.bris.ac.uk
init.pp:
class site_postfix {
# Configure basic Postfix with minimal options
class { 'postfix':
myorigin => '
bris.ac.uk',
relayhost => hiera('uob_mail_relay'),
root_mail_recipient => hiera('admin_email'),
inet_interfaces => 'localhost',
}
...
...
...
}
After having changed the value in common.yaml, the Postfix config was
not changed on any of my nodes. I stopped and restarted the puppetmaster
and double-checked that the right manifests are being applied to my
nodes. Running hiera on the command line returns the new value for
'uob_mail_relay' so I have no idea why it hasn't picked up inside
puppet. Nothing bad is shown in the logs on the master or the node. Can
anyone make a suggestion?
Thanks,
Jonathan