Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding explicit support for OEL. #53

Merged
merged 1 commit into from
Mar 22, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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