| Server IP : 173.209.174.21 / Your IP : 216.73.216.79 Web Server : Apache/2.4.58 (Ubuntu) System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : nodor ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/augeas/lenses/dist/ |
Upload File : |
(* Puppet module for Augeas
Author: Raphael Pinson <raphink@gmail.com>
puppet.conf is a standard INI File.
*)
module Puppet =
autoload xfm
(************************************************************************
* INI File settings
*
* puppet.conf only supports "# as commentary and "=" as separator
*************************************************************************)
let comment = IniFile.comment "#" "#"
let sep = IniFile.sep "=" "="
(************************************************************************
* ENTRY
* puppet.conf uses standard INI File entries
*************************************************************************)
let entry = IniFile.indented_entry IniFile.entry_re sep comment
(************************************************************************
* RECORD
* puppet.conf uses standard INI File records
*************************************************************************)
let title = IniFile.indented_title IniFile.record_re
let record = IniFile.record title entry
(************************************************************************
* LENS & FILTER
* puppet.conf uses standard INI File records
*************************************************************************)
let lns = IniFile.lns record comment
let filter = (incl "/etc/puppet/puppet.conf"
.incl "/usr/local/etc/puppet/puppet.conf"
.incl "/etc/puppetlabs/puppet/puppet.conf")
let xfm = transform lns filter