diff options
author | Stefan Schulte <stefan.schulte@taunusstein.net> | 2010-11-17 23:15:46 +0100 |
---|---|---|
committer | Nick Lewis <nick@puppetlabs.com> | 2010-11-17 15:55:35 -0800 |
commit | ee7d2f92f9d3ec45b5c3a9cd3fe2f5832b17f23b (patch) | |
tree | fed6946c27f612dc7d87bf081b556299f4edb4dd /test/certmgr | |
parent | 8efdc769db2e144fe61eccbb1663a1c9594b09ab (diff) | |
download | puppet-ee7d2f92f9d3ec45b5c3a9cd3fe2f5832b17f23b.tar.gz puppet-ee7d2f92f9d3ec45b5c3a9cd3fe2f5832b17f23b.tar.xz puppet-ee7d2f92f9d3ec45b5c3a9cd3fe2f5832b17f23b.zip |
(#5274) New comment property for the hosttype
When the parsefile provider for host parses /etc/hosts, it throws any
inlinecomment away. As a result they are also purged in /etc/hosts after
a puppetrun that detects a change. That could be dangerous because you
will lose information even about unmanaged resources.
So if you have something like
192.168.0.1 hostentry_not_managed_by_puppet # Important comment
in /etc/hosts the endresult will be
192.168.0.1\thostentry_not_managed_by_puppet
This patch introduces a new property "comment" for the host type. The
provider is nearly a complete rewrite and a lot shorter and hopefully
easier to understand.
Diffstat (limited to 'test/certmgr')
0 files changed, 0 insertions, 0 deletions