Skip to content

Instantly share code, notes, and snippets.

@jasperla
Created May 8, 2015 11:51
Show Gist options
  • Select an option

  • Save jasperla/16b4d32c70c8a3845ed3 to your computer and use it in GitHub Desktop.

Select an option

Save jasperla/16b4d32c70c8a3845ed3 to your computer and use it in GitHub Desktop.
diff --git a/overrides/sysutils/puppet/Makefile b/overrides/sysutils/puppet/Makefile
index e7b2293..8a58925 100644
--- a/overrides/sysutils/puppet/Makefile
+++ b/overrides/sysutils/puppet/Makefile
@@ -96,6 +96,7 @@ pre-build:
--confdir=${PKG_SYSCONFDIR:Q} --rundir=${VARBASE:Q}/run \
--genconfig | \
${SED} -e 's/genconfig = true/# genconfig = false/' \
+ ${SED} -e 's,/var/lib,${VARBASE:Q}/lib,g' \
> examples/puppet.conf
post-install:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment