Issue #2813 has been updated by Tim Stoop.

This is a complete class that will fail, for (hopefully) easy testing. Keep in 
mind that it doesn't clean up!

<pre>
class bug2813 {
        host { "bug2813":
                alias => "bug2813.test",
                ip    => "127.1.0.1",
        }

        file { "/tmp/bug2813":
                alias   => "bug2813",
                content => "fubar",
                require => Host["bug2813.test"],
        }
}
</pre>
----------------------------------------
Bug #2813: Aliases can no longer be used as resource names in references?
http://projects.reductivelabs.com/issues/2813

Author: Tim Stoop
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
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