Issue #3857 has been updated by Dan Bode.
Priority changed from High to Normal
there is way to get around this, you need to capitalize everything that
proceeds a colon:
file { '/tmp/one':
ensure => file,
require => Blah::Blah['/tmp/two']
}
----------------------------------------
Bug #3857: cannot make reference to defined resource types with :: in type
http://projects.puppetlabs.com/issues/3857
Author: Dan Bode
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Affected version: 0.25.5rc3
Keywords:
Branch:
I did a search and didn't find a duplicate, but it's hard to believe an issue
is not already open for this.
when I create a defined resource type that has :: in the name, I cant make a
reference to it.
<pre>
define blah::blah() {
file { $name:
ensure => file,
}
}
blah::blah { '/tmp/two':}
file { '/tmp/one':
ensure => file,
require => Blah::blah['/tmp/two']
}
</pre>
creating defined resource types with :: is a best practice since its required
for auto-loading in modules.
--
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://projects.puppetlabs.com/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.