diff --git a/manifests/params.pp b/manifests/params.pp index 0bd77729..23c2f2bb 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -28,7 +28,7 @@ '0' => 'debian', '1' => 'upstart', }, - /Scientific|CentOS|RedHat/ => versioncmp($::operatingsystemrelease, '7.0') ? { + /Scientific|CentOS|RedHat|OracleLinux/ => versioncmp($::operatingsystemrelease, '7.0') ? { '-1' => 'sysv', '0' => 'systemd', '1' => 'systemd' diff --git a/metadata.json b/metadata.json index e4b58c69..e41bc84a 100644 --- a/metadata.json +++ b/metadata.json @@ -26,6 +26,10 @@ "operatingsystemrelease":[ "5.0", "6.0", "7.0" ] }, { + "operatingsystem":"Oracle Linux", + "operatingsystemrelease":[ "5.0", "6.0", "7.0" ] + }, + { "operatingsystem": "Ubuntu", "operatingsystemrelease": [ "12.04", "10.04", "14.04" ] },