[Bug 1276766] Re: 'status startpar-bridge' fails with 'status: Unknown parameter: JOB'

Stig Sandbeck Mathisen ssm at debian.org
Sat Mar 15 19:19:04 UTC 2014


Steve Langasek <steve.langasek at canonical.com> writes:

> This is a bug in puppet, then; there's no reason that puppet should be
> trying to call 'status startpar-bridge', and the fact that it's doing
> so is a bug in the puppet code in question.

When you run "puppet resource service", puppet will enumerate _all_
services on that server (init scripts, upstart jobs, systemd services,
whatnot, and then check if it is running, and if it is enabled on boot.

When the operatingsystem is "ubuntu", the service provider is "upstart",
The relevant code for handling services on ubuntu is:

  defaultfor :operatingsystem => :ubuntu

  commands :start   => "/sbin/start",
           :stop    => "/sbin/stop",
           :restart => "/sbin/restart",
           :status_exec  => "/sbin/status",
           :initctl => "/sbin/initctl"

Is this wrong for Ubuntu?

-- 
Stig Sandbeck Mathisen

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to puppet in Ubuntu.
https://bugs.launchpad.net/bugs/1276766

Title:
  'status startpar-bridge' fails with 'status: Unknown parameter: JOB'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1276766/+subscriptions



More information about the Ubuntu-server-bugs mailing list