void-packages/srcpkgs/puppet/template

28 lines
803 B
Bash

# Template file for 'puppet'
pkgname=puppet
version=6.1.0
revision=2
noarch=yes
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="Juan RP <xtraeme@voidlinux.org>"
license="Apache-2.0"
homepage="https://puppetlabs.com/facter"
distfiles="https://downloads.puppetlabs.com/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=a75563f17a540131a24abe11eba22704a5f75ddb39f88328d8f4794d026b7614
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
}