Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

yum returns error code 1 all the time

$
0
0
I have a puppet module where I download files and install them with yum. I can download fine, just can't install them. exec{'download_lumberjack': command => "wget http://repos/artifactory/com/elasticsearch/logstash-forwarder/0.4.0-centOS7/logstash-forwarder-0.4.0-centOS7-1.x86_64.rpm", cwd => "/", path => ["/usr/bin"], logoutput => true, } exec{'install_lumberjack': command => "yum install -y logstash-forwarder-0.4.0-centOS7-1.x86_64.rpm", cwd => "/", path => ["/usr/bin"], logoutput => true, } Error: yum install -y logstash-forwarder-0.4.0-centOS7-1.x86_64.rpm returned 1 instead of one of [0] Error: /Stage[main]/LSF::Install/Exec[install_Java]/returns: change from notrun to 0 failed: yum install -y logstash-forwarder-0.4.0-centOS7-1.x86_64.rpm returned 1 instead of one of [0] Error: Could not find command 'yum' What the heck?

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>