Ticket #1062 (closed enhancement: fixed)
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 11 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 11 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 11 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 11 years ago by solj
- Status changed from accepted to closed
- Resolution set to fixed
Chris added support for this in 42e619c585de45e5e4e16ae3746efb7db9f90b1e.