Bug 116575

Summary: [patch] sysutils/puppet: fix configuration directory
Product: Ports & Packages Reporter: Vitalie Lazu <vitalie.lazu>
Component: Individual Port(s)Assignee: Alejandro Pulver <alepulver>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Vitalie Lazu 2007-09-23 08:40:01 UTC
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

Fix: Apply patch:



-- 
Best regards,
Vitalie--wpPlNaGxYb1V63oO4dFisK6YplO6h5upRaP7vi0J799vcjfJ
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

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
+
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2007-09-23 15:30:15 UTC
State Changed
From-To: open->closed

Misfiled followup to ports/116007; Content-Type fixed and content migrated. 


Comment 2 Mark Linimon freebsd_committer freebsd_triage 2007-09-23 15:30:15 UTC
Responsible Changed
From-To: gnats-admin->freebsd-ports-bugs
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2007-09-23 15:34:50 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alepulver

Assign to assignee of ports/116007.