[csw-devel] SF.net SVN: gar:[6936] csw/mgar/pkg/puppet/trunk/Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Oct 21 16:46:42 CEST 2009


Revision: 6936
          http://gar.svn.sourceforge.net/gar/?rev=6936&view=rev
Author:   wahwah
Date:     2009-10-21 14:46:42 +0000 (Wed, 21 Oct 2009)

Log Message:
-----------
puppet: Enabling cswusergroup support

Modified Paths:
--------------
    csw/mgar/pkg/puppet/trunk/Makefile

Modified: csw/mgar/pkg/puppet/trunk/Makefile
===================================================================
--- csw/mgar/pkg/puppet/trunk/Makefile	2009-10-21 10:43:59 UTC (rev 6935)
+++ csw/mgar/pkg/puppet/trunk/Makefile	2009-10-21 14:46:42 UTC (rev 6936)
@@ -28,7 +28,7 @@
 
 INITSMF  = $(sysconfdir)/init\.d/cswpuppetd
 INITSMF += $(sysconfdir)/init\.d/cswpuppetmasterd
-USERGROUP = $(sysconfdir)/pkg/CSWpuppet/cswusergroup
+USERGROUP = $(sysconfdir)/pkg/puppet/cswusergroup
 
 # Creating a separate package CSWpuppetmaster so that the cswpuppetmaster
 # service isn't started upon the installation of CSWpuppet.
@@ -57,9 +57,9 @@
 include gar/category.mk
 
 install-puppet:
-	ginstall -d $(DESTDIR)
-	ginstall -d $(DESTDIR)$(sysconfdir)/puppet
-	ginstall -d $(DESTDIR)$(localstatedir)/puppet/run
+	ginstall -m 755 -d $(DESTDIR)
+	ginstall -m 755 -d $(DESTDIR)$(sysconfdir)/puppet
+	ginstall -m 755 -d $(DESTDIR)$(localstatedir)/puppet/run
 	ginstall -m 755 -d $(DESTDIR)$(sysconfdir)/init.d
 	ginstall -m 755 $(FILEDIR)/cswpuppetd $(DESTDIR)$(sysconfdir)/init.d
 	ginstall -m 755 $(FILEDIR)/cswpuppetmasterd $(DESTDIR)$(sysconfdir)/init.d
@@ -76,4 +76,7 @@
 	        chmod 644 $(DESTDIR)$(sysconfdir)/puppet/$$f.example; \
 	    fi \
 	done)
+	ginstall -d -m 755 $(DESTDIR)$(sysconfdir)/pkg/puppet
+	ginstall -m 644 $(FILEDIR)/cswusergroup \
+		$(DESTDIR)$(sysconfdir)/pkg/puppet/cswusergroup
 	@$(MAKECOOKIE)


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