On 15/10/10 19:17, Carl Caum wrote:
> Hello all.  I'm trying to implement my own ensurable method to extend
> the ensure parameter with my own possible values.  I've used
> puppet/type/file/ensure.rb as my example on how to do this.  However,
> puppet doesn't seem to be using my plugin's ensurable method since it
> throws this error:
> 
> err: Could not run Puppet configuration client: Parameter ensure failed:
> Invalid value "latest". Valid values are present, absent.
> 
> 
> Here's my code:
> 
> ====svn_deploy/lib/puppet/type/svn_deploy/ensure.rb====

You put it in a separate file from your type, which means you need to
require it inside your own type (see the bottom of file.rb for an example).

-- 
Brice Figureau
My Blog: http://www.masterzen.fr/

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en.

Reply via email to