2014-11-25 18:17:59 +01:00
|
|
|
# Template file for 'pupper'
|
|
|
|
pkgname=puppet
|
2015-09-15 19:37:08 +02:00
|
|
|
version=4.2.2
|
|
|
|
revision=1
|
2014-11-25 18:17:59 +01:00
|
|
|
noarch=yes
|
|
|
|
build_style=ruby-module
|
|
|
|
hostmakedepends="ruby facter hiera"
|
2015-07-29 10:08:12 +02:00
|
|
|
makedepends="facter-devel"
|
|
|
|
depends="ruby>=2.2<2.3 facter hiera"
|
2014-11-25 18:17:59 +01:00
|
|
|
short_desc="Server automation framework and application"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-11-25 18:17:59 +01:00
|
|
|
license="Apache-2.0"
|
|
|
|
homepage="http://puppetlabs.com/facter"
|
|
|
|
distfiles="http://downloads.puppetlabs.com/$pkgname/$pkgname-$version.tar.gz"
|
2015-09-15 19:37:08 +02:00
|
|
|
checksum=2d34cda2c65c885ba16e6644edd7733d55e6a0e1011a1f0f7fe80b411affc348
|
2014-11-25 18:17:59 +01:00
|
|
|
|
|
|
|
system_accounts="puppet"
|
|
|
|
puppet_homedir="/var/lib/puppet"
|
|
|
|
conf_files="
|
2015-07-29 10:08:12 +02:00
|
|
|
/etc/puppetlabs/puppet/puppet.conf
|
|
|
|
/etc/puppetlabs/puppet/auth.conf"
|
2014-11-25 18:17:59 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|