On 07/13/2013 06:43 PM, Nan Liu wrote:

> Puppet::Type.newtype(:couchbucket) do
> ...
>   newparam(:transport) do
>     defaultto 'couch'
>   end
> end
> 
> This should allow a one time specification of username password for all
> resources:
> 
> transport { 'couch'
>   username => ...
>   password => ...,
> }
> 
> couchbucket { 'a':
>   #transport => 'couch' implied
> }
> 

OK, I will basically do something like this, but I will implement my own
transport-alike resource until you guys standardize this :)

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to