2 arch arm: "arm64", intel: "x86_64"
5 sha256 arm: "968b7701a470f5786474dea4489f96b546e7b6340ba734695b7899aa6edf14a2",
6 intel: "865d2d3792659ddbd48940b0e031a3e9652a85977cf0a2ef3a5ec00e34eb66cb"
8 url "https://packages.broadcom.com/artifactory/saltproject-generic/macos/#{version}/salt-#{version}-py3-#{arch}.pkg",
9 verified: "packages.broadcom.com/artifactory/saltproject-generic/"
11 desc "Automation and infrastructure management engine"
12 homepage "https://saltproject.io/"
15 url "https://docs.saltproject.io/salt/install-guide/en/latest/topics/install-by-operating-system/macos.html"
16 regex(/salt[._-]v?(\d+(?:\.\d+)+)-py3-#{arch}\.pkg/i)
19 pkg "salt-#{version}-py3-#{arch}.pkg"
21 uninstall launchctl: [
22 "com.saltstack.salt.api",
23 "com.saltstack.salt.master",
24 "com.saltstack.salt.minion",
25 "com.saltstack.salt.syndic",
27 pkgutil: "com.saltstack.salt"
29 zap trash: "/etc/salt"
35 sudo launchctl load -w /Library/LaunchDaemons/com.saltstack.salt.api.plist
36 sudo launchctl load -w /Library/LaunchDaemons/com.saltstack.salt.master.plist
37 sudo launchctl load -w /Library/LaunchDaemons/com.saltstack.salt.minion.plist
38 sudo launchctl load -w /Library/LaunchDaemons/com.saltstack.salt.syndic.plist