File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1111 repos => ' main' ,
1212 release => ' kubernetes-xenial' ,
1313 key => {
14- ' id' => ' D0BC747FD8CAF7117500D6FA3746C208A7317B0F ' ,
14+ ' id' => ' 54A647F9048D5688D7DA2ABE6A030B21BA07F4FB ' ,
1515 ' source' => ' https://packages.cloud.google.com/apt/doc/apt-key.gpg' ,
1616 },
1717 }
Original file line number Diff line number Diff line change 1818
1919 let ( :params ) { { 'container_runtime' => 'docker' } }
2020
21- it { should contain_apt__source ( 'kubernetes' ) }
21+ it { should contain_apt__source ( 'kubernetes' ) . with (
22+ :ensure => 'present' ,
23+ :location => 'http://apt.kubernetes.io' ,
24+ :repos => 'main' ,
25+ :release => 'kubernetes-xenial' ,
26+ :key => { 'id' => '54A647F9048D5688D7DA2ABE6A030B21BA07F4FB' , 'source' => 'https://packages.cloud.google.com/apt/doc/apt-key.gpg' }
27+ ) }
28+
2229 it { should contain_apt__source ( 'docker' ) . with (
23- :ensure => 'present' ,
24- :location => 'https://apt.dockerproject.org/repo' ,
25- :repos => 'main' ,
26- :release => 'ubuntu-xenial' ,
27- :key => { 'id' => '58118E89F3A912897C070ADBF76221572C52609D' , 'source' => 'https://apt.dockerproject.org/gpg' }
28- ) }
30+ :ensure => 'present' ,
31+ :location => 'https://apt.dockerproject.org/repo' ,
32+ :repos => 'main' ,
33+ :release => 'ubuntu-xenial' ,
34+ :key => { 'id' => '58118E89F3A912897C070ADBF76221572C52609D' , 'source' => 'https://apt.dockerproject.org/gpg' }
35+ ) }
2936
3037 end
3138
You can’t perform that action at this time.
0 commit comments