Unfortunately, it does not work. That was the first thing I had tried
to try and reproduce the problem in ruby outside a puppet run.
Also, here are the ruby util modules for puppet in 0.25.4:
/opt/ruby-1.8.6-p287/lib/ruby/site_ruby/1.8/puppet/util
autoload
autoload.rb
backups.rb
cacher.rb
checksu
On Mon, Jul 11, 2011 at 4:17 PM, Derek Tamsen wrote:
> Thanks. Unfortunately, it seems I will need to wait until we upgrade
> puppet as version 0.25.4 does not seem to have 'puppet/util/zaml'.
>
Then I'm more confused :)
does
require 'puppet'
require 'yaml'
just do the right thing? If not, I'
Thanks. Unfortunately, it seems I will need to wait until we upgrade
puppet as version 0.25.4 does not seem to have 'puppet/util/zaml'.
--
Derek
On Jul 11, 2:56 pm, Nigel Kersten wrote:
> On Mon, Jul 11, 2011 at 11:36 AM, Derek wrote:
> > Thanks for everyone's help. I figured out what the issue
On Mon, Jul 11, 2011 at 11:36 AM, Derek wrote:
> Thanks for everyone's help. I figured out what the issue was over the
> weekend. It appears that when the ruby script is run in a puppet run,
> puppet loads the yaml dictionaries specific to puppet. However, when I
> was testing the script in ruby
Thanks for everyone's help. I figured out what the issue was over the
weekend. It appears that when the ruby script is run in a puppet run,
puppet loads the yaml dictionaries specific to puppet. However, when I
was testing the script in ruby I was not loading the yaml dictionaries
for puppet. This