Thanks for the response. I did try putting in the subdirectory path as
well, but the same thing occurs. I continued to play around with it
and the error message disappears if I remove the recurse parameter.
The trace dump is below, but I can't find the problem from it (I don't
know ruby):

/usr/lib/ruby/1.8/webrick/httprequest.rb:342:in `parse_query'
/usr/lib/ruby/1.8/webrick/httprequest.rb:122:in `query'
/usr/lib/site_ruby/1.8/puppet/network/http/webrick/rest.rb:16:in
`params'
/usr/lib/site_ruby/1.8/puppet/network/http/handler.rb:64:in `process'
/usr/lib/site_ruby/1.8/puppet/network/http/webrick/rest.rb:23:in
`service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:92:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:54:in `run'
/usr/lib/site_ruby/1.8/puppet/network/http/webrick.rb:45:in `listen'
/usr/lib/site_ruby/1.8/puppet/network/http/webrick.rb:42:in `call'
/usr/lib/ruby/1.8/webrick/server.rb:151:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:145:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:145:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:89:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:89:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:79:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:79:in `start'
/usr/lib/site_ruby/1.8/puppet/network/http/webrick.rb:42:in `listen'
/usr/lib/site_ruby/1.8/puppet/network/http/webrick.rb:41:in
`initialize'
/usr/lib/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `new'
/usr/lib/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `listen'
/usr/lib/site_ruby/1.8/puppet/network/http/webrick.rb:38:in
`synchronize'
/usr/lib/site_ruby/1.8/puppet/network/http/webrick.rb:38:in `listen'
/usr/lib/site_ruby/1.8/puppet/network/server.rb:131:in `listen'
/usr/lib/site_ruby/1.8/puppet/network/server.rb:146:in `start'
/usr/lib/site_ruby/1.8/puppet/daemon.rb:128:in `start'
/usr/lib/site_ruby/1.8/puppet/application/puppetmasterd.rb:122:in
`main'
/usr/lib/site_ruby/1.8/puppet/application/puppetmasterd.rb:80:in
`main'
/usr/lib/site_ruby/1.8/puppet/application.rb:226:in `send'
/usr/lib/site_ruby/1.8/puppet/application.rb:226:in `run_command'
/usr/lib/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/lib/site_ruby/1.8/puppet/application.rb:217:in `exit_on_fail'
/usr/lib/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/sbin/puppetmasterd:66
err: private method `gsub' called for nil:NilClass


On Feb 8, 5:20 pm, Daniel <dan...@linuxaddicted.de> wrote:
> You are missing the path to sync. The full path may be something like
> "puppet://$server/modules/dev_oracle_dev_tools/the_tools_folder
> dev_oracle_dev_tools just identifies the module
>
>
>
> On Mon, Feb 8, 2010 at 11:13 PM, eblack <black.e...@gmail.com> wrote:
> > Hi all,
>
> > I'm new to puppet and I can't seem to figure out how to get rid of
> > this error on the client or to get the recursive copy of files to the
> > client:
>
> > err: //dev_oracle_dev_tools::install/File[/tmp/oracle_dev_tools]:
> > Failed to generate additional resources using 'eval_generate': Error
> > 400 on SERVER: private method `gsub' called for nil:NilClass
>
> > My module is called 'dev_oracle_dev_tools' and it is defined as:
>
> > class dev_oracle_dev_tools {
> >        include dev_oracle_dev_tools::install
> > }
>
> > class dev_oracle_dev_tools::install {
> >        file { "/tmp/oracle_dev_tools":
> >                recurse => "true",
> >                ensure  => "directory",
> >                group   => "root",
> >                owner   => "eblack",
> >                mode    => 750,
> >                source  => "puppet://$server/modules/
> > dev_oracle_dev_tools",
> >        }
> > }
>
> > And I call it like:
>
> > node "file01.eblack.dev.gg.net" {
> >        include "dev_oracle_dev_tools"
> > }
>
> > All the other file parameters directives are followed on the client;
> > ie: directory is created if it doesn't exist and mode, group, owner
> > are set.
>
> > The error goes away if I comment out the 'source' parameter.
>
> > Hoping someone can help me because I've spent a couple hours on this
> > and I couldn't find any answers anywhere.
>
> > Thanks,
> > Eric
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Puppet Users" group.
> > To post to this group, send email to puppet-us...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > puppet-users+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/puppet-users?hl=en.
>
> --
>
> Cheers,
>
> Daniel

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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