On Jun 17, 2011, at 3:54 PM, Chetan wrote:

> Hi,
> 
> I've written a custom type that I'd like to include in my modules
> path. The type, however, requires some custom gems which will try to
> be required during autoloading at startup. How can I get this gem (and
> it's dependencies) installed via puppet if manifests don't get
> executed until after types are loaded? I came up with the following
> technique (after writing out this question :) which seems to work, but
> if there is a better way, please let me know.
> 
> http://pastie.org/2084966

I don't think there's a direct requirement between the type and the manifests, 
if you're using a server - the server will compile the catalog, regardless of 
the presence of the gem.

There's a long-opened ticket about this kind of issue, and it sometimes works 
to install gems and use them in the same run, and sometimes it doesn't.

-- 
However beautiful the strategy, you should occasionally look at the
results.    -- Sir Winston Churchill
---------------------------------------------------------------------
Luke Kanies  -|-   http://puppetlabs.com   -|-   http://about.me/lak




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

Reply via email to