This file is indexed.

/usr/share/puppet/modules.available/glance/manifests/config.pp is in puppet-module-glance 9.4.0-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
# == Class: glance::config
#
# This class is used to manage arbitrary glance configurations.
#
# === Parameters
#
# [*xxx_config*]
#   (optional) Allow configuration of arbitrary glance configurations.
#   The value is an hash of glance_config resources. Example:
#   { 'DEFAULT/foo' => { value => 'fooValue'},
#     'DEFAULT/bar' => { value => 'barValue'}
#   }
#   In yaml format, Example:
#   glance_config:
#     DEFAULT/foo:
#       value: fooValue
#     DEFAULT/bar:
#       value: barValue
#
# [*api_config*]
#   (optional) Allow configuration of glance-api.conf configurations.
#
# [*api_paste_ini_config*]
#   (optional) Allow configuration of glance-api-paste.ini configurations.
#
# [*registry_config*]
#   (optional) Allow configuration of glance-registry.conf configurations.
#
# [*registry_paste_ini_config*]
#   (optional) Allow configuration of glance-registry-paste.ini configurations.
#
# [*glare_config*]
#   (optional) Allow configuration of glance-glare.conf configurations.
#
# [*glare_paste_ini_config*]
#   (optional) Allow configuration of glance-glare-paste.ini configurations.
#
# [*cache_config*]
#   (optional) Allow configuration of glance-cache.conf configurations.
#
#   NOTE: The configuration MUST NOT be already handled by this module
#   or Puppet catalog compilation will fail with duplicate resources.
#
class glance::config (
  $api_config                 = {},
  $api_paste_ini_config       = {},
  $registry_config            = {},
  $registry_paste_ini_config  = {},
  $glare_config               = {},
  $glare_paste_ini_config     = {},
  $cache_config               = {},
) {

  include ::glance::deps

  validate_hash($api_config)
  validate_hash($api_paste_ini_config)
  validate_hash($registry_config)
  validate_hash($registry_paste_ini_config)
  validate_hash($cache_config)
  validate_hash($glare_config)
  validate_hash($glare_paste_ini_config)

  create_resources('glance_api_config', $api_config)
  create_resources('glance_api_paste_ini', $api_paste_ini_config)
  create_resources('glance_registry_config', $registry_config)
  create_resources('glance_registry_paste_ini', $registry_paste_ini_config)
  create_resources('glance_cache_config', $cache_config)
  create_resources('glance_glare_config', $glare_config)
  create_resources('glance_glare_paste_ini', $glare_paste_ini_config)
}