On Mon, Mar 28, 2011 at 10:49 AM, Patrick <[email protected]> wrote:

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

Sorry, I guess I should have prefaced this.  The types are pushed out via
pluginsync and exist on the clients, it's moreso that the binary the types
reference is installed via a package.  The glassfish package has to be
installed in order for the types to exist.

Does that clear it up any?

Thanks!
Justin

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

Reply via email to