void-packages/srcpkgs/salt/template
2020-04-04 23:03:00 -04:00

55 lines
1.8 KiB
Bash

# Template file for 'salt'
pkgname=salt
version=3000.1
revision=2
archs=noarch
build_style=python2-module
pycompile_module="salt"
hostmakedepends="python-devel python-setuptools"
depends="python-yaml python-Jinja2 python-requests python-pyzmq
python-M2Crypto python-tornado python-msgpack dmidecode pciutils
python-psutil"
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=5ad18044b4a47690d09c3ebc842a64d58144d63f40019e867683377dbf337aab
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
}