gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / ruby / puppet / patches / puppet-14-smf-refreshable.patch
blobdbd1936c09964c9f8823606cbfd35b237883ef05
1 smf understands the concept of refreshable
2 PUP-6238 Serivce SMF should declare has_feature :refreshable
4 diff --git a/lib/puppet/provider/service/smf.rb b/lib/puppet/provider/service/smf.rb
5 --- a/lib/puppet/provider/service/smf.rb
6 +++ b/lib/puppet/provider/service/smf.rb
7 @@ -23,6 +23,8 @@ Puppet::Type.type(:service).provide :smf, :parent => :base do
8 commands :adm => "/usr/sbin/svcadm", :svcs => "/usr/bin/svcs"
9 commands :svccfg => "/usr/sbin/svccfg"
11 + has_feature :refreshable
13 def setupservice
14 if resource[:manifest]
15 [command(:svcs), "-l", @resource[:name]]