Issue #2813 has been updated by Luke Kanies.

Peter Couvares wrote:
> Do I understand correctly that this change breaks backwards compatibility 
> between 0.25.x puppetmasters and 0.24.x clients (if any host aliases are 
> defined), because the old "alias" metaparameter will be ignored by the 
> puppetmaster, and the new "host_aliases" metaparameter will produce errors in 
> the clients?

Hmm.  You appear to be correct - we've changed the semantics in a 
non-backward-compatible way.  The only way around it, at this point, is to 
selectively set the alias for older clients and host_alias for new clients.  
Yuck.

Anyone have any ideas?
----------------------------------------
Bug #2813: Aliases can no longer be used as resource names in references?
http://projects.reductivelabs.com/issues/2813

Author: Tim Stoop
Status: Closed
Priority: Normal
Assigned to: 
Category: RAL
Target version: 0.25.2
Affected version: 0.25.1
Keywords: 
Branch: http://github.com/MarkusQ/puppet/tree/ticket/0.25.x/2813


Hi there,

I have a very simple (part of a) manifest:

<pre>
host { "nfs":
  alias => "nfs.ip",
  ip => "10.2.0.10",
}

nfs_mount { "/srv/oracle":
  source => "nfs.ip:/path/to/mount",
  require => Host["nfs.ip"],
}
</pre>

This gives me the error:

<pre>err: Could not apply complete catalog: Could not retrieve dependency 
'Host[nfs.ip]' of Nfs_mount[/srv/oracle] at manifestfile:123</pre>

This worked in 0.24.8. Actually, when I revert to the 0.24.8 client but keep 
the puppetmaster at 0.25.1, it still works. Only after upgrading the client to 
0.25.1 it breaks.

Please let me know if there's anything I can do to help fix this.


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