diff --git a/manifests/plugin/resource_quota.pp b/manifests/plugin/resource_quota.pp new file mode 100644 index 00000000..ede4fbb6 --- /dev/null +++ b/manifests/plugin/resource_quota.pp @@ -0,0 +1,7 @@ +# Installs foreman_resource_quota plugin +class foreman::plugin::resource_quota { + include foreman::plugin::tasks + + foreman::plugin { 'resource_quota': + } +} diff --git a/spec/classes/plugin/resource_quota_spec.rb b/spec/classes/plugin/resource_quota_spec.rb new file mode 100644 index 00000000..31fa5287 --- /dev/null +++ b/spec/classes/plugin/resource_quota_spec.rb @@ -0,0 +1,5 @@ +require 'spec_helper' +describe 'foreman::plugin::resource_quota' do + include_examples 'basic foreman plugin tests', 'resource_quota' + it { should contain_foreman__plugin('tasks') } +end