Skip to content

Commit

Permalink
Merge pull request #194 from pmoranga/master
Browse files Browse the repository at this point in the history
Support for amazon linux, where there is no systemd
  • Loading branch information
luxflux committed May 3, 2016
2 parents 1b1ce90 + 1910606 commit 10060f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
$easyrsa_source = '/usr/share/easy-rsa/2.0'

# Redhat/Centos >= 7.0
if(versioncmp($::operatingsystemrelease, '7.0') >= 0) {
if(versioncmp($::operatingsystemrelease, '7.0') >= 0) and $::operatingsystem != 'Amazon' {
$systemd = true
# Redhat/Centos < 7
} else {
Expand Down

0 comments on commit 10060f8

Please sign in to comment.