Signed-off-by: James Turnbull <[email protected]>
---
 lib/puppet/provider/service/smf.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/puppet/provider/service/smf.rb 
b/lib/puppet/provider/service/smf.rb
index 7036865..9ac4ff9 100755
--- a/lib/puppet/provider/service/smf.rb
+++ b/lib/puppet/provider/service/smf.rb
@@ -70,7 +70,7 @@ Puppet::Type.type(:service).provide :smf, :parent => :base do
         end
 
         begin
-            state = svcs "-H -o state", @resource[:name]
+            state = svcs "-H", "-o", "state", @resource[:name]
         rescue Puppet::ExecutionFailure
             info "Could not get status on service %s" % self.name
             return :stopped
-- 
1.6.0.6


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to