Provided examples applicable for Cloudlinux 8 and 9 with cPanel or Plesk installed.
Clone repo:
git clone https://github.com/cloudlinux/imunify-deployment.gitCopy SLS files to salt folder. /srv/salt is the default.
Then you can test it with dry run:
salt host state.apply imunify-install-cpanel test=TrueFinally, you may run it with dev activation key to see if we successfully configured everything:
salt host state.apply imunify-install-cpanel pillar='{"activation_key": "<KEY>"}' # for cpanel
salt host state.apply imunify-install-plesk pillar='{"plesk_license_key": "<PLESK_KEY>"}' # for pleskAccept EULA license and apply configuration:
salt host state.apply imunify-configurationOr to uninstall:
salt host state.apply imunify-uninstall