[augeas-devel] [Augeas] #279: Puppet lenses don't work on FreeBSD
Augeas
trac at fedorahosted.org
Sun May 6 15:26:47 UTC 2012
#279: Puppet lenses don't work on FreeBSD
--------------------+---------------------
Reporter: tdb | Owner: lutter
Type: defect | Status: new
Priority: major | Milestone: next
Component: Augeas | Version: 0.10.0
Keywords: | Blocked By:
Blocking: |
--------------------+---------------------
The Puppet lenses don't work on FreeBSD because the Puppet configuration
files are located in {{{/usr/local/etc/puppet}}} rather than
{{{/etc/puppet}}}.
I propose the following change to fix this:
{{{
--- ./lenses/puppet.aug.orig 2012-05-06 13:14:13.000000000 +0100
+++ ./lenses/puppet.aug 2012-05-06 13:14:45.000000000 +0100
@@ -38,6 +38,7 @@
*************************************************************************)
let lns = IniFile.lns record comment
-let filter = (incl "/etc/puppet/puppet.conf")
+let filter = (incl "/etc/puppet/puppet.conf"
+ .incl "/usr/local/etc/puppet/puppet.conf")
let xfm = transform lns filter
--- ./lenses/puppetfileserver.aug.orig 2012-05-06 13:14:17.000000000
+0100
+++ ./lenses/puppetfileserver.aug 2012-05-06 13:15:08.000000000
+0100
@@ -105,6 +105,7 @@
let lns = IniFile.lns record comment
(* Variable: filter *)
-let filter = (incl "/etc/puppet/fileserver.conf")
+let filter = (incl "/etc/puppet/fileserver.conf"
+ .incl "/usr/local/etc/puppet/fileserver.conf")
let xfm = transform lns filter
}}}
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/279>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list