X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=3rdparty%2Fmodules%2Fglance%2Fmanifests%2Fpolicy.pp;fp=3rdparty%2Fmodules%2Fglance%2Fmanifests%2Fpolicy.pp;h=0000000000000000000000000000000000000000;hb=6e1426dc77fb4e5d51f07c187c6f2219431dc31e;hp=bf1d8e45d6167e220d327fd6397789f740ab08e2;hpb=87423ba664cd5f2bb462ebadd08b1a90d0fe1c8d;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/glance/manifests/policy.pp b/3rdparty/modules/glance/manifests/policy.pp deleted file mode 100644 index bf1d8e45d..000000000 --- a/3rdparty/modules/glance/manifests/policy.pp +++ /dev/null @@ -1,39 +0,0 @@ -# == Class: glance::policy -# -# Configure the glance policies -# -# === Parameters -# -# [*policies*] -# (optional) Set of policies to configure for glance -# Example : -# { -# 'glance-context_is_admin' => { -# 'key' => 'context_is_admin', -# 'value' => 'true' -# }, -# 'glance-default' => { -# 'key' => 'default', -# 'value' => 'rule:admin_or_owner' -# } -# } -# Defaults to empty hash. -# -# [*policy_path*] -# (optional) Path to the glance policy.json file -# Defaults to /etc/glance/policy.json -# -class glance::policy ( - $policies = {}, - $policy_path = '/etc/glance/policy.json', -) { - - validate_hash($policies) - - Openstacklib::Policy::Base { - file_path => $policy_path, - } - - create_resources('openstacklib::policy::base', $policies) - -}