Hi,

Runing puppet version 2.6.2

Created a provider and type from 
http://projects.puppetlabs.com/projects/puppet/wiki/Development_Complete_Resource_Example
 the 
first one with file. Just renamed the type to pfile.
A put it on the puppetmaster, configured it for a client and triggered a 
run. Works fine and the file is created. But next time I do a puppet run I 
get this:

err: /Stage[main]//Node[client.test.com]/Pfile[/tmp/testfile2]: Could not 
evaluate: No ability to determine if pfile exists

The exists? method on the provider never runs.

Did a test and changed an debug output I have on the provider and run it 
again. After the change of provider code it run the exists? method and it 
worked fine.
But when a trigger a run again I get the same error message as before.

So every time I do a change in the provider code it works. Could someone 
please explain. 

Cheers
Patrik

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/pJtpLwLFox0J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to