hello list! I am attempting to import some repo keys into my puppet clients with the following lines in one of my manifests:
$commands = ["cd /etc/yum.repos.d/","wget http://apt.sw.be/RPM-GPG-KEY.dag.txt","wget http://rpms.famillecollet.com/RPM-GPG-KEY-remi","wget http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL","rpm --import RPM-GPG-KEY.dag.txt","rpm --import RPM-GPG-KEY-remi","rpm --import RPM-GPG-KEY-EPEL"] $tidylist = ["/etc/yum.repos.d/RPM-GPG-KEY.dag.txt","/etc/yum.repos.d/RPM-GPG-KEY-remi","/etc/yum.repos.d/RPM-GPG-KEY-EPEL"] exec { "repo keys": command => $commands } tidy { "$tidylist": age => '0s' } But when I do this I get the following result: [root@LCENT02:~] #puppetd --test info: Caching catalog for lcent02.summitnjhome.com err: Could not run Puppet configuration client: 'cd /etc/yum.repos.d/' is both unqualifed and specified no search path at /etc/puppet/manifests/os/centos.pp:15 Can someone point me in the right direction to get this to work? thanks! tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.