+1 On Aug 13, 2009, at 4:11 AM, James Turnbull wrote:
> > > 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 > > > > -- Of the thirty-six ways of avoiding disaster, running away is best. -- Chinese Proverb --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
