File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 147
147
$socket_group = $socket_group_default
148
148
$use_upstream_package_source = true
149
149
$pin_upstream_package_source = true
150
- $apt_source_pin_level = 10
150
+ $apt_source_pin_level = 500
151
151
$repo_opt = undef
152
152
$service_config = undef
153
153
$storage_setup_file = undef
Original file line number Diff line number Diff line change 53
53
it { should contain_class ( 'apt' ) }
54
54
it { should contain_package ( 'docker' ) . with_name ( 'docker-ce' ) . with_ensure ( 'present' ) }
55
55
it { should contain_apt__source ( 'docker' ) . with_location ( 'https://download.docker.com/linux/ubuntu' ) }
56
- it { should contain_apt__pin ( 'docker' ) . with_origin ( 'download.docker.com' ) }
56
+ it { should contain_apt__pin ( 'docker' )
57
+ . with_ensure ( 'present' )
58
+ . with_origin ( 'download.docker.com' )
59
+ . with_priority ( 500 )
60
+ }
57
61
it { should contain_package ( 'docker' ) . with_install_options ( nil ) }
58
62
59
63
it { should contain_file ( '/etc/default/docker' ) . without_content ( /icc=/ ) }
64
68
it { should contain_class ( 'apt' ) }
65
69
it { should contain_package ( 'docker' ) . with_name ( 'docker-ce' ) . with_ensure ( 'present' ) }
66
70
it { should contain_apt__source ( 'docker' ) . with_location ( 'https://download.docker.com/linux/debian' ) }
67
- it { should contain_apt__pin ( 'docker' ) . with_origin ( 'download.docker.com' ) }
71
+ it { should contain_apt__pin ( 'docker' )
72
+ . with_ensure ( 'present' )
73
+ . with_origin ( 'download.docker.com' )
74
+ . with_priority ( 500 )
75
+ }
68
76
it { should contain_package ( 'docker' ) . with_install_options ( nil ) }
69
77
70
78
it { should contain_file ( '/etc/default/docker' ) . without_content ( /icc=/ ) }
You can’t perform that action at this time.
0 commit comments