diff options
author | James Turnbull <james@lovedthanlost.net> | 2008-10-01 01:42:00 +1000 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2008-10-01 01:42:00 +1000 |
commit | 99de9208333531d0ad09d266a76d44face71de94 (patch) | |
tree | b85eb90fde5f5ffec6fa5ad1c7274905c8c3ed34 /lib/puppet/provider | |
parent | 4cf9710bd27fdb5f0720f4d8478ef940e7c4ba59 (diff) | |
download | puppet-99de9208333531d0ad09d266a76d44face71de94.tar.gz puppet-99de9208333531d0ad09d266a76d44face71de94.tar.xz puppet-99de9208333531d0ad09d266a76d44face71de94.zip |
Fixed #1620 - Add 'sles' to Puppet confines when 'suse' is used
Diffstat (limited to 'lib/puppet/provider')
-rw-r--r-- | lib/puppet/provider/package/rug.rb | 4 | ||||
-rwxr-xr-x | lib/puppet/provider/service/redhat.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/puppet/provider/package/rug.rb b/lib/puppet/provider/package/rug.rb index c5451ad71..1e1d6763f 100644 --- a/lib/puppet/provider/package/rug.rb +++ b/lib/puppet/provider/package/rug.rb @@ -5,8 +5,8 @@ Puppet.type(:package).provide :rug, :parent => :rpm do commands :rug => "/usr/bin/rug" commands :rpm => "rpm" - defaultfor :operatingsystem => :suse - confine :operatingsystem => :suse + defaultfor :operatingsystem => [:suse, :sles] + confine :operatingsystem => [:suse, :sles] # Install a package using 'rug'. def install diff --git a/lib/puppet/provider/service/redhat.rb b/lib/puppet/provider/service/redhat.rb index d26f76ebd..faa75476d 100755 --- a/lib/puppet/provider/service/redhat.rb +++ b/lib/puppet/provider/service/redhat.rb @@ -6,7 +6,7 @@ Puppet::Type.type(:service).provide :redhat, :parent => :init do commands :chkconfig => "/sbin/chkconfig", :service => "/sbin/service" - defaultfor :operatingsystem => [:redhat, :fedora, :suse, :centos] + defaultfor :operatingsystem => [:redhat, :fedora, :suse, :centos, :sles] def self.defpath superclass.defpath |