# Template file for 'puppet'
pkgname=puppet
version=5.5.3
revision=1
noarch=yes
build_style=ruby-module
hostmakedepends="ruby facter-devel hiera"
makedepends="facter-devel"
depends="ruby>=2.2 facter hiera"
short_desc="Server automation framework and application"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Apache-2.0"
homepage="https://puppetlabs.com/facter"
distfiles="https://downloads.puppetlabs.com/$pkgname/$pkgname-$version.tar.gz"
checksum=a335369236e7d88e0616b918d25b07178c12a19ede3b1f79b82d9ace1bc89010

system_accounts="puppet"
puppet_homedir="/var/lib/puppet"
conf_files="
 /etc/puppetlabs/puppet/puppet.conf
 /etc/puppetlabs/puppet/auth.conf"

post_install() {
	vlicense LICENSE
	vsv puppet
	vsv puppetmaster
}
