Skip to content

Commit

Permalink
ncm-sysconfig: Switch nlists to dicts in pod
Browse files Browse the repository at this point in the history
  • Loading branch information
jrha committed Jun 13, 2018
1 parent 5bc4793 commit ae9f169
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ncm-sysconfig/src/main/perl/sysconfig.pod
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ before or after the key-value pair definitions.

=item * C<< /software/components/sysconfig/files >>

This is an nlist which has the file name (unescaped) as the key, and
the content information as the value. The value is an nlist.
This is an dict which has the file name (unescaped) as the key, and
the content information as the value. The value is an dict.

=item * C<< /software/components/sysconfig/files/<fname>/ >>

This is a nlist containing key-value pairs. Both are strings.
This is a dict containing key-value pairs. Both are strings.
There are two special keys C<< prologue >> and C<< epilogue >> which contain
text which will be copied verbatim into the file before or after
the pair definitions, respectively.
Expand All @@ -35,7 +35,7 @@ the pair definitions, respectively.
=head1 EXAMPLE

"/software/components/sysconfig/files/scfg" =
nlist("epilogue", "export LANG=C",
dict("epilogue", "export LANG=C",
"KEY", "VALUE");

This will create the file C<< /etc/sysconfig/scfg >> which contains:
Expand Down

0 comments on commit ae9f169

Please sign in to comment.