mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix service_mgr fact for Solaris; svcs is used to list services.
Instead use 'smf' to reflect the name of framework, as is done elsewhere (e.g. 'systemd' instead of 'systemctl').
This commit is contained in:
parent
3700bcb6dd
commit
52960ff7d0
1 changed files with 1 additions and 2 deletions
|
@ -385,8 +385,7 @@ class Facts(object):
|
|||
elif self.facts['system'] == 'AIX':
|
||||
self.facts['service_mgr'] = 'src'
|
||||
elif self.facts['system'] == 'SunOS':
|
||||
#FIXME: smf?
|
||||
self.facts['service_mgr'] = 'svcs'
|
||||
self.facts['service_mgr'] = 'smf'
|
||||
elif self.facts['distribution'] == 'OpenWrt':
|
||||
self.facts['service_mgr'] = 'openwrt_init'
|
||||
elif self.facts['system'] == 'Linux':
|
||||
|
|
Loading…
Reference in a new issue