I am a new bee in puppet world.


I wrote one class to copy a file from puppet master to puppet agent. i 
puppet client says following error.

Error: /Stage[main]/Motd/File[motd]: Could not evaluate: Could not retrieve 
file metadata for puppet://modules/files/etc/motd: getaddrinfo: Temporary 
failure in name resolution

Puppet class is

root@puppet classes]# cat motd.pp
class motd{
        file {'motd':
                path   =>"/etc/motd",
                ensure => "file",
                owner  => "root",
                group  => "root",
                mode  => "644",
                #content => "Hello this is jegadeesh test",
                source => "puppet://modules/files/etc/motd"
                }
        }


keep the desired files under /etc/puppet/modules/files/etc

Please help me to short out the issue.

Thanks,
Jegadeesh

-- 
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/efc61193-1acb-42d2-b4dd-61b846226ac2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to