Skip to content

Commit 7ba4df5

Browse files
committed
(PUP-4351) Default service type and package provider not set on CumulusLinux
This fix adds CumulusLinux to the defaultfor for its service provider. This fix also switches the package provider for all osfamily Debian to apt Thanks also to Barry Peddycord (@isharacomix) for work on this patch
1 parent 5268684 commit 7ba4df5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/puppet/provider/package/apt.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
commands :aptcache => "/usr/bin/apt-cache"
1515
commands :preseed => "/usr/bin/debconf-set-selections"
1616

17-
defaultfor :operatingsystem => [:debian, :ubuntu]
17+
defaultfor :osfamily => :debian
1818

1919
ENV['DEBIAN_FRONTEND'] = "noninteractive"
2020

lib/puppet/provider/service/debian.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# is resolved.
1717
commands :invoke_rc => "/usr/sbin/invoke-rc.d"
1818

19-
defaultfor :operatingsystem => :debian
19+
defaultfor :operatingsystem => [:debian, :cumuluslinux]
2020

2121
# Remove the symlinks
2222
def disable

0 commit comments

Comments
 (0)