runit - deprecate param dist (#1838) (#1845)

* Deprecate param dist

* added changelog fragment

* added changelog fragment

* Removed ignore lines for runit

(cherry picked from commit e0dd4b240f)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2021-02-17 08:01:13 +01:00 committed by GitHub
parent 7e367244f7
commit c3ac479ae2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 7 deletions

View file

@ -217,7 +217,7 @@ def main():
name=dict(type='str', required=True),
state=dict(type='str', choices=['killed', 'once', 'reloaded', 'restarted', 'started', 'stopped']),
enabled=dict(type='bool'),
dist=dict(type='str', default='runit'), # @FIXME unused param?
dist=dict(type='str', removed_in_version='4.0.0', removed_from_collection='community.general'),
service_dir=dict(type='str', default='/var/service'),
service_src=dict(type='str', default='/etc/sv'),
),