[csw-devel] SF.net SVN: gar:[8089] csw/mgar/pkg/puppet/branches/puppet-0.24.x/files/ cswpuppetd

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Jan 19 13:40:48 CET 2010


Revision: 8089
          http://gar.svn.sourceforge.net/gar/?rev=8089&view=rev
Author:   wahwah
Date:     2010-01-19 12:40:47 +0000 (Tue, 19 Jan 2010)

Log Message:
-----------
puppet-0.24.x: A fix for the startup script. The binary is in bindir, not sbindir.

Modified Paths:
--------------
    csw/mgar/pkg/puppet/branches/puppet-0.24.x/files/cswpuppetd

Modified: csw/mgar/pkg/puppet/branches/puppet-0.24.x/files/cswpuppetd
===================================================================
--- csw/mgar/pkg/puppet/branches/puppet-0.24.x/files/cswpuppetd	2010-01-19 11:09:21 UTC (rev 8088)
+++ csw/mgar/pkg/puppet/branches/puppet-0.24.x/files/cswpuppetd	2010-01-19 12:40:47 UTC (rev 8089)
@@ -17,16 +17,17 @@
 . /lib/svc/share/smf_include.sh
 
 prefix="/opt/csw"
-exec_prefix="/opt/csw"
-sysconfdir="/etc/csw/opt"
-sbindir="/opt/csw/sbin"
-localstatedir="/var/opt/csw"
+exec_prefix="${prefix}"
+sysconfdir="/etc${prefix}"
+bindir="${prefix}/bin"
+sbindir="${prefix}/sbin"
+localstatedir="/var${prefix}"
 
 
 start_puppetd() {
   cd /
   # Start daemons.
-  ${sbindir}/puppetd
+  ${bindir}/puppetd
 }
 
 reload_puppetd() {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list