diff options
author | Christoph <chris@inferno.nadir.org> | 2014-06-03 15:48:35 +0200 |
---|---|---|
committer | Christoph <chris@inferno.nadir.org> | 2014-06-03 15:48:35 +0200 |
commit | 2f9f76682c02770f47922435f815177ceec15fd9 (patch) | |
tree | 8477086da139dac1c49dc9f93eaa7958415e4e83 /puppet/modules/site_apache/templates | |
parent | a590f5f3ca1eb21f761c40979b3c87c0f5310018 (diff) |
move hiera from site.pp to site_config::setup
the problem was following:
if a host has the webapp service, the template for /etc/hosts adds some stuff.
But setup.pp did not ask hiera about the services so
"/srv/leap/bin/puppet_command set_hostname" always resets the hostname.
Since that gets triggered every time you run "leap deploy" the
hostname changes, some services restart, then the hostname changes back and
the services restart again.
The solution is to get the hiera data before every run.
Diffstat (limited to 'puppet/modules/site_apache/templates')
0 files changed, 0 insertions, 0 deletions