Issue #2813 has been updated by Markus Roberts.

Status changed from Needs more information to Accepted
Assigned to set to Markus Roberts

The consensus seems to be that the parameters should be renamed.  I'm going to 
propose "host_alias" as a starting suggestion.

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

Author: Tim Stoop
Status: Accepted
Priority: Normal
Assigned to: Markus Roberts
Category: RAL
Target version: 0.25.2
Affected version: 0.25.1
Keywords: 
Branch: 


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