Hello,

Thanks for the patch.  It looks like it has the correct solution, using
the Debian abstraction layer over the alternative init systems.

However, I've found a problem with it using the "puppet resource"
command. Could you see if you find what causes it?

With puppet 3.7.22-1:

,----
| root@dagon:~# puppet resource service apache2
| service { 'apache2':
|   ensure => 'stopped',
|   enable => 'true',
| }
`----

With your patch:

,----
| root@dagon:~# puppet resource service apache2
| Error: Could not run: undefined local variable or method `service' for 
#<Puppet::Type::Service::ProviderDebian:0x000000029b9d88>
`----

-- 
Stig Sandbeck Mathisen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to