On Wed, 24 Nov 2010 07:39:09 -0800 (PST)
jcbollinger jcbollinger wrote:
>
>
> On Nov 24, 6:17 am, Ohad Levy <[email protected]> wrote:
> > You probably have a File statement somewhere (like site.pp) which
> > has a default source or target attributes.
>
> Or, it could be because you have written "name =>" where you want
> "path =>". Or you could omit both and simply title your resource with
> the path, like so:
>
> file { "/etc/ntp.conf":
> content => "$src"
> }
file { '/etc/resolv.conf':
path => '/etc/resolv.conf',
content => "whatever....";
}
info: Caching catalog for services3.pic.es
err: Could not run Puppet configuration client: You cannot specify more than
one of content, source, target at
/etc/puppet/manifests/modules/common_defaults/manifests/init.pp:33
My prod environment works fine with
file { 'descr':
name => $path ;
}
Now, after your reply, I've checked type ref and I don't see name
anymore... :-S
>
> John
Cheers,
Arnau
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users?hl=en.