~ubuntu-branches/ubuntu/oneiric/puppet/oneiric-security

« back to all changes in this revision

Viewing changes to lib/puppet/provider/service/freebsd.rb

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Pollock
  • Date: 2009-04-13 17:12:47 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (3.1.3 squeeze) (1.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20090413171247-61zlnwi5esw1lhtv
ImportĀ upstreamĀ versionĀ 0.24.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Manage FreeBSD services.
2
2
Puppet::Type.type(:service).provide :freebsd, :parent => :init do
3
 
    desc "FreeBSD's (and probably NetBSD?) form of ``init``-style service
4
 
        management; uses ``rc.conf.d`` for service enabling and disabling."
 
3
    desc "FreeBSD's (and probably NetBSD?) form of ``init``-style service management.
 
4
 
 
5
    Uses ``rc.conf.d`` for service enabling and disabling.
 
6
 
 
7
"
 
8
 
 
9
    confine :operatingsystem => [:freebsd, :netbsd, :openbsd]
5
10
 
6
11
    defaultfor :operatingsystem => :freebsd
7
12