Skip to content

Commit

Permalink
Merge pull request #9160 from mhashizume/PUP-19986/7.x/amazon-test
Browse files Browse the repository at this point in the history
(PUP-11986) Add Amazon Linux package mapping
  • Loading branch information
cthorn42 committed Nov 21, 2023
2 parents d3caef9 + 78a5423 commit 16a7cd2
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package_name = {'el' => 'httpd',
'centos' => 'httpd',
'fedora' => 'httpd',
'amazon' => 'httpd',
'sles' => 'apache2',
'debian' => 'cron', # apache2 does not create systemd service symlinks in Debian
'ubuntu' => 'cron', # See https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1447807
Expand All @@ -43,13 +44,6 @@
package { '#{package_name[platform]}':
ensure => present,
}
if ($::operatingsystem == 'Fedora') and ($::operatingsystemmajrelease == '23') {
package{'libnghttp2':
ensure => latest,
install_options => '--best',
before => Package['httpd'],
}
}
}
manifest_service_masked = %Q{
service { '#{package_name[platform]}':
Expand Down

0 comments on commit 16a7cd2

Please sign in to comment.