tag postgresql-jdbc package to fix package repo dependency
This commit is contained in:
parent
702998d8fd
commit
25b11a2e6b
2 changed files with 7 additions and 3 deletions
|
@ -10,6 +10,7 @@ class postgresql::lib::java (
|
||||||
package { 'postgresql-jdbc':
|
package { 'postgresql-jdbc':
|
||||||
ensure => $package_ensure,
|
ensure => $package_ensure,
|
||||||
name => $package_name,
|
name => $package_name,
|
||||||
|
tag => 'postgresql',
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,8 @@ describe 'postgresql::lib::java', :type => :class do
|
||||||
end
|
end
|
||||||
it { should contain_package('postgresql-jdbc').with(
|
it { should contain_package('postgresql-jdbc').with(
|
||||||
:name => 'libpostgresql-jdbc-java',
|
:name => 'libpostgresql-jdbc-java',
|
||||||
:ensure => 'present'
|
:ensure => 'present',
|
||||||
|
:tag => 'postgresql',
|
||||||
)}
|
)}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -24,7 +25,8 @@ describe 'postgresql::lib::java', :type => :class do
|
||||||
end
|
end
|
||||||
it { should contain_package('postgresql-jdbc').with(
|
it { should contain_package('postgresql-jdbc').with(
|
||||||
:name => 'postgresql-jdbc',
|
:name => 'postgresql-jdbc',
|
||||||
:ensure => 'present'
|
:ensure => 'present',
|
||||||
|
:tag => 'postgresql',
|
||||||
)}
|
)}
|
||||||
describe 'when parameters are supplied' do
|
describe 'when parameters are supplied' do
|
||||||
let :params do
|
let :params do
|
||||||
|
@ -32,7 +34,8 @@ describe 'postgresql::lib::java', :type => :class do
|
||||||
end
|
end
|
||||||
it { should contain_package('postgresql-jdbc').with(
|
it { should contain_package('postgresql-jdbc').with(
|
||||||
:name => 'somepackage',
|
:name => 'somepackage',
|
||||||
:ensure => 'latest'
|
:ensure => 'latest',
|
||||||
|
:tag => 'postgresql',
|
||||||
)}
|
)}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue