This file is indexed.

/usr/share/doc/cdist/html/_sources/man7/cdist-type__line.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
cdist-type__line(7)
===================

NAME
----
cdist-type__line - Manage lines in files


DESCRIPTION
-----------
This cdist type allows you to add lines and remove lines from files.


REQUIRED PARAMETERS
-------------------

OPTIONAL PARAMETERS
-------------------
state
    'present' or 'absent', defaults to 'present'

line
    Specifies the line which should be absent or present

    Must be present, if state is present.
    Must not be combined with regex, if state is absent.

regex
    If state is present, search for this pattern and add
    given line, if the given regular expression does not match.

    In case of absent, ensure all lines matching the
    regular expression are absent.

    The regular expression is interpreted by grep.

    Must not be combined with line, if state is absent.

file
    If supplied, use this as the destination file.
    Otherwise the object_id is used.


EXAMPLES
--------

.. code-block:: sh

    # Manage the DAEMONS line in rc.conf
    __line daemons --file /etc/rc.conf --line 'DAEMONS=(hwclock !network sshd crond postfix)'

    # Ensure the home mount is present in /etc/fstab - explicitly make it present
    __line home-fstab \
        --file /etc/fstab \
        --line 'filer.fs:/vol/home /home  nfs    defaults        0 0' \
        --state present

    # Removes the line specifiend in "include_www" from the file "lighttpd.conf"
    __line legacy_timezone --file /etc/rc.conf --regex 'TIMEZONE=.*' --state absent


SEE ALSO
--------
:strong:`grep`\ (1)


AUTHORS
-------
Nico Schottelius <nico-cdist--@--schottelius.org>


COPYING
-------
Copyright \(C) 2012-2013 Nico Schottelius. 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.