Modify

Ticket #1062 (closed enhancement: fixed)

Opened 10 years ago

Last modified 9 years ago

additional service_mode functionality

Reported by: https://www.google.com/accounts/o8/id?id=AItOawkEnIr3s__hfvVObq2WT40wSEtJCGQ77jA Owned by: https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc
Priority: major Milestone: Bcfg2 1.3.0 Release
Component: bcfg2-client Version: 1.0
Keywords: Cc:

Description

It would be nice to have a feature that can enable / disable services (like with chkconifig), but to NOT start them (ex/ service opensmd start) so that services do not try to start inside of images that bcfg2 manages.

Thanks, Dustin

Attachments

Change History

comment:1 Changed 10 years ago by https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc

  • Owner changed from desai to https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc
  • Status changed from new to accepted

comment:2 Changed 10 years ago by solj

If I understand correctly, you should be able to get this behavior by using mode='manual' in your service specification (http://docs.bcfg2.org/server/plugins/generators/rules.html#service-mode-descriptions).

comment:3 Changed 10 years ago by https://www.google.com/accounts/o8/id?id=AItOawkEnIr3s__hfvVObq2WT40wSEtJCGQ77jA

To clarify, it would be nice to be able to run the bcfg2 client with -s build, and be able to enable / disable services (using chkconfig) when the the service specification looks like: <BoundService? name="<service>" mode="manual" status="on"/> Thanks, Dustin

comment:4 Changed 9 years ago by solj

  • Status changed from accepted to closed
  • Resolution set to fixed

Chris added support for this in 42e619c585de45e5e4e16ae3746efb7db9f90b1e.

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.