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

Add Cloudera repo installation #8

Merged
merged 8 commits into from Jan 16, 2015
Merged

Add Cloudera repo installation #8

merged 8 commits into from Jan 16, 2015

Conversation

coreone
Copy link
Contributor

@coreone coreone commented Jan 14, 2015

I added the ability to install the Cloudera Yum repo to completely automat the retrieval and installation of zookeeper packages. I couldn't find a better way to get the GPG key than using an "exec" with curl, but hopefully that isn't too big of an issue.

'6': {
exec{ 'retrieve_clouderakey':
command => "/usr/bin/curl -q http://archive.cloudera.com/cdh${cdhver}/redhat/6/${::hardwaremodel}/cdh/RPM-GPG-KEY-cloudera -o /etc/pki/rpm-gpg/RPM-GPG-KEY-cloudera",
creates => '/etc/pki/rpm-gpg/RPM-GPG-KEY-cloudera',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really need this, when GPG key URI is defined on line 43?

@coreone
Copy link
Contributor Author

coreone commented Jan 15, 2015

Yeah, the GPG download wasn't necessary, so I removed it in my lastest commit. Let me know if you have any other suggestions.

@deric
Copy link
Owner

deric commented Jan 16, 2015

Great, looks good. Thanks a lot!

deric added a commit that referenced this pull request Jan 16, 2015
Add Cloudera repo installation
@deric deric merged commit f0f10f9 into deric:master Jan 16, 2015
deric added a commit that referenced this pull request Jan 16, 2015
cegeka-jenkins pushed a commit to cegeka/puppet-zookeeper that referenced this pull request Sep 7, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants