-
Notifications
You must be signed in to change notification settings - Fork 192
Open
Description
What are you seeing (the issue)
Someone modified /etc/redis.conf and put bogus values (either security issue or other guy mistake, or simply forgotten manual configuration change on machine), and future runs of Puppet never detected the change nor reapplied the correct configuration. I even myself spent a bit of time trying to figure out why Puppet runs did not recreated the file even when i deleted it from the machine
What behaviour did you expect instead
Puppet would
- detect the
/etc/redis.conffile has been modified - optionnally output the diff
- reapply the template to recreate a correct file
Why
Because there:
puppet-redis/manifests/instance.pp
Line 312 in d0ee587
| exec {"cp -p ${redis_file_name_orig} ${redis_file_name}": |
This is not the real configuration file which is checked by Puppet, but rather a substitute file ! Since the real /etc/redis.conf file is not managed by a Puppet ressource, Puppet does not detect any changes, nor shows diff !
Metadata
Metadata
Assignees
Labels
No labels