Open rahsaanpage opened 8 years ago
So I think what's going on is that you specified 'latest' as the version. I should probably modify the documentation so it is clear that a version number needs to be specified. Try using 4.0.0 as the version instead and see if that helps!
ok i will try your suggestion..
Yeah that would help ;-). Thanks it works!
HI Justice,
how can i stop puppet from trying to run the class over and over after the package have been already installed?
HI Justice,
I am having issues installing coucbase server. when put runs it downloads the file. but when it tries to install it failed. but its not a RPM file it is a XML file.
Jun 21 15:16:56 puppet-agent[2838]: (/Stage[main]/Couchbase::Install/Package[openssl098e]/ensure) created Jun 21 15:16:56 puppet-agent[2838]: (/Stage[main]/Couchbase::Install/Exec[download_couchbase]/returns) executed successfully Jun 21 15:16:57 puppet-agent[2838]: Execution of '/bin/rpm -i /opt/couchbase-server-community-latest-centos6.x86_64.rpm' returned 1: error: /opt/couchbase-server-community-latest-centos6.x86_64.rpm: not an rpm package (or package manifest): Jun 21 15:16:57 i puppet-agent[2838]: (/Stage[main]/Couchbase::Install/Package[couchbase-server]/ensure) change from absent to present failed: Execution of '/bin/rpm -i /opt/couchbase-server-community-latest-centos6.x86_64.rpm' returned 1: error: /opt/couchbase-server-community-latest-centos6.x86_64.rpm: not an rpm package (or package manifest):
also i tried installing the file manually and it failed:
[root@ip- opt]# rpm -i couchbase-server-community-latest-centos6.x86_64.rpm error: couchbase-server-community-latest-centos6.x86_64.rpm: not an rpm package (or package manifest):
the file its installing is not even a rpm [root@ opt]# ls -al couchbase-server-community-latest-centos6.x86_64.rpm -rw-r--r-- 1 root root 243 Jun 21 15:16 couchbase-server-community-latest-centos6.x86_64.rpm [root@ip-10-17-103-238 opt]# file couchbase-server-community-latest-centos6.x86_64.rpm couchbase-server-community-latest-centos6.x86_64.rpm: XML document text