Issue #1358 has been updated by luke. Category changed from language to RAL Status changed from Needs more information to Accepted Target version set to unplanned
Because we consider aliases to be equivalent to names, in terms of causing naming collisions, it seems that the parser should correctly match these hosts. It's probably a good bit of work, though. ---------------------------------------- Bug #1358: Unable to replace host "X" with host "Y" and alias "X" http://reductivelabs.com/redmine/issues/show/1358 Author: porridge Status: Accepted Priority: Normal Assigned to: luke Category: RAL Target version: unplanned Keywords: Complexity: Unknown Patch: None Affected version: 0.24.4 An excerpt from http://groups.google.com/group/puppet-users/browse_thread/thread/8ed1b795b8b46661 Right after a host called "foo" is built, just before the first puppet run, the /etc/hosts file contains the following entry: <pre> 1.2.3.4 foo </pre> However, in order to match the information that is in DNS, I want the line to look like this: <pre> 1.2.3.4 somedomain.com foo.colo.domain foo </pre> Let's try to keep aside the discussion of whether that is actually a sane thing to do, I'm still just experimenting. Let's focus on what may be necessary to make puppet replace the existing line with what I want there to be. I added something like this to the manifest: <pre> host { foo: ensure => absent } host { "somedomain.com": ip => "1.2.3.4", alias => [ "foo.colo.domain", "foo" ] } </pre> However, surprisingly (or maybe not), what I get is just an early failure: <pre> Host[somedomain.com] is already being managed </pre> This is because of the dual purpose of "alias" param/metaparam. I think this may be related to #1221 ---------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
