Hi all,

I have created a file in "/etc/puppet/manifests/classes" as copy.pp and 
contents are :-

# copy a remote file to /etc/sudoers
file { "/etc/sudoers":
    mode   => 440,
    owner  => root,
    group  => root,
    source => "puppet:///home/ubuntu"
}

and i run the command on agent machine as:-  sudo puppet agent -t

info: Caching catalog for ip-10-148-160-84.ap-southeast-1.compute.internal
info: Applying configuration version '1405071378'
notice: Finished catalog run in 0.05 seconds


but its not copying a file from master server to agent machine.

Can anyone pls share with me a manifest for copying a file from master 
server to agent machine and pls share the procedure to implement that. as i 
am new on puppet.

Thanks in advance
-Nishantu

On Friday, July 11, 2014 3:21:38 PM UTC+5:30, Nishantu Kumar wrote:
>
> Hello All,
>
> I have successfully configured puppet master and agent on two machines and 
> i have created a file in manifest directory to copy a file from master 
> server to agent machine but its not copying and throwing some error,  can 
> anyone tell me and share with me the procedure to copy file from master 
> server to client machine.
>
> Thanks in advance
> Nishantu
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/59bf5270-60b9-4873-9c47-60b153e4b73a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to