aboutsummaryrefslogtreecommitdiff
path: root/app/admin/puppet/puppet.mkbuild
diff options
context:
space:
mode:
authorrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2009-06-29 00:51:22 +0000
committerrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2009-06-29 00:51:22 +0000
commit0e4c3b1a44c3b50cb801acd2d3e880f3b4207bed (patch)
treef69132a5d62479f124d3e8166b56ad0f2da34ccf /app/admin/puppet/puppet.mkbuild
parent4a06799f874eab61888cd138a5934a602a407c3b (diff)
downloadmkbuilds-0e4c3b1a44c3b50cb801acd2d3e880f3b4207bed.tar.gz
mkbuilds-0e4c3b1a44c3b50cb801acd2d3e880f3b4207bed.tar.bz2
puppet: adding initscript ; openrc: addin openrc
git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@491 18ef50b8-d735-4ccd-97c1-689132df3dd9
Diffstat (limited to 'app/admin/puppet/puppet.mkbuild')
-rw-r--r--app/admin/puppet/puppet.mkbuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/app/admin/puppet/puppet.mkbuild b/app/admin/puppet/puppet.mkbuild
index 4e92657..4dd6d10 100644
--- a/app/admin/puppet/puppet.mkbuild
+++ b/app/admin/puppet/puppet.mkbuild
@@ -56,7 +56,7 @@
#
# Build number.
# Auto-set to default 1
-[[BUILD NUMBER]]=""
+[[BUILD NUMBER]]="2"
#
# Source Name construction string
@@ -73,7 +73,7 @@
# Dependency list input
# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
# Example:
-[[SLACK REQUIRED]]="facter"
+[[SLACK REQUIRED]]="facter: openrc"
#
# Decompress program
@@ -114,7 +114,7 @@
#[[SIGNING URL]]=""
#[[CONFIG FILES]]=""
#[[PATCH URLS]]=""
-#[[REST OF DOINST.SH]]=""
+[[REST OF DOINST.SH]]="config etc/rc.d/rc.puppet.new ; config etc/rc.d/rc.puppetmaster.new; mkgroup puppet; mkuser puppet; chown puppet.puppet /var/run/puppet"
[[PATCH FILES]]=""
[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
@@ -156,12 +156,12 @@ off: install_package
on: strip_binaries
off: compress_manpages
off: compress_info_files
-off: copy_init_scripts
+ on: copy_init_scripts
off: copy_config_files
on: install_documentation
on: slackdesc
off: move_config_files
-off: postinstall_script
+ on: postinstall_script
off: slack_required
on: build_package
on: clean_builds
@@ -187,4 +187,5 @@ puppet:
#>make_package
# Build and install package
ruby install.rb --destdir=$PKG || exit $ERROR_INSTALL
+mkdir -p /var/run/puppet /etc/puppet
#<make_package