Project

General

Profile

« Previous | Next » 

Revision ddfbc398

Added by William Clark about 3 years ago

Refs #32037: Add ensure on qpid::tools class to allow removal of package

View differences:

spec/classes/qpid_tools_spec.rb
facts
end
it { is_expected.to contain_package('qpid-tools').with_ensure('installed') }
context 'without parameters' do
it { is_expected.to contain_package('qpid-tools').with_ensure('present') }
end
context 'with ensure absent' do
let(:params) do
{
ensure: 'absent'
}
end
it { is_expected.to contain_package('qpid-tools').with_ensure('purged') }
end
end
end
end

Also available in: Unified diff