Guys, I have developed a custom service provider that handles service start/stop, (de)activation and status reporting when using daemontools/runit (service supervision is SO cool). I''ll post that to the -dev list shortly, but for now I need to know how to distribute it while waiting for it to (hopefully) hit upstream. I have a "custom" module and plugin sync''ing in place like as is explained here: http://reductivelabs.com/trac/puppet/wiki/PluginsInModules the facts are all being synced. However, the providers are not being picked up (they are distributed to the clients alright), but a machine/class using the provider fails miserable saying the provider could not be found. I managed to find this bug - http://reductivelabs.com/trac/puppet/ticket/1027 - which seems to be related. In the mean time, is there a proper workaround (should I set RUBYLIB as that bug mentions), do I simply force the file into /usr/lib/ruby/1.8/etc/etc/etc or am I simply doing something fundamentally wrong here? -- /peter
On Feb 13, 2008, at 10:23 AM, Peter Hoeg wrote:> I managed to find this bug - > http://reductivelabs.com/trac/puppet/ticket/1027 - which seems to be > related. In the mean time, is there a proper workaround (should I set > RUBYLIB as that bug mentions), do I simply force the file into > /usr/lib/ruby/1.8/etc/etc/etc or am I simply doing something > fundamentally wrong here?I''ve added the bug to the 0.24.2 milestone (yay!), so it''ll be fixed in the next release. I haven''t had a chance to look at it closely enough to know if there are good workarounds. -- The only thing that saves us from the bureaucracy is inefficiency. An efficient bureaucracy is the greatest threat to liberty. --Eugene McCarthy --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
I''ll try the RUBYLIB workaround tonight when I get home and post the results. Thanks Luke. On 13/02/2008, Luke Kanies <luke@madstop.com> wrote:> On Feb 13, 2008, at 10:23 AM, Peter Hoeg wrote: > > > I managed to find this bug - > > http://reductivelabs.com/trac/puppet/ticket/1027 - which seems to be > > related. In the mean time, is there a proper workaround (should I set > > RUBYLIB as that bug mentions), do I simply force the file into > > /usr/lib/ruby/1.8/etc/etc/etc or am I simply doing something > > fundamentally wrong here? > > > I''ve added the bug to the 0.24.2 milestone (yay!), so it''ll be fixed > in the next release. > > I haven''t had a chance to look at it closely enough to know if there > are good workarounds. > > -- > The only thing that saves us from the bureaucracy is inefficiency. An > efficient bureaucracy is the greatest threat to liberty. > --Eugene McCarthy > --------------------------------------------------------------------- > Luke Kanies | http://reductivelabs.com | http://madstop.com > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users >-- /peter