1. What's in your site.pp then?
2. Please follow the advised steps.
On 03/20/2013 03:44 PM, Xavier Beaudouin wrote:
> This is what I did :
>
> node.pp :
>
> class resolvconf {
> file {
> "/etc/resolv.conf":
> owner => "root",
> group => "wheel",
> mode => "0644",
> source => "puppet:///puppet/dist/resolv.conf",
> }
> }
>
> node mail01 {
> include resolvconf
> }
>
> Is it very simple... Now WTF is broken ...
>
> Error: Failed to apply catalog: Attribute 'user' or 'target' is mandatory
>
> I tryed to use :
>
> user => "root"
>
> But puppet agent says : Invalid parameter 'user' -> ok so the error is bloody
> stupdi
>
> When I try to add
> target => "puppet:///puppet/dist/resolv.conf"
>
> I get this stupid error : Error: Failed to apply catalog: You cannot specify
> more than one of content, source, target
>
> So does this things want ?
>
> Xavier
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.