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
Support Passenger repo on Amazon Linux #1549
Conversation
* master: (24 commits) Additional SLES fix for version fact Suse has prefork per default Support Apache 2.4 on SLES 12 (MODULES-3983) Update parallel_tests for ruby 2.0.0 (FM-5739) removes mocha stubbing Adding requirement for httpd package Do not set ssl_certs_dir on FreeBSD Notify Apache of new symlink Update modulesync_config [51f469d] Rename spec for apache::mod::disk_cache (puppetlabs#1509) Simplify MPM setup on FreeBSD (puppetlabs#1497) Add path to shibboleth lib Auto load Apache::Mod[slotmem_shm] and Apache::Mod[lbmethod_byrequests] with proxy_balancer on 2.4 Add passenger_nodejs + passenger_sticky_sessions + passenger_startup_file in which lint errors are fixed in which final touches are added in which failures for sles 11 are zero adds cond for apache versions on suse SuSE 11 test improvements Don't write empty servername for vhost to template ...
if $::operatingsystem == 'Amazon' { | ||
yumrepo { 'passenger': | ||
ensure => 'present', | ||
baseurl => 'https://oss-binaries.phusionpassenger.com/yum/passenger/el/6Server/$basearch', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I am not mistaken, isn't the only change in this PR hardcoding 6Server rather than using $releasever on Amazon? Would it be tidier to move the base_url out to a separate variable, rather than duplicate the entire yumrepo resource? e.g.
if $::operatingsystem == 'Amazon' {
$passenger_base_url = 'https://oss-binaries.phusionpassenger.com/yum/passenger/el/6Server/$basearch'
} else {
$passenger_base_url = 'https://oss-binaries.phusionpassenger.com/yum/passenger/el/$releasever/$basearch'
}
Left some comments in the code @seefood, let me know your thoughts :) |
into feature/AmazonLinux * 'master' of https://github.com/puppetlabs/puppetlabs-apache: proxypassmatch not supported on sles 10 apache (MODULES-3704) Update gemfile template to be identical remove mod_security tests for sles 10 adjusts mod package name for SLES 10 excludes dav_svn tests mocha version update for test hanging issue 1. Allow user to specify alternative package and library names from the default. If left undef, they remain the values set in params.pp. 2. Fix parameter alignment.
OK, should be better now. |
Halleluya! Just as we're getting rid of the AmaLin imagesin favor of CentOS... |
No systemd on AmaLinux, so it should get the el6 repo.