Puppet: System Administration Automated

Support

Ticket #474 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Services should not refresh when enable => stopped

Reported by: luke Assigned to: luke
Priority: normal Milestone: grover
Component: library Version: 0.22.1
Severity: normal Keywords: service
Cc: Triage Stage:
Attached Patches: Complexity:

Description

The title says it all.

Change History

02/12/07 00:34:32 changed by DavidS

  • version set to 0.22.1.

Implementing the check similar to the mount one, the refresh method of the service type should look something like this:

        def refresh
            # Only restart if we're supposed to be running
            if ens = @parameters[:ensure] and ens.should == :running
                provider.restart
            end
        end

02/12/07 00:55:20 changed by luke

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

Fixed in [2186].