Skip to content

Commit 16a7cd2

Browse files
authored
Merge pull request #9160 from mhashizume/PUP-19986/7.x/amazon-test
(PUP-11986) Add Amazon Linux package mapping
2 parents d3caef9 + 78a5423 commit 16a7cd2

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

acceptance/tests/resource/service/ticket_5024_systemd_enabling_masked_service.rb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package_name = {'el' => 'httpd',
1818
'centos' => 'httpd',
1919
'fedora' => 'httpd',
20+
'amazon' => 'httpd',
2021
'sles' => 'apache2',
2122
'debian' => 'cron', # apache2 does not create systemd service symlinks in Debian
2223
'ubuntu' => 'cron', # See https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1447807
@@ -43,13 +44,6 @@
4344
package { '#{package_name[platform]}':
4445
ensure => present,
4546
}
46-
if ($::operatingsystem == 'Fedora') and ($::operatingsystemmajrelease == '23') {
47-
package{'libnghttp2':
48-
ensure => latest,
49-
install_options => '--best',
50-
before => Package['httpd'],
51-
}
52-
}
5347
}
5448
manifest_service_masked = %Q{
5549
service { '#{package_name[platform]}':

0 commit comments

Comments
 (0)