Hi All,
        I am very new to puppet and would like to know how to
distribute some files to all the puppet client.

i used the following to do my task.
 edited the site.pp file to below.

class sudo {
    file { "/etc/sudoers":
        owner  => root,
        group  => root,
        mode   => 440,
        source => "puppet://rover.test.com/files/etc/sudoers"
    }
}

node 'client1.test.com' {
     include sudo
}


But i get an error somewhat like this:-

Error 400 on server: Permission denied


Please help me on this or any other method to copy files to puppet
cliend

-- 
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.

Reply via email to