Skip to content

Commit

Permalink
fix(macos): use macos service names
Browse files Browse the repository at this point in the history
X
  • Loading branch information
noelmcloughlin committed Jun 13, 2020
1 parent 6d6e2b9 commit c72b183
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
6 changes: 0 additions & 6 deletions salt/master.sls
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ salt-master-macos:
until: True
interval: 10
splay: 10
cmd.run:
- names:
- launchctl load -w /Library/LaunchDaemons/com.saltstack.salt.master.plist
- launchctl unload /Library/LaunchDaemons/com.saltstack.salt.master.plist
- require:
- file: salt-master-macos
- require_in:
- service: salt-master
{%- endif %}
Expand Down
6 changes: 0 additions & 6 deletions salt/minion.sls
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@ salt-minion-macos:
until: True
interval: 10
splay: 10
cmd.run:
- names:
- launchctl load -w /Library/LaunchDaemons/com.saltstack.salt.minion.plist
- launchctl unload /Library/LaunchDaemons/com.saltstack.salt.minion.plist
- require:
- file: salt-minion-macos
- require_in:
- service: salt-minion
{%- endif %}
Expand Down
2 changes: 2 additions & 0 deletions salt/osmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,7 @@ SmartOS:
gitfs_provider: dulwich

MacOS:
minion_service: com.saltstack.salt.minion
master_service: com.saltstack.salt.master
salt_master_macos_plist_hash: 8435331b2d48ca8f0759f216e5b15ec9171a4216b1441328c732c6906728b7c9
salt_minion_macos_plist_hash: 26b33da12e0d8960ee96b488c8352002c22a377c19bf3df3f986a1e49eca8b20

0 comments on commit c72b183

Please sign in to comment.