From vitalie.lazu@gmail.com  Sun Sep 23 07:37:01 2007
Return-Path: <vitalie.lazu@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 19DED16A418
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 Sep 2007 07:37:01 +0000 (UTC)
	(envelope-from vitalie.lazu@gmail.com)
Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189])
	by mx1.freebsd.org (Postfix) with ESMTP id A341613C44B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 Sep 2007 07:37:00 +0000 (UTC)
	(envelope-from vitalie.lazu@gmail.com)
Received: by mu-out-0910.google.com with SMTP id w9so1553222mue
        for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 Sep 2007 00:36:37 -0700 (PDT)
Received: by 10.78.130.6 with SMTP id c6mr1291961hud.1190531310831;
        Sun, 23 Sep 2007 00:08:30 -0700 (PDT)
Received: from arx74-3.araxinfo.com ( [87.255.74.3])
        by mx.google.com with ESMTPS id 35sm1825417huc.2007.09.23.00.08.29
        (version=SSLv3 cipher=OTHER);
        Sun, 23 Sep 2007 00:08:29 -0700 (PDT)
Message-Id: <200709231008.09137.vitalie.lazu@gmail.com>
Date: Sun, 23 Sep 2007 10:08:09 +0300
From: Vitalie Lazu <vitalie.lazu@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: =?iso-8859-1?q?=5Bpatch=5D sysutils/puppet=3A_fix_configuration?=
 =?iso-8859-1?q?_directory?=

>Number:         116575
>Category:       ports
>Synopsis:       [patch] sysutils/puppet: fix configuration directory
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    alepulver
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 23 07:40:01 GMT 2007
>Closed-Date:    Sun Sep 23 14:33:25 GMT 2007
>Last-Modified:  Sun Sep 23 14:35:12 GMT 2007
>Originator:     Vitalie Lazu
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
  Assembla LLC
>Environment:
System: FreeBSD xxxx.assembla.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386


sysutils/puppet
 0.22.4

>Description:
puppet by default search for configuration files in /etc/puppet,
this patch set default conf dir to /usr/local/etc/puppet

Without below patch users have to create shell aliases to indicate
conf directory with --confdir argument


>How-To-Repeat:

>Fix:
    Apply patch:

diff -ruN puppet.orig/files/patch-fix_conf_dir puppet/files/patch-fix_conf_dir
--- puppet.orig/files/patch-fix_conf_dir        Thu Jan  1 00:00:00 1970
+++ puppet/files/patch-fix_conf_dir     Sat Sep 22 19:34:06 2007
@@ -0,0 +1,11 @@
+--- lib/puppet/configuration.rb.orig   Sat Sep 22 19:32:48 2007
++++ lib/puppet/configuration.rb        Sat Sep 22 19:32:30 2007
+@@ -10,7 +10,7 @@
+         var = File.expand_path("~/.puppet/var")
+     else
+         # Else, use system-wide directories.
+-        conf = "/etc/puppet"
++        conf = "/usr/local/etc/puppet"
+         var = "/var/puppet"
+     end
+

-- 
Best regards,
Vitalie
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Sep 23 14:30:15 UTC 2007 
State-Changed-Why:  
Misfiled followup to ports/116007; Content-Type fixed and content migrated. 


Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Sep 23 14:30:15 UTC 2007 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=116575 
Responsible-Changed-From-To: freebsd-ports-bugs->alepulver 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Sep 23 14:34:50 UTC 2007 
Responsible-Changed-Why:  
Assign to assignee of ports/116007. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116575 
>Unformatted:
