void-packages/srcpkgs/puppet/template

29 lines
870 B
Bash

# Template file for 'puppet'
pkgname=puppet
version=6.16.0
revision=1
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=38587a835311620b08e78d8e181ce348d8ff74efc3dda67a7e0d29358b0cf761
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
}