On 07/15/2013 07:55 PM, Jakov Sosic wrote:

> For example:
> 
> couchconnection { 'default':
>   username => 'admin',
>   password => 'admin',
> }
> 
> couchbucket { 'test':
>   ramsize    => '64',
>   connection => Couchconnection['default'],
> }

Damn, even my autorequire isn't working properly...

couchbucket { 'test_cli':
  ensure     => present,
  ramsize    => '64M',
  connection => Couchconnection['something'],
}



And this is part of couchbucket type:

  newproperty(:connection) do
    desc 'Connection parameters for administrating Couchbase.'
    defaultto 'couch'
  end

  autorequire(:couchconnection) do
    self[:connection]
  end



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