Hi everyone,

Here is the task, I just need to get the file from master, untar it and 
execute a file.

Step 1: 

Working as a root user,having the default puppet.conf for root and the 
agent could get the source file  from master , untar it and execute it.

Step 2: 

Moving to non-root user, I have a different puppet.conf with the conf the 
master validates the agent and gets me the source , and untar it to the 
agent , but on the agent side I got the error. 


Here is my puppet.conf

[main]
    logdir = /home/user/var/log/puppet
    rundir = /home/user/var/run/puppet
    vardir = /home/user/var/lib/puppet
    ssldir = $vardir/ssl
 
    server=puppetmaster.example.com
[agent]
    classfile = $vardir/classes.txt
    localconfig = $vardir/localconfig
[master]
    certname=puppetmaster.example.com

On executing, 

puppet agent --confdir-/home/user/etc -t, 

Error: Failed to set group to '0': Operation not permitted - 
/home/user/unix.tar.gz
Error: /File[/home/user/unix.tar.gz]/ensure: change from absent to file 
failed: Failed to set group to '0': Operation not permitted - 
/home/user/.tar.gz

Though I set the tarball of the source in master to 777 permissions, I get 
the same error.

Your help is great appreciated, please let me know if you need any further 
info.

Thanks,

Dominic








-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/aXLCj3-DvsQJ.
To post to this group, send email to puppet-users@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