Skip to content

Commit

Permalink
Revert "(PUP-8495) Systemd support, Ubuntu 17.04 and 17.10"
Browse files Browse the repository at this point in the history
This reverts commit 8a38dbf.
  • Loading branch information
kbarmen committed Mar 1, 2018
1 parent 8c33c85 commit d99927c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/puppet/provider/service/systemd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
defaultfor :osfamily => :coreos
defaultfor :operatingsystem => :amazon, :operatingsystemmajrelease => ["2"]
defaultfor :operatingsystem => :debian, :operatingsystemmajrelease => ["8", "stretch/sid", "9", "buster/sid"]
defaultfor :operatingsystem => :ubuntu, :operatingsystemmajrelease => ["15.04","15.10","16.04","16.10","17.04","17.10"]
defaultfor :operatingsystem => :ubuntu, :operatingsystemmajrelease => ["15.04","15.10","16.04","16.10"]
defaultfor :operatingsystem => :cumuluslinux, :operatingsystemmajrelease => ["3"]

def self.instances
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/provider/service/systemd_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
expect(described_class).not_to be_default
end

[ '15.04', '15.10', '16.04', '16.10', '17.04', '17.10' ].each do |ver|
[ '15.04', '15.10', '16.04', '16.10' ].each do |ver|
it "should be the default provider on ubuntu#{ver}" do
Facter.stubs(:value).with(:osfamily).returns(:debian)
Facter.stubs(:value).with(:operatingsystem).returns(:ubuntu)
Expand Down

0 comments on commit d99927c

Please sign in to comment.