Puppet: System Administration Automated

Support

Ticket #441 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Stop parameter is ignored in service

Reported by: puppet Assigned to: luke
Priority: normal Milestone: kermit
Component: service Version: 0.20.1
Severity: normal Keywords: service stop
Cc: Triage Stage:
Attached Patches: Complexity:

Description

Stop parameter is ignored in service

the following

        service { "vserver_$name":
                provider=>"base",
                start=>"$vserver_bin start", stop=>"$vserver_bin stop",
                restart=> "$vserver_bin restart",
                status=> "$vserver_bin running", ensure=>$ensure
        }

should run the command specified by stop parameter if the service is running, but it does not as you can see from output.

debug: vserver_test(provider=base): Executing "/usr/sbin/vserver test running"
debug: vserver_test(provider=base): vserver_test status returned ""
debug: //vservertest/vsguest[test]/service=vserver_test: Changing ensure
debug: //vservertest/vsguest[test]/service=vserver_test: 1 change(s)
debug: //vservertest/vsguest[test]/service=vserver_test/ensure: setting stopped (currently running)
notice: //vservertest/vsguest[test]/service=vserver_test/ensure: ensure changed 'running' to 'stopped'

System is fedora 4. puppet 0.20.0

Martin

Change History

01/23/07 02:23:55 changed by luke

  • milestone set to kermit.

01/28/07 21:24:05 changed by luke

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [2104].