Issue #3081 has been reported by Peter Pickford. ---------------------------------------- Bug #3081: Unable to specify absence of host host_aliases http://projects.reductivelabs.com/issues/3081
Author: Peter Pickford
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Affected version: 0.25.4rc1
Keywords:
Branch:
I doesn't seem possible to remove and alias from the hosts file
given /etc/hosts
1.1.1.1 buildsun4u notwanted
host { "hosts buildsun4u" :
ip => "1.1.1.1",
name => "buildsun4u",
ensure => present,
host_aliases => absent,
}
changes to
1.1.1.1 buildsun4u absent
host { "hosts buildsun4u" :
ip => "1.1.1.1",
name => "buildsun4u",
ensure => present,
host_aliases => "",
}
changes to
"1.1.1.1 buildsun4u "
this is repeated on every run so /etc/hosts is constantly updated
Jan 16 18:29:29 buildsun4u puppetd[6572]: [ID 702911 daemon.notice]
(//base::default/Host[hosts buildsun4u]/host_aliases) host_aliases changed
'absent' to ''
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://reductivelabs.com/redmine/my/account
-- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
