vendored/puppet/lib/puppet/provider/service/systemd.rb in bolt-0.20.3 vs vendored/puppet/lib/puppet/provider/service/systemd.rb in bolt-0.20.5
- old
+ new
@@ -23,10 +23,10 @@
defaultfor :osfamily => :redhat, :operatingsystem => :fedora
defaultfor :osfamily => :suse
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"]
+ defaultfor :operatingsystem => :ubuntu, :operatingsystemmajrelease => ["15.04","15.10","16.04","16.10","17.04","17.10","18.04"]
defaultfor :operatingsystem => :cumuluslinux, :operatingsystemmajrelease => ["3"]
def self.instances
i = []
output = systemctl('list-unit-files', '--type', 'service', '--full', '--all', '--no-pager')