diff options
author | Nick Lewis <nick@puppetlabs.com> | 2010-11-11 13:47:43 -0800 |
---|---|---|
committer | Nick Lewis <nick@puppetlabs.com> | 2010-11-11 13:51:45 -0800 |
commit | b0acb02b568598ec8dba41aa856f74658b2033dd (patch) | |
tree | 6b85dd2b572f296cbf23db803c279c1f2160c16c /lib/puppet | |
parent | 2b772f761e151c3c2be41e1688e9af9a22d73dd0 (diff) | |
download | puppet-b0acb02b568598ec8dba41aa856f74658b2033dd.tar.gz puppet-b0acb02b568598ec8dba41aa856f74658b2033dd.tar.xz puppet-b0acb02b568598ec8dba41aa856f74658b2033dd.zip |
(#3747) Add specs for upstart provider
Paired-With: Matt Robinson
Diffstat (limited to 'lib/puppet')
-rwxr-xr-x | lib/puppet/provider/service/upstart.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/puppet/provider/service/upstart.rb b/lib/puppet/provider/service/upstart.rb index 915de4c0b..54971eeac 100755 --- a/lib/puppet/provider/service/upstart.rb +++ b/lib/puppet/provider/service/upstart.rb @@ -6,9 +6,6 @@ Puppet::Type.type(:service).provide :upstart, :parent => :init do See: * http://upstart.ubuntu.com/ " - # Note: I did not set default for Ubuntu - # defaultfor :operatingsystem => :ubuntu - # confine to :ubuntu for now because I haven't tested on other platforms confine :operatingsystem => :ubuntu #[:ubuntu, :fedora, :debian] @@ -37,7 +34,7 @@ Puppet::Type.type(:service).provide :upstart, :parent => :init do else line.split.first end - instances << new(:name => name) #, :path => "/etc/init/#{name}.conf") + instances << new(:name => name) } } instances |