lib/puppet/provider/service/bsd.rb
# enable service by creating a service file under rc.conf.d with the
# proper contents
enable service by creating a service file under rc.conf.d with the
proper contents
enable service by creating a service file under rc . conf . d with the proper contents
def enable
    Dir.mkdir(rcconf_dir) if not File.exists?(rcconf_dir)
    rcfile = File.join(rcconf_dir, @model[:name])
    open(rcfile, 'w') { |f| f << "%s_enable=\"YES\"\n" % @model[:name] }
  end
def enable Dir . mkdir ( rcconf_dir ) if not File . exists? ( rcconf_dir ) rcfile = File . join ( rcconf_dir , @model [ :name ] ) open ( rcfile , 'w' ) { | f | f << "%s_enable=\"YES\"\n" % @model [ :name ] } end
enable service by creating a service file under rc.conf.d with the
proper contents
enable service by creating a service file under rc . conf . d with the proper contents