Issue #3081 has been updated by James Turnbull.

Target version changed from 0.25.5 to 0.25.6


----------------------------------------
Bug #3081: Unable to specify absence of host host_aliases
http://projects.puppetlabs.com/issues/3081

Author: Peter Pickford
Status: Accepted
Priority: Normal
Assigned to: Markus Roberts
Category: host
Target version: 0.25.6
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://projects.puppetlabs.com/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.

Reply via email to