Possible to add 'refreshonly' functionality to a custom type/provider?

asked 2016-09-09 05:03:58 -0600

landerson61 gravatar image


Is there any way in Puppet to add functionality to a custom type/provider similar to the 'refreshonly' parameter of the Exec type?

I have a custom resource type that I only wish to be executed when notified by another resource.


edit retag flag offensive close merge delete


Short answer: Yes, I guess. Just look into the source how Puppet itself implemented the Exec resource type.

Kai Burghardt gravatar imageKai Burghardt ( 2016-09-09 08:46:12 -0600 )edit