Skip to content

Commit d2fd6bb

Browse files
committed
remove uneeded param for apt resource
1 parent 56d1f4c commit d2fd6bb

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

manifests/repo/apt.pp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
"glusterfs-${version}" => {
8181
ensure => present,
8282
location => $repo_url,
83-
release => $::lsbdistcodename,
8483
repos => 'main',
8584
key => {
8685
id => $repo_key_name,

spec/classes/repo_apt_spec.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
it 'installs' do
1919
is_expected.to contain_apt__source('glusterfs-LATEST').with(
2020
repos: 'main',
21-
release: facts[:lsbdistcodename].to_s,
2221
location: "https://download.gluster.org/pub/gluster/glusterfs/3.12/LATEST/Debian/#{facts[:lsbdistcodename]}/#{facts[:architecture]}/apt/"
2322
)
2423
end
@@ -46,7 +45,6 @@
4645
it 'installs' do
4746
is_expected.to contain_apt__source('glusterfs-LATEST').with(
4847
repos: 'main',
49-
release: facts[:lsbdistcodename].to_s,
5048
location: "https://download.gluster.org/pub/gluster/glusterfs/3.12/LATEST/Debian/#{facts[:lsbdistcodename]}/#{facts[:architecture]}/apt/",
5149
pin: '700'
5250
)
@@ -63,7 +61,6 @@
6361
it 'installs' do
6462
is_expected.to contain_apt__source('glusterfs-LATEST').with(
6563
repos: 'main',
66-
release: facts[:lsbdistcodename].to_s,
6764
key: {
6865
'id' => 'EED3351AFD72E5437C050F0388F6CDEE78FA6D97',
6966
'key_source' => 'https://download.gluster.org/pub/gluster/glusterfs/4.1/rsa.pub'
@@ -83,7 +80,6 @@
8380
it 'installs' do
8481
is_expected.to contain_apt__source('glusterfs-LATEST').with(
8582
repos: 'main',
86-
release: facts[:lsbdistcodename].to_s,
8783
key: {
8884
'id' => '8B7C364430B66F0B084C0B0C55339A4C6A7BD8D4',
8985
'key_source' => 'https://download.gluster.org/pub/gluster/glusterfs/3.12/rsa.pub'

0 commit comments

Comments
 (0)