Skip to content

Commit

Permalink
Support Debian 9
Browse files Browse the repository at this point in the history
  • Loading branch information
hfm committed Dec 4, 2017
1 parent 9237b05 commit 58be5f1
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lib/facter/initsystem.rb
Original file line number Diff line number Diff line change
@@ -22,8 +22,7 @@
when 'Fedora'
'systemd'
when 'Debian'
case os['release']['major'].to_i
when 8
if os['release']['major'].to_i > 7
'systemd'
else
'sysvinit'
5 changes: 3 additions & 2 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
"requirements": [
{
"name": "puppet",
"version_requirement": ">=3.0.0 < 5.0.0"
"version_requirement": ">=3.0.0 < 6.0.0"
}
],
"dependencies": [
@@ -60,7 +60,8 @@
"operatingsystemrelease": [
"6",
"7",
"8"
"8",
"9"
]
},
{

0 comments on commit 58be5f1

Please sign in to comment.