diff --git a/manifests/install.pp b/manifests/install.pp index 42f1136..7a52e5a 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -39,7 +39,7 @@ # repo is not applicable to windows } default: { - fail('Only RedHat, CentOS, Debian, Ubuntu and Windows are supported at this time') + fail('Only RedHat, CentOS, OracleLinux, Debian, Ubuntu and Windows are supported at this time') } } } diff --git a/metadata.json b/metadata.json index 81f16fb..76a1519 100644 --- a/metadata.json +++ b/metadata.json @@ -17,6 +17,10 @@ "operatingsystem": "Debian", "operatingsystemrelease": [ "8" ] }, + { + "operatingsystem": "OracleLinux", + "operatingsystemrelease": [ "6", "7" ] + }, { "operatingsystem": "CentOS", "operatingsystemrelease": [ "6", "7" ] diff --git a/spec/classes/telegraf_spec.rb b/spec/classes/telegraf_spec.rb index 3c7a2fb..db675fc 100644 --- a/spec/classes/telegraf_spec.rb +++ b/spec/classes/telegraf_spec.rb @@ -2,7 +2,7 @@ describe 'telegraf' do context 'Supported operating systems' do - ['RedHat', 'CentOS'].each do |operatingsystem| + ['RedHat', 'CentOS', 'OracleLinux'].each do |operatingsystem| [6,7].each do |releasenum| context "#{osfamily} #{releasenum} release specifics" do let(:facts) {{