2014-11-25 18:17:59 +01:00
|
|
|
# Template file for 'pupper'
|
|
|
|
pkgname=puppet
|
2015-01-29 18:40:06 +01:00
|
|
|
version=3.7.4
|
2014-11-25 18:17:59 +01:00
|
|
|
revision=1
|
|
|
|
noarch=yes
|
|
|
|
build_style=ruby-module
|
|
|
|
hostmakedepends="ruby facter hiera"
|
|
|
|
depends="${hostmakedepends}"
|
|
|
|
short_desc="Server automation framework and application"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="Apache-2.0"
|
|
|
|
homepage="http://puppetlabs.com/facter"
|
|
|
|
distfiles="http://downloads.puppetlabs.com/$pkgname/$pkgname-$version.tar.gz"
|
2015-01-29 18:40:06 +01:00
|
|
|
checksum=957c09ab253f76e624809766999da6d872f79b3a64b54b8c66bdd8907c291745
|
2014-11-25 18:17:59 +01:00
|
|
|
|
|
|
|
system_accounts="puppet"
|
|
|
|
puppet_homedir="/var/lib/puppet"
|
|
|
|
conf_files="
|
|
|
|
/etc/puppet/auth.conf
|
|
|
|
/etc/puppet/fileserver.conf
|
|
|
|
/etc/puppet/puppet.conf
|
|
|
|
/etc/puppet/tagmail.conf"
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
# config files
|
|
|
|
vinstall ext/redhat/puppet.conf 644 etc/puppet
|
|
|
|
vinstall ext/redhat/logrotate 644 etc/logrotate.d puppet
|
|
|
|
vinstall conf/fileserver.conf 644 etc/puppet
|
|
|
|
vinstall conf/tagmail.conf 644 etc/puppet
|
|
|
|
# runit services
|
|
|
|
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
|
|
|
|
}
|