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