New package: puppet-3.7.3 (close #630).
This commit is contained in:
parent
1a8e06db6b
commit
c38216630e
2
srcpkgs/puppet/files/puppet/run
Normal file
2
srcpkgs/puppet/files/puppet/run
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec puppet agent --no-daemonize
|
5
srcpkgs/puppet/files/puppetmaster/run
Normal file
5
srcpkgs/puppet/files/puppetmaster/run
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
mkdir -p /run/puppet /var/lib/puppet
|
||||
chown -R puppet:puppet /var/lib/puppet
|
||||
exec puppet master --no-daemonize
|
39
srcpkgs/puppet/template
Normal file
39
srcpkgs/puppet/template
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Template file for 'pupper'
|
||||
pkgname=puppet
|
||||
version=3.7.3
|
||||
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"
|
||||
checksum=4a3bd7ddb51072c3dd898a8de158cde204a2d8fd0b84e8ac806b84c074348637
|
||||
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user