Issue #3857 has been updated by James Turnbull.

Category set to documentation
Status changed from Unreviewed to Needs design decision
Assigned to set to Markus Roberts
Target version set to unplanned
Affected version changed from 0.25.5rc3 to 0.25.5

This is really a style/documentation thing... I am not fussed how we solve it...
----------------------------------------
Bug #3857: cannot make reference to defined resource types with :: in type
http://projects.puppetlabs.com/issues/3857

Author: Dan Bode
Status: Needs design decision
Priority: Normal
Assigned to: Markus Roberts
Category: documentation
Target version: unplanned
Affected version: 0.25.5
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.

Reply via email to