32 lines
1 KiB
Bash
32 lines
1 KiB
Bash
# Template file for 'pupper'
|
|
pkgname=puppet
|
|
version=4.2.1
|
|
revision=2
|
|
noarch=yes
|
|
build_style=ruby-module
|
|
hostmakedepends="ruby facter hiera"
|
|
makedepends="facter-devel"
|
|
depends="ruby>=2.2<2.3 facter hiera"
|
|
short_desc="Server automation framework and application"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="Apache-2.0"
|
|
homepage="http://puppetlabs.com/facter"
|
|
distfiles="http://downloads.puppetlabs.com/$pkgname/$pkgname-$version.tar.gz"
|
|
checksum=519842dfa03ff78c94e77fb28867aef12933691b9e2ce41788f80c5c2865fe7e
|
|
|
|
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
|
|
# vim and emacs
|
|
vinstall ext/vim/ftdetect/$pkgname.vim 644 usr/share/vim/vimfiles/ftdetect
|
|
vinstall ext/vim/syntax/$pkgname.vim 644 usr/share/vim/vimfiles/syntax
|
|
vinstall ext/emacs/$pkgname-mode.el 644 usr/share/emacs/site-lisp
|
|
vinstall ext/emacs/$pkgname-mode-init.el 644 usr/share/emacs/site-lisp/site-start.d
|
|
}
|