Skip to content

Commit

Permalink
Adding explicit support for OEL. (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
jglenn9k authored and yankcrime committed Mar 22, 2017
1 parent a3bb343 commit 4ae496f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
"operatingsystem": "Debian",
"operatingsystemrelease": [ "8" ]
},
{
"operatingsystem": "OracleLinux",
"operatingsystemrelease": [ "6", "7" ]
},
{
"operatingsystem": "CentOS",
"operatingsystemrelease": [ "6", "7" ]
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/telegraf_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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) {{
Expand Down

0 comments on commit 4ae496f

Please sign in to comment.