Hi,
Le 20 mars 2013 à 15:18, Felix Frank <[email protected]> a écrit :
> On 03/20/2013 03:11 PM, Xavier Beaudouin wrote:
>> Hi,
>>
>> My node is declaring (for now) only this classe
>>
>> node mail01 {
>> include resolvconf
>> }
>>
>> It was "working" on puppet 2.8 but in 3.0 and 3.1 -> now way...
>
> OK, then I suggest commenting out that include for the time being.
>
> Add a simple 'notify { "It works": }' to the node and see if that runs.
>
> If yes, add a simple file resource etc.
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.