mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
* replaced use of expanduser() with value from HOME var
* fixed sanity check
* added changelog fragment
(cherry picked from commit 1990f79d8a
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
641f8b3059
commit
754cd31195
6 changed files with 3 additions and 5 deletions
2
changelogs/fragments/2960-launchd-validation-check.yaml
Normal file
2
changelogs/fragments/2960-launchd-validation-check.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- launchd - fixed sanity check in the module's code (https://github.com/ansible-collections/community.general/pull/2960).
|
|
@ -159,7 +159,7 @@ class Plist:
|
|||
"""Finds the plist file associated with a service"""
|
||||
|
||||
launchd_paths = [
|
||||
os.path.expanduser('~/Library/LaunchAgents'),
|
||||
os.path.join(os.getenv('HOME'), 'Library/LaunchAgents'),
|
||||
'/Library/LaunchAgents',
|
||||
'/Library/LaunchDaemons',
|
||||
'/System/Library/LaunchAgents',
|
||||
|
|
|
@ -143,7 +143,6 @@ plugins/modules/storage/purestorage/purefb_facts.py validate-modules:parameter-l
|
|||
plugins/modules/storage/purestorage/purefb_facts.py validate-modules:return-syntax-error
|
||||
plugins/modules/system/gconftool2.py validate-modules:parameter-state-invalid-choice
|
||||
plugins/modules/system/iptables_state.py validate-modules:undocumented-parameter
|
||||
plugins/modules/system/launchd.py use-argspec-type-path # False positive
|
||||
plugins/modules/system/osx_defaults.py validate-modules:parameter-state-invalid-choice
|
||||
plugins/modules/system/parted.py validate-modules:parameter-state-invalid-choice
|
||||
plugins/modules/system/puppet.py use-argspec-type-path
|
||||
|
|
|
@ -142,7 +142,6 @@ plugins/modules/storage/purestorage/purefb_facts.py validate-modules:parameter-l
|
|||
plugins/modules/storage/purestorage/purefb_facts.py validate-modules:return-syntax-error
|
||||
plugins/modules/system/gconftool2.py validate-modules:parameter-state-invalid-choice
|
||||
plugins/modules/system/iptables_state.py validate-modules:undocumented-parameter
|
||||
plugins/modules/system/launchd.py use-argspec-type-path # False positive
|
||||
plugins/modules/system/osx_defaults.py validate-modules:parameter-state-invalid-choice
|
||||
plugins/modules/system/parted.py validate-modules:parameter-state-invalid-choice
|
||||
plugins/modules/system/puppet.py use-argspec-type-path
|
||||
|
|
|
@ -142,7 +142,6 @@ plugins/modules/storage/purestorage/purefb_facts.py validate-modules:parameter-l
|
|||
plugins/modules/storage/purestorage/purefb_facts.py validate-modules:return-syntax-error
|
||||
plugins/modules/system/gconftool2.py validate-modules:parameter-state-invalid-choice
|
||||
plugins/modules/system/iptables_state.py validate-modules:undocumented-parameter
|
||||
plugins/modules/system/launchd.py use-argspec-type-path # False positive
|
||||
plugins/modules/system/osx_defaults.py validate-modules:parameter-state-invalid-choice
|
||||
plugins/modules/system/parted.py validate-modules:parameter-state-invalid-choice
|
||||
plugins/modules/system/puppet.py use-argspec-type-path
|
||||
|
|
|
@ -180,7 +180,6 @@ plugins/modules/storage/purestorage/purefb_facts.py validate-modules:deprecation
|
|||
plugins/modules/storage/purestorage/purefb_facts.py validate-modules:invalid-documentation
|
||||
plugins/modules/storage/purestorage/purefb_facts.py validate-modules:return-syntax-error
|
||||
plugins/modules/system/iptables_state.py validate-modules:undocumented-parameter
|
||||
plugins/modules/system/launchd.py use-argspec-type-path # False positive
|
||||
plugins/modules/system/puppet.py use-argspec-type-path
|
||||
plugins/modules/system/puppet.py validate-modules:parameter-type-not-in-doc
|
||||
plugins/modules/system/runit.py validate-modules:parameter-type-not-in-doc
|
||||
|
|
Loading…
Reference in a new issue