This file is indexed.

/usr/share/doc/cdist/html/_sources/man7/cdist-type__key_value.txt is in cdist-doc 4.4.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
cdist-type__key_value(7)
========================

NAME
----
cdist-type__key_value - Change property values in files


DESCRIPTION
-----------
This cdist type allows you to change values in a key value based config
file.


REQUIRED PARAMETERS
-------------------
file
   The file to operate on.
delimiter
   The delimiter which separates the key from the value.


OPTIONAL PARAMETERS
-------------------
state
    present or absent, defaults to present. If present, sets the key to value,
    if absent, removes the key from the file.
key
    The key to change. Defaults to object_id.
value
    The value for the key. Optional if state=absent, required otherwise.
comment
    If supplied, the value will be inserted before the line with the key,
    but only if the key or value must be changed.
    You need to ensure yourself that the line is prefixed with the correct
    comment sign. (for example # or ; or wathever ..)


BOOLEAN PARAMETERS
------------------
exact_delimiter
    If supplied, treat additional whitespaces between key, delimiter and value
    as wrong value.


MESSAGES
--------
remove
    Removed existing key and value
insert
    Added key and value
change
    Changed value of existing key
create
    A new line was inserted in a new file


EXAMPLES
--------

.. code-block:: sh

    # Set the maximum system user id
    __key_value SYS_UID_MAX --file /etc/login.defs --value 666 --delimiter ' '

    # Same with fancy id
    __key_value my-fancy-id --file /etc/login.defs --key SYS_UID_MAX --value 666 \
       --delimiter ' '

    # Enable packet forwarding
    __key_value net.ipv4.ip_forward --file /etc/sysctl.conf --value 1 \
       --delimiter ' = ' --comment '# my linux kernel should act as a router'

    # Remove existing key/value
    __key_value LEGACY_KEY --file /etc/somefile --state absent --delimiter '='


MORE INFORMATION
----------------
This type try to handle as many values as possible, so it doesn't use regexes.
So you need to exactly specify the key and delimiter. Delimiter can be of any length.


AUTHORS
-------
Steven Armstrong <steven-cdist--@--armstrong.cc>


COPYING
-------
Copyright \(C) 2011 Steven Armstrong. You can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.