hello list I was hoping to get an opinion as to why the following error is occurring with an exec resource I am attempting to use:
err: //centos/Exec[/usr/bin/wget http://apt.sw.be/RPM-GPG-KEY.dag.txt/bin/rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY.dag.txt]/returns: chan ge from notrun to 0 failed: /usr/bin/wget http://apt.sw.be/RPM-GPG-KEY.dag.txt/bin/rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY.dag.txt retur ned 2 instead of one of [0] at /etc/puppet/manifests/os/centos.pp:9 ## centos.pp $keycmds = ["/usr/bin/wget http://apt.sw.be/RPM-GPG-KEY.dag.txt", "/bin/rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY.dag.txt"] exec { $keycmds: cwd => "/etc/pki/rpm-gpg/", creates => "/etc/pki/rpm-gpg/RPM-GPG-KEY.dag.txt", path => ["/bin","/usr/bin"] } thanks in advance! 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 [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.
