void-packages/srcpkgs/salt/template
2020-10-10 10:21:32 -04:00

53 lines
1.8 KiB
Bash

# Template file for 'salt'
pkgname=salt
version=3001.1
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-yaml python3-Jinja2 python3-requests python3-pyzmq
python3-M2Crypto python3-tornado python3-msgpack dmidecode pciutils
python3-psutil python3-distro python3-pycryptodomex"
short_desc="Remote execution system, and configuration manager"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="Apache-2.0"
homepage="http://saltstack.org/"
changelog="https://docs.saltstack.com/en/latest/topics/releases/${version}.html"
distfiles="${PYPI_SITE}/s/salt/salt-${version}.tar.gz"
checksum=e9ebb4d92fae8dabf21b8749dc126e4a4048bf8f613f5b1b851fe4b8226b5abc
conf_files="
/etc/salt/cloud.providers.d/digitalocean.conf
/etc/salt/cloud.providers.d/vsphere.conf
/etc/salt/cloud.providers.d/linode.conf
/etc/salt/cloud.providers.d/parallels.conf
/etc/salt/cloud.providers.d/ibmsce.conf
/etc/salt/cloud.providers.d/tencent.conf
/etc/salt/cloud.providers.d/ec2.conf
/etc/salt/cloud.providers.d/saltify.conf
/etc/salt/cloud.providers.d/joyent.conf
/etc/salt/cloud.providers.d/gogrid.conf
/etc/salt/cloud.providers.d/proxmox.conf
/etc/salt/cloud.providers.d/scaleway.conf
/etc/salt/cloud.maps.d/cloud.map
/etc/salt/cloud.maps.d/saltify.map
/etc/salt/minion
/etc/salt/cloud
/etc/salt/roster
/etc/salt/proxy
/etc/salt/suse/master
/etc/salt/master
/etc/salt/cloud.profiles.d/EC2-us-west-1.profiles
/etc/salt/cloud.profiles.d/EC2-us-east-1.profiles
/etc/salt/cloud.profiles.d/EC2-us-west-2.profiles
/etc/salt/cloud.profiles.d/saltify.conf
/etc/salt/cloud.profiles.d/tencentcloud-guangzhou-s1sm1.profiles
/etc/salt/cloud.profiles
/etc/salt/cloud.providers"
post_install() {
vmkdir etc/salt 0750
vcopy conf/* etc/salt
vsv salt-api
vsv salt-master
vsv salt-minion
vsv salt-syndic
}