This file is indexed.

/usr/share/augeas/lenses/dist/tests/test_ceph.aug is in augeas-lenses 1.10.1-2.

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
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
module Test_ceph =

  let ceph_simple = "[global]
### http://ceph.com/docs/master/rados/configuration/general-config-ref/

    fsid                       = b4b2e571-fbbf-4ff3-a9f8-ab80f08b7fe6    # use `uuidgen` to generate your own UUID
    public network             = 192.168.0.0/24
    cluster network            = 192.168.0.0/24
"

  let ceph_extended = "##
# Sample ceph ceph.conf file.
##
# This file defines cluster membership, the various locations
# that Ceph stores data, and any other runtime options.

[global]
    ; Start-line comment
    log file                   = /var/log/ceph/$cluster-$name.log ; End-line comment

   [mon.alpha]
    host                       = alpha
    mon addr                   = 192.168.0.10:6789

  [mon.beta]
    host                       = beta
    mon addr                   = 192.168.0.11:6789

[mon.gamma]
    host                       = gamma
    mon addr                   = 192.168.0.12:6789


[mon]
mon initial members        = mycephhost

mon host                   = cephhost01,cephhost02
    mon addr                   = 192.168.0.101,192.168.0.102

mon osd nearfull ratio     = .85

    # logging, for debugging monitor crashes, in order of
    # their likelihood of being helpful :)
    debug ms                   = 1
    debug mon                  = 20
    debug paxos                = 20
    debug auth                 = 20

[mds]

    osd max backfills            = 5

    #osd mkfs type = {fs-type}
    #osd mkfs options {fs-type}   = {mkfs options}   # default for xfs is \"-f\"
    #osd mount options {fs-type}  = {mount options} # default mount option is \"rw, noatime\"
    osd mkfs type                = btrfs
    osd mount options btrfs      = noatime,nodiratime
    journal dio                  = false

    debug ms                     = 1
    debug osd                    = 20
    debug filestore              = 20
    debug journal                = 20

    filestore merge threshold    = 10

    osd crush update on start    = false

[osd.0]
    host                         = delta

[osd.1]
    host                         = epsilon

[osd.2]
    host                         = zeta

[osd.3]
    host                         = eta

    rgw dns name                 = radosgw.ceph.internal
"

  test Ceph.lns get ceph_simple =
  { "global"
    { "#comment" = "## http://ceph.com/docs/master/rados/configuration/general-config-ref/" }
    { }
    { "fsid" = "b4b2e571-fbbf-4ff3-a9f8-ab80f08b7fe6"
      { "#comment" = "use `uuidgen` to generate your own UUID" }
    }
    { "public network" = "192.168.0.0/24" }
    { "cluster network" = "192.168.0.0/24" }
  }

  test Ceph.lns get ceph_extended =
    { "#comment" = "#" }
    { "#comment" = "Sample ceph ceph.conf file." }
    { "#comment" = "#" }
    { "#comment" = "This file defines cluster membership, the various locations" }
    { "#comment" = "that Ceph stores data, and any other runtime options." }
    {  }
    { "global"
      { "#comment" = "Start-line comment" }
      { "log file" = "/var/log/ceph/$cluster-$name.log"
        { "#comment" = "End-line comment" }
      }
      {  }
    }
    { "mon.alpha"
      { "host" = "alpha" }
      { "mon addr" = "192.168.0.10:6789" }
      {  }
    }
    { "mon.beta"
      { "host" = "beta" }
      { "mon addr" = "192.168.0.11:6789" }
      {  }
    }
    { "mon.gamma"
      { "host" = "gamma" }
      { "mon addr" = "192.168.0.12:6789" }
      {  }
      {  }
    }
    { "mon"
      { "mon initial members" = "mycephhost" }
      {  }
      { "mon host" = "cephhost01,cephhost02" }
      { "mon addr" = "192.168.0.101,192.168.0.102" }
      {  }
      { "mon osd nearfull ratio" = ".85" }
      {  }
      { "#comment" = "logging, for debugging monitor crashes, in order of" }
      { "#comment" = "their likelihood of being helpful :)" }
      { "debug ms" = "1" }
      { "debug mon" = "20" }
      { "debug paxos" = "20" }
      { "debug auth" = "20" }
      {  }
    }
    { "mds"
      {  }
      { "osd max backfills" = "5" }
      {  }
      { "#comment" = "osd mkfs type = {fs-type}" }
      { "#comment" = "osd mkfs options {fs-type}   = {mkfs options}   # default for xfs is \"-f\"" }
      { "#comment" = "osd mount options {fs-type}  = {mount options} # default mount option is \"rw, noatime\"" }
      { "osd mkfs type" = "btrfs" }
      { "osd mount options btrfs" = "noatime,nodiratime" }
      { "journal dio" = "false" }
      {  }
      { "debug ms" = "1" }
      { "debug osd" = "20" }
      { "debug filestore" = "20" }
      { "debug journal" = "20" }
      {  }
      { "filestore merge threshold" = "10" }
      {  }
      { "osd crush update on start" = "false" }
      {  }
    }
    { "osd.0"
      { "host" = "delta" }
      {  }
    }
    { "osd.1"
      { "host" = "epsilon" }
      {  }
    }
    { "osd.2"
      { "host" = "zeta" }
      {  }
    }
    { "osd.3"
      { "host" = "eta" }
      {  }
      { "rgw dns name" = "radosgw.ceph.internal" }
    }