void-packages/srcpkgs/puppet/template

28 lines
805 B
Bash

# Template file for 'puppet'
pkgname=puppet
version=6.2.0
revision=1
archs=noarch
build_style=ruby-module
hostmakedepends="ruby facter-devel hiera"
makedepends="facter-devel"
depends="ruby facter hiera ruby-semantic_puppet"
short_desc="Server automation framework and application"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://puppetlabs.com/facter"
distfiles="https://downloads.puppetlabs.com/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=d891970ecd4c47b93d952b02463107c09cc44094ffc58e5c81b6f4a9e8c8798b
system_accounts="puppet"
puppet_homedir="/var/lib/puppet"
conf_files="
/etc/puppetlabs/puppet/puppet.conf
/etc/puppetlabs/puppet/auth.conf"
make_dirs="/var/lib/puppet 0755 puppet puppet"
post_install() {
vlicense LICENSE
vsv puppet
vsv puppetmaster
}