Skip to content

Commit

Permalink
(puppetlabs#5445) Create /var/lib/puppet in OS X Package
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Gary Larizza committed Jan 22, 2012
1 parent c6667c5 commit 72a2fe0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conf/osx/createpackage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}

Expand Down

0 comments on commit 72a2fe0

Please sign in to comment.