fuel-library/deployment/puppet/mongodb/spec/classes/client_install_spec.rb
Bogdan Dobrelya 3aff1017bc Add puppetlabs-mongodb
This is a verbatim copy of upstream
https://github.com/puppetlabs/puppetlabs-mongodb
v0.7.0 c5e672581664c326b9f0dc4071d9d79c764e40cc

Partial (Stage 2) blueprint: ceilometer-fuel-integraition

Change-Id: Icbd908ff855cd5320c961ec198ccc536baf204e5
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2014-04-14 12:28:01 +03:00

14 lines
393 B
Ruby

require 'spec_helper'
describe 'mongodb::client::install', :type => :class do
describe 'it should create package' do
let(:pre_condition) { ["class mongodb::client { $ensure = true $package_name = 'mongodb' }", "include mongodb::client"]}
it {
should contain_package('mongodb_client').with({
:ensure => 'present',
:name => 'mongodb',
})
}
end
end