On Mar 27, 2011, at 11:10 PM, Justin Ellis wrote:

> Good Evening!
> 
> I'm having issues with the order in which items are ran inside of a service 
> class, it's attempting to run before the provider is present (the provider is 
> provided by the glassfish package).  It looks for the glassfish provider 
> prior to inheriting the repository or the package list.
> 
> http://snipt.org/woomg
> 
> I have included a snipt of the code, does anyone have an idea as to what I'm 
> missing?

Providors are only reloaded at the beginning or a run and right after 
pluginsync, so installing your provider using "package" won't work like you 
want.  Solutions:

1) Push it out using pluginsync
2) Do it in 2 runs (I think this will work, but the client might refuse to 
continue when it sees that it doesn't have the type glassfish)
3) Install glassfish in whatever script installs puppet.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
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