Sha256: 42e17baf1eb99fa2a8ecdb3cbf21d6fec88e1f7b7b2b654a958e6cbab5c9b1d3
Contents?: true
Size: 467 Bytes
Versions: 16
Compression:
Stored size: 467 Bytes
Contents
Puppet::Type.type(:service).provide :openbsd, :parent => :init do desc "Provider for OpenBSD's rc.d daemon control scripts" confine :operatingsystem => :openbsd defaultfor :operatingsystem => :openbsd def self.defpath ["/etc/rc.d"] end def startcmd [self.initscript, "-f", :start] end def restartcmd (@resource[:hasrestart] == :true) && [self.initscript, "-f", :restart] end def statuscmd [self.initscript, :check] end end
Version data entries
16 entries across 16 versions & 1 rubygems