File tree 3 files changed +22
-8
lines changed
3 files changed +22
-8
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ This module manages NGINX configuration.
17
17
18
18
* Puppet 4.6.1 or later. Puppet 3 was supported up until release 0.6.0.
19
19
* apt is now a soft dependency. If your system uses apt, you'll need to
20
- configure an appropriate version of the apt module. Version 4.4 .0 or higher is
21
- recommended because of the proper handling of ` apt-transport-https ` .
20
+ configure an appropriate version of the apt module. Version 9.2 .0 or higher is
21
+ recommended because of supporting "modern keyrings" .
22
22
23
23
### Additional Documentation
24
24
Original file line number Diff line number Diff line change 31
31
apt::source { 'nginx' :
32
32
location => $stable_repo_source ,
33
33
repos => ' nginx' ,
34
- key => { ' id' => ' 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62' },
34
+ key => {
35
+ ' name' => ' nginx.asc' ,
36
+ ' source' => ' https://nginx.org/keys/nginx_signing.key' ,
37
+ },
35
38
release => $release ,
36
39
architecture => $facts [' os' ][' architecture' ],
37
40
}
44
47
apt::source { 'nginx' :
45
48
location => $mainline_repo_source ,
46
49
repos => ' nginx' ,
47
- key => { ' id' => ' 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62' },
50
+ key => {
51
+ ' name' => ' nginx.asc' ,
52
+ ' source' => ' https://nginx.org/keys/nginx_signing.key' ,
53
+ },
48
54
release => $release ,
49
55
architecture => $facts [' os' ][' architecture' ],
50
56
}
57
63
apt::source { 'nginx' :
58
64
location => $passenger_repo_source ,
59
65
repos => ' main' ,
60
- key => { ' id' => ' 16378A33A6EF16762922526E561F9B9CAC40B2F7' },
66
+ key => {
67
+ ' name' => ' phusionpassenger.asc' ,
68
+ ' source' => ' https://oss-binaries.phusionpassenger.com/auto-software-signing-gpg-key.txt' ,
69
+ },
61
70
architecture => $facts [' os' ][' architecture' ],
62
71
}
63
-
64
72
package { $passenger_package_name:
65
73
ensure => $passenger_package_ensure ,
66
74
require => Exec[' apt_update' ],
Original file line number Diff line number Diff line change 160
160
is_expected . to contain_apt__source ( 'nginx' ) . with (
161
161
'location' => "https://nginx.org/packages/#{ facts [ :os ] [ 'name' ] . downcase } " ,
162
162
'repos' => 'nginx' ,
163
- 'key' => { 'id' => '573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62' }
163
+ 'key' => {
164
+ 'source' => 'https://nginx.org/keys/nginx_signing.key' ,
165
+ 'name' => 'nginx.asc'
166
+ }
164
167
)
165
168
end
166
169
end
195
198
is_expected . to contain_apt__source ( 'nginx' ) . with (
196
199
'location' => 'https://oss-binaries.phusionpassenger.com/apt/passenger' ,
197
200
'repos' => 'main' ,
198
- 'key' => { 'id' => '16378A33A6EF16762922526E561F9B9CAC40B2F7' }
201
+ 'key' => {
202
+ 'source' => 'https://oss-binaries.phusionpassenger.com/auto-software-signing-gpg-key.txt' ,
203
+ 'name' => 'phusionpassenger.asc'
204
+ }
199
205
)
200
206
end
201
207
end
You can’t perform that action at this time.
0 commit comments