void-packages/srcpkgs/salt/template
2021-04-11 01:43:53 -04:00

53 lines
1.8 KiB
Bash

# Template file for 'salt'
pkgname=salt
version=3003
revision=1
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=c4689733dfe738cf287e31cb3fdd3cb8d1606295202b18d8e66d48d372d5ca77
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
}