Thanks, this worked.

I had another query. I read from the documentation that the .rb files
should be in <modulepath>/<modulename>/lib/puppet/type for the
<type>.rb and /provider for the <provider>.rb file . However, for
other types i see all of them are present in /usr/lib/ruby/1.8/puppet/
type or /provider . The first one works but was curious about the 2nd
part. Also the puppet client ( when i look in syslog) always searches
for something in the first path that i have mentioned here. What
parameters do I have to change to store my .rb files in the 2nd path ?

thanks

Mrafa

On Dec 7, 11:42 pm, Stefan Schulte <[email protected]>
wrote:
> On Tue, Dec 07, 2010 at 07:39:58PM +0100, Stefan Schulte wrote:
> > But you defined an exists? function that returns false, right?
>
> > -Stefan
>
> Äh, I meant the other way around. exists? have to return true if you
> want puppet to call destroy when you set ensure to absent
>
> -Stefan
>
>  application_pgp-signature_part
> < 1KViewDownload

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