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 at 
> http://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