Granule for removing fuel_stats_user added

Change-Id: I377a32e75396269ee8390a33ebfd4c110036ffca
Closes-Bug: #1454556
This commit is contained in:
Alexander Kislitsky 2015-05-14 14:05:51 +03:00
parent 24ba9b2119
commit 99d44d0cdf
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,14 @@
notice('MODULAR: keystone/workloads_collector.pp')
$workloads_hash = hiera('workloads_collector', {})
$workloads_username = $workloads_hash['username']
$workloads_tenant = $workloads_hash['tenant']
keystone_user { $workloads_username:
ensure => absent,
}
keystone_user_role { "$workloads_username@$workloads_tenant":
ensure => absent,
}

View File

@ -0,0 +1,7 @@
require 'spec_helper'
require 'shared-examples'
manifest = 'keystone/remove_workloads_collector.pp'
describe manifest do
test_ubuntu_and_centos manifest
end