[Pkg-puppet-devel] Proposed Puppet installation changes
Chris Giles
chris.g.27 at gmail.com
Tue Mar 17 06:10:46 UTC 2009
The Facter v1.5.2 and Puppet v0.24.7 installation defaults work well on Arch
Linux, so I vote that they're not changed.
Below is the AUR building script that I'm currently using for Puppet. Let
me know if there's a better way.
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# Variables
export DESTDIR=${pkgdir}
# Build
ruby ./install.rb || return 1
# Directories
install -d ${pkgdir}/etc/{${pkgname},rc.d}
install -d ${pkgdir}/etc/${pkgname}/{ssl,manifests}
install -d ${pkgdir}/etc/${pkgname}/ssl/{ca,certs,private}
install -d ${pkgdir}/etc/${pkgname}/ssl/{private_keys,public_keys}
install -d ${pkgdir}/var/run/${pkgname}
install -d ${pkgdir}/var/lib/${pkgname}/{templates,lib,facts}
install -d ${pkgdir}/var/lib/${pkgname}/{rrd,reports,clientbucket}
install -d ${pkgdir}/var/lib/${pkgname}/{yaml,client_yaml,bucket}
install -d ${pkgdir}/var/lib/${pkgname}/{plugins,state}
install -d ${pkgdir}/var/lib/${pkgname}/state/{graphs,localconfig}
install -d ${pkgdir}/var/log/${pkgname}
cd ${startdir}
# Configuration
install -D extra/${pkgname}.conf
${pkgdir}/etc/${pkgname}/${pkgname}.conf
install -D extra/fileserver.conf
${pkgdir}/etc/${pkgname}/fileserver.conf
install -D extra/${pkgname}master.conf
${pkgdir}/etc/${pkgname}/${pkgname}master.conf
# Daemons
install -D extra/${pkgname} ${pkgdir}/etc/rc.d/${pkgname}
install -D extra/${pkgname}master ${pkgdir}/etc/rc.d/${pkgname}master
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20090317/8c20f4d2/attachment.htm
More information about the Pkg-puppet-devel
mailing list