Issue #981 has been updated by jamtur01.

Status changed from Ready for Checkin to Closed

Pushed in commit:"d2c89985bb356188ac52d00b0799cae655a9c75b" in branch 0.24.x
----------------------------------------
Bug #981: info message about adding aliases repeated on every run
http://projects.reductivelabs.com/issues/show/981

Author: marthag
Status: Closed
Priority: Normal
Assigned to: jamtur01
Category: RAL
Target version: 0.24.6
Complexity: Trivial
Patch: Code
Affected version: 0.24.4
Keywords: 


Every time puppet is run, it sends an info message about adding aliases to 
every host with an alias.  This happens even when the alias already exists, but 
should only happen the first time.

<pre>
puppettest:~# grep example /etc/hosts
puppettest:~# puppet -v /tmp/test.pp
info: Loading fact virtual
info: Loading fact kernelversion
info: /Host[test.example.com]: Adding aliases "test"
notice: /Host[test.example.com]/ensure: created
info: Filebucket[/var/lib/puppet/clientbucket]: Adding 
/etc/hosts(91412413d215f23fab736c74e22ef2e4)
puppettest:~# grep example /etc/hosts
10.0.0.1        test.example.com        test
puppettest:~# puppet -v /tmp/test.pp
info: Loading fact virtual
info: Loading fact kernelversion
info: /Host[test.example.com]: Adding aliases "test"
puppettest:~# grep example /etc/hosts
10.0.0.1        test.example.com        test
puppettest:~# puppet -v /tmp/test.pp
info: Loading fact virtual
info: Loading fact kernelversion
info: /Host[test.example.com]: Adding aliases "test"
puppettest:~# cat /tmp/test.pp
host { "test.example.com" :
  ip     => "10.0.0.1",
  alias  => "test",
  ensure => present,
}
</pre>


----------------------------------------
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to