1 Sep 2006 19:43
[Puppet-dev] [puppet] #257: host type removing aliases
puppet <trac <at> madstop.com>
2006-09-01 17:43:33 GMT
2006-09-01 17:43:33 GMT
#257: host type removing aliases
-------------------------------+--------------------------------------------
Reporter: cwarden <at> xerus.org | Owner: luke
Type: defect | Status: new
Priority: normal | Milestone:
Component: library | Version:
Severity: normal | Keywords:
-------------------------------+--------------------------------------------
When using the host type in a manifest, aliases for hosts not managed by
puppet are removed.
# cat /etc/hosts
192.168.1.1 host1.example.com host1
# cat /tmp/host.pp
host {
"host2.example.com": ip => "192.168.1.2", alias => host2, ensure =>
present;
}
# puppet /tmp/host.pp
dnsdomainname: Unknown host
notice: //host=host2.example.com/ensure: created
# cat /etc/hosts
# HEADER: This file was autogenerated at Fri Sep 01 09:58:56 PDT 2006
# HEADER: by puppet. While it can still be managed manually, it
# HEADER: is definitely not recommended.
192.168.1.1 host1.example.com
192.168.1.2 host2.example.com host2
The host1 alias has disappeared.
(Continue reading)
RSS Feed