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 support for passenger on CentOS/RHEL #786

Closed
wants to merge 1 commit into from

Conversation

jlambert121
Copy link
Contributor

Closes #633

@@ -6,5 +6,6 @@ Gemfile.lock
spec/fixtures/modules
spec/fixtures/manifests
vendor
.bundle
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't need any changes to gitignore for this update

Copy link
Member

Choose a reason for hiding this comment

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

.gitignore is also managed centrally using modulesync

@3flex
Copy link
Contributor

3flex commented Jun 23, 2016

We'll need some additional logic, since passenger is only supported on RedHat/CentOS 6 & 7. As is, this would allow installation on unsupported OSs (e.g. Scientific Linux, Amazon...) that share osfamily of RedHat.

I'd only want this to be automatically installed on platforms that Passenger officially supports.

The README should then also state that's automatic installation is supported on Debian family, RedHat and CentOS only.

@3flex 3flex added the enhancement New feature or request label Jun 23, 2016
@3flex
Copy link
Contributor

3flex commented Jun 23, 2016

Looks good otherwise!

@wyardley
Copy link
Collaborator

@jlambert121: Are you planning to make the changes suggested by @3flex? This PR would be very useful for us as well.

@wyardley
Copy link
Collaborator

I don't know if they were signing their packages before, but I'm getting this error when using it:

Error: Execution of '/bin/yum -d 0 -e 0 -y install passenger' returned 1: Package passenger-5.0.30-8.el7.x86_64.rpm is not signed
Error: /Stage[main]/Nginx::Package::Redhat/Package[passenger]/ensure: change from absent to present failed: Execution of '/bin/yum -d 0 -e 0 -y install passenger' returned 1: Package passenger-5.0.30-8.el7.x86_64.rpm is not signed

so might be good to add an acceptance test?

https://oss-binaries.phusionpassenger.com/yum/definitions/el-passenger.repo
has:

name=passenger
baseurl=https://oss-binaries.phusionpassenger.com/yum/passenger/el/$releasever/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt

It doesn't look to me like the package is signed at all, so I don't think it's just a matter of importing the package's GPG signing key vs. the repo metadata's. Not sure if it's easier to file a PR against the fork that this is coming from, but this patch seems to resolve the installation issue (at the cost of installing a package that's not signed).

el_passenger_patch_1.txt

@wyardley
Copy link
Collaborator

With the change above and rebased against current master: master...wyardley:el_passenger

I can take a stab at doing the additional logic to making the other requested changes above, but could use some guidance as to where that logic should happen, i.e., does the logic need to happen in params and then set something that we can look at in manifests/package/redhat.pp, or if we should just do the case / if statements directly in manifests/package/redhat.pp.

OR, we could just remove support for EL5....

@ffrank
Copy link

ffrank commented Sep 20, 2016

@jlambert121 this PR is about to be superseded by #876, which includes a commit with your changes, attributed to you. Will that be fine?

@3flex
Copy link
Contributor

3flex commented Sep 26, 2016

Closed by #876

@3flex 3flex closed this Sep 26, 2016
darken99 pushed a commit to darken99/puppet-nginx that referenced this pull request Oct 13, 2016
darken99 pushed a commit to darken99/puppet-nginx that referenced this pull request Oct 13, 2016
…ording in README a bit, align hashrockets per style guide. Respond to feedback in PR voxpupuli#786, improve unit tests slightly
cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Sep 13, 2019
cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Sep 13, 2019
…ording in README a bit, align hashrockets per style guide. Respond to feedback in PR voxpupuli#786, improve unit tests slightly
Rubueno pushed a commit to Rubueno/puppet-nginx that referenced this pull request Oct 19, 2020
Rubueno pushed a commit to Rubueno/puppet-nginx that referenced this pull request Oct 19, 2020
…ording in README a bit, align hashrockets per style guide. Respond to feedback in PR voxpupuli#786, improve unit tests slightly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-rebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants