Please review pull request #384: (#5445) Create /var/lib/puppet in OS X Package opened by (glarizza)

Description:

Previously, the $vardir (/var/lib/puppet) didn't exist on OS X, and our
package creation script didn't create it. This commit adds that
directory to the package BOM so that it's ensured as created.

  • Opened: Sun Jan 22 02:28:27 UTC 2012
  • Based on: puppetlabs:2.7.x (0a4d48fd26bf0aadb533a53fcff9d55ae9883f5f)
  • Requested merge: glarizza:bug/2.7.x/5445_create_varlib (72a2fe0f4e849787d7d9ed5b6353a9c0312f8ae8)

Diff follows:

diff --git a/conf/osx/createpackage.sh b/conf/osx/createpackage.sh
index 563b69c..0c153f2 100755
--- a/conf/osx/createpackage.sh
+++ b/conf/osx/createpackage.sh
@@ -51,6 +51,7 @@ function find_puppet_root() {
 function install_puppet() {
   echo "Installing Puppet to ${pkgroot}"
   "${installer}" --destdir="${pkgroot}" --bindir="${BINDIR}" --sbindir="${SBINDIR}" --sitelibdir="${SITELIBDIR}"
+  mkdir -p ${pkgroot}/var/lib/puppet
   chown -R root:admin "${pkgroot}"
 }
 

    

--
You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to