Skip to content

Instantly share code, notes, and snippets.

@zachfi
Created July 1, 2017 17:07
Show Gist options
  • Select an option

  • Save zachfi/e627f7baec5be8567cc9d1620ee5cb2f to your computer and use it in GitHub Desktop.

Select an option

Save zachfi/e627f7baec5be8567cc9d1620ee5cb2f to your computer and use it in GitHub Desktop.
Index: Makefile
===================================================================
--- Makefile (revision 444810)
+++ Makefile (working copy)
@@ -2,6 +2,7 @@
PORTNAME= puppetserver
PORTVERSION= 2.7.2
+PORTREVISION= 1
CATEGORIES= sysutils java
MASTER_SITES= http://downloads.puppetlabs.com/puppet/
Index: files/patch-ext__bin__puppetserver
===================================================================
--- files/patch-ext__bin__puppetserver (revision 444810)
+++ files/patch-ext__bin__puppetserver (working copy)
@@ -1,12 +1,12 @@
---- ext/bin/puppetserver.orig 2016-10-09 11:15:40.432509250 -0700
-+++ ext/bin/puppetserver 2016-10-09 11:17:08.987503108 -0700
+--- ext/bin/puppetserver.orig 2017-04-21 14:33:47.561092351 -0700
++++ ext/bin/puppetserver 2017-04-21 14:36:27.512159166 -0700
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/local/bin/bash
- set -a
- if [ -r "/etc/default/puppetserver" ] ; then
-@@ -11,6 +11,12 @@
+ #set default privileges to -rw-r-----
+ umask 027
+@@ -14,6 +14,12 @@
USER="_puppet"
INSTALL_DIR="/opt/puppetlabs/server/apps/puppetserver"
CONFIG="/etc/puppetlabs/puppetserver/conf.d"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment