Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with install on Amazon Linux which is OS Family of Redhat and Centos #39

Open
rahsaanpage opened this issue Jun 21, 2016 · 3 comments

Comments

@rahsaanpage
Copy link

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

@justicel
Copy link
Owner

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!

@rahsaanpage
Copy link
Author

rahsaanpage commented Jun 21, 2016

ok i will try your suggestion..

Yeah that would help ;-). Thanks it works!

@rahsaanpage
Copy link
Author

HI Justice,

how can i stop puppet from trying to run the class over and over after the package have been already installed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants