Adam Goucher
2013-Jul-26 13:01 UTC
[Puppet Users] accessing puppet:/// resources in custom providers
I''ve got a custom type which I have written which I have given a source
attribute that I want as a puppet:///<foo>/<my thing>. But I
can''t find
an example of how to get at that content from in there. Is it as obvious
as something like
Net::HTTP.get("#{:server}/file_content/modules/<foo>/#{resource[:source]})
Or is this the part where I fall down the indirector rabbit hole?
-adam
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.