Issue #2611 has been updated by Jan Capek.

Target version set to 2.6

Would this feature be acceptable for 0.26?
----------------------------------------
Feature #2611: resource attribute access
http://projects.puppetlabs.com/issues/2611

Author: Jan Capek
Status: Accepted
Priority: Normal
Assigned to: 
Category: language
Target version: 2.6
Affected version: 0.24.8
Keywords: resource attribute access
Branch: 


Based on a post to the development mailing list, it may be useful to add 
attribute access to the language.

Use case scenario:
- a resource has a certain attribute
- the attribute needs to be accessed from else where (e.g. another resource, 
template etc.)

Sample code:
<pre>
$cacert_path = Base::X509::Cert["cacert"].path
</pre>
Where the Base::X509::Cert resource is a custom define instantiated
e.g. as:
<pre>
  base::x509::cert { "cacert":
    path => "/etc/ssl/$name",
    source => "puppet:///profiles/cacert.pem",
  } 
</pre>


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