Bug #579

puppet should try to clear solaris 10 services in maintenance state

Added by Redmine Admin almost 5 years ago. Updated over 2 years ago.

Status:Closed Start date:
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Solaris
Target version:0.25.0
Affected Puppet version:0.24.7 Branch:
Keywords:
Votes: 0

Description

Running

svcadm clear FMRI
should be done once for services in maintenance state.

See this thread http://mail.madstop.com/pipermail/puppet-users/2007-April/002162.html for discussion.

smf.rb.patch (1.1 kB) Aaron Fellin, 06/23/2009 12:48 am

History

Updated by Redmine Admin over 3 years ago

  • Status changed from 1 to Accepted

Updated by Luke Kanies about 3 years ago

  • Target version changed from 0.25.0 to 4
  • Affected Puppet version set to 0.24.7

Updated by Aaron Fellin over 2 years ago

  • File smf.rb.patch added
  • 3 changed from Easy to Trivial

I took a stab at this and it’s pretty trivial to check whether or not the service is in the maintenance state. Attached is a patch to the smf.rb provider.

Updated by Aaron Fellin over 2 years ago

  • File deleted (smf.rb.patch)

Updated by Aaron Fellin over 2 years ago

Ack – wrong patch file.

Updated by Luke Kanies over 2 years ago

  • Status changed from Accepted to In Topic Branch Pending Review
  • Assignee deleted (Luke Kanies)

Anyone able to test this?

The code looks good, but can you email it to the list, a la the DevelopmentLifecycle page?

Updated by James Turnbull over 2 years ago

Send to list for comment.

Updated by James Turnbull over 2 years ago

  • Status changed from In Topic Branch Pending Review to Closed
  • Target version changed from 4 to 0.25.0

Pushed in commit:c86d44ed826b99752fd0ee85b2a77eaadd8a57ae in branch master.

Also available in: Atom PDF