void-packages/srcpkgs/puppet/template

29 lines
870 B
Bash

# Template file for 'puppet'
pkgname=puppet
version=6.11.1
revision=3
archs=noarch
build_style=ruby-module
hostmakedepends="ruby facter-devel hiera which"
makedepends="facter-devel"
depends="ruby facter-devel hiera ruby-semantic_puppet
ruby-concurrent-ruby ruby-rubysl-singleton ruby-deep_merge ruby-sync"
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=accead9c3dcb831c8e57ea157b7b321f11f3ce2eed7f6bfede701079911f1393
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() {
vsv puppet
vsv puppetmaster
}