FreeBSD Bugzilla – Attachment 117683 Details for
Bug 159801
[maintainer-update] sysutils/puppet: update to 2.7.3 et al
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.15 KB, created by
Russell Jackson
on 2011-08-15 22:40:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Russell Jackson
Created:
2011-08-15 22:40:04 UTC
Size:
2.15 KB
patch
obsolete
>diff --git puppet/Makefile puppet/Makefile >index 747e4f0..6fadb19 100644 >--- puppet/Makefile >+++ puppet/Makefile >@@ -6,7 +6,7 @@ > # > > PORTNAME= puppet >-DISTVERSION= 2.7.3rc1 >+PORTVERSION= 2.7.3 > CATEGORIES= sysutils > MASTER_SITES= http://downloads.puppetlabs.com/puppet/ > >@@ -87,11 +87,11 @@ do-install: > post-install: > ${INSTALL} -d ${ETCDIR} > ${INSTALL} -m 0644 ${WRKSRC}/conf/auth.conf ${ETCDIR}/auth.conf-dist >- ${RUBY} -I ${RUBY_SITELIBDIR} ${PREFIX}/sbin/puppetmasterd \ >+ ${RUBY} -I ${RUBY_SITELIBDIR} ${PREFIX}/bin/puppet --genconfig \ > --confdir=${ETCDIR} \ >- --rundir=${PUPPET_RUNDIR} \ >- --genconfig | \ >- ${SED} -e 's/genconfig = true/# genconfig = false/' \ >+ --rundir=${PUPPET_RUNDIR} | \ >+ ${SED} -e 's/genconfig = true/# genconfig = false/' | \ >+ ${SED} -e 's/factdest =/# factdest =/' \ > > ${ETCDIR}/puppet.conf-dist > @${ECHO} ${RUBY_SITELIBDIR}/puppet.rb | \ > ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} >diff --git puppet/distinfo puppet/distinfo >index 424ccaf..b052150 100644 >--- puppet/distinfo >+++ puppet/distinfo >@@ -1,2 +1,2 @@ >-SHA256 (puppet-2.7.3rc1.tar.gz) = c1d0a08114f94b727b33d18cec60232ae7b48f107fd23495706e0444c5377036 >-SIZE (puppet-2.7.3rc1.tar.gz) = 1710547 >+SHA256 (puppet-2.7.3.tar.gz) = 39df9b1ffe06c1331f4eba6d21e632acffb7859e4f4b9e2faeddd9b8b685cb09 >+SIZE (puppet-2.7.3.tar.gz) = 1710562 >diff --git puppet/files/puppetmaster.in puppet/files/puppetmaster.in >index e889844..b10308d 100644 >--- puppet/files/puppetmaster.in >+++ puppet/files/puppetmaster.in >@@ -28,19 +28,19 @@ command_args="master ${puppetmaster_flags}" > unset puppetmaster_flags > > pidfile="${puppetmaster_rundir}/master.pid" >+puppet_manifestdir="$($command config print manifestdir)" > > start_precmd="puppetmaster_checkconfig" > restart_precmd="puppetmaster_checkconfig" > puppetmaster_checkconfig() { > echo -n "Performing sanity check of ${name} configuration: " >- ${command} ${command_args} --parseonly >/dev/null 2>&1 >- rv=$? >- if [ $rv != 0 ]; then >- echo "FAILED, ${name} exited with status ${rv}" >- ${command} ${command_args} --parseonly >+ if ! ${command} parser validate "${puppet_manifestdir}/site.pp" >+ then >+ echo "FAILED" > return 1 > else > echo "OK" >+ return 0 > fi > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 159801
: 117683