Issue #981 has been updated by luke. Status changed from Accepted to Ready for Checkin Assigned to changed from luke to jamtur01 Target version set to 0.24.6 Affected version set to 0.24.4
This is a misunderstanding of the message -- the 'adding alias' message is actually about adding aliases to the catalog, not to the hosts file. That being said, I can see how it's confusing, and the message isn't actually helpful, so I've removed it in the tickets/0.24.x/981 branch in my repo. ---------------------------------------- Bug #981: info message about adding aliases repeated on every run http://projects.reductivelabs.com/issues/show/981 Author: marthag Status: Ready for Checkin 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 -~----------~----~----~----~------~----~------~--~---
