Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: salt.states.service.configured #36960

Open
damon-atkins opened this issue Oct 13, 2016 · 5 comments
Open

RFE: salt.states.service.configured #36960

damon-atkins opened this issue Oct 13, 2016 · 5 comments
Assignees
Labels
Feature new functionality including changes to functionality and code refactors, etc. Platform Relates to OS, containers, platform-based utilities like FS, system based apps State-Module

Comments

@damon-atkins
Copy link
Contributor

damon-atkins commented Oct 13, 2016

Description of Issue/Question

Their needs to be a state to configure a service, which check to see if the service is configured as expected and if not changes it. i.e. salt.states.service.configured which supports windows, systemd, solaris. i.e. the platforms which do do use init.d/rc.d

It needs to accept a list of params which are common across platforms, and also a extra platform specific items.

Steps to Reproduce Issue

Windows Example

module.run:
- name: service.create
- m_name: ServiceName
- bin_path: d:{{environmentbase}}\apptier\service\bin\WindowsService.exe
- display_name: TestService
- start_type: auto
- description: Windows Service for {{environment}} Instance"

This errors if already exists. i.e. trying to do something which should be implemented in a state.

@Ch3LL
Copy link
Contributor

Ch3LL commented Oct 13, 2016

Sounds like a sound idea. Will approve as a feature request thanks

@Ch3LL Ch3LL added Feature new functionality including changes to functionality and code refactors, etc. State-Module Platform Relates to OS, containers, platform-based utilities like FS, system based apps labels Oct 13, 2016
@Ch3LL Ch3LL added this to the Approved milestone Oct 13, 2016
@damon-atkins damon-atkins changed the title Enhancement Request: salt.states.service.configured RFE: salt.states.service.configured Nov 12, 2017
@dijit
Copy link
Contributor

dijit commented Jul 26, 2018

👍 Is there a solution for this that currently exists?

@stale
Copy link

stale bot commented Jan 10, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

@stale stale bot added the stale label Jan 10, 2020
@stale stale bot closed this as completed Jan 17, 2020
@damon-atkins
Copy link
Contributor Author

Please reopen

@Ch3LL Ch3LL reopened this Feb 4, 2020
@stale
Copy link

stale bot commented Feb 4, 2020

Thank you for updating this issue. It is no longer marked as stale.

@stale stale bot removed the stale label Feb 4, 2020
@twangboy twangboy self-assigned this Aug 21, 2023
@twangboy twangboy modified the milestones: Approved, Chlorine v3007.0 Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature new functionality including changes to functionality and code refactors, etc. Platform Relates to OS, containers, platform-based utilities like FS, system based apps State-Module
Projects
None yet
Development

No branches or pull requests

4 participants