This file is indexed.

/usr/share/puppet/modules.available/ironic/manifests/policy.pp is in puppet-module-ironic 7.0.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
# == Class: ironic::policy
#
# Configure the ironic policies
#
# === Parameters
#
# [*policies*]
#   (optional) Set of policies to configure for ironic
#   Example : { 'ironic-context_is_admin' => {'context_is_admin' => 'true'}, 'ironic-default' => {'default' => 'rule:admin_or_owner'} }
#   Defaults to empty hash.
#
# [*policy_path*]
#   (optional) Path to the ironic policy.json file
#   Defaults to /etc/ironic/policy.json
#
class ironic::policy (
  $policies    = {},
  $policy_path = '/etc/ironic/policy.json',
) {

  validate_hash($policies)

  Openstacklib::Policy::Base {
    file_path => $policy_path,
  }

  create_resources('openstacklib::policy::base', $policies)

}