Is it (reasonably) feasible to add new resource types? I don't want to 
disassemble the whole code base but if there is a known path to this I'd 
like to read about it.


Some thoughts:It strikes me that there are at a few situations that I run 
into with this SW that would make for decent additions. 

1. "once": do a given resource type once and set a fact to not repeat it. I 
keep kludging solutions to this. 
2. "log": set a log level and location for a resource / node / etc. This 
would help to figure out "WTF is going on".
3. "return value": set a fact with the failure code for a given operation 
or agent run. I keep finding cases where the agent is failing and the 
server isn't logging it. It isn't until I log in and run the agent that I 
see the error(s).
4. "counter": set a fact with the # of times a given operation has been 
performed on a system. This would help to track down systems that are 
thrashing because of competing operations.


These could either be additional params for existing resources or an outer 
layer to same.



-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/0327a044-c46d-4f05-9385-0b8dfc8b8226%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to