Skip to content

Commit 511069b

Browse files
committed
Update to use new public key location for threatstack agent
1 parent 1779c0e commit 511069b

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

manifests/init.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
case $::osfamily {
2121
'RedHat', 'CentOS', 'Amazon': {
22-
$gpg_key = 'https://www.threatstack.com/RPM-GPG-KEY-THREATSTACK'
22+
$gpg_key = 'https://app.threatstack.com/RPM-GPG-KEY-THREATSTACK'
2323

2424
if $::osfamily == 'Amazon' {
2525
$repo_url = 'https://pkg.threatstack.com/Amazon'
@@ -32,7 +32,7 @@
3232
include threatstack::configure
3333
}
3434
'Debian': {
35-
$gpg_key = 'https://www.threatstack.com/APT-GPG-KEY-THREATSTACK'
35+
$gpg_key = 'https://app.threatstack.com/APT-GPG-KEY-THREATSTACK'
3636
$repo_url = 'https://pkg.threatstack.com/Ubuntu'
3737

3838
include threatstack::apt

manifests/yum.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
enabled => 1,
1111
baseurl => $threatstack::repo_url,
1212
gpgcheck => 1,
13-
gpgkey => 'https://www.threatstack.com/RPM-GPG-KEY-THREATSTACK',
13+
gpgkey => $threatstack::gpg_key
1414
}
1515

1616
package { $threatstack::ts_package:

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "threatstack-threatstack",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"author": "Threat Stack",
55
"license": "Apache-2.0",
66
"summary": "Installs the Threat Stack agent",

spec/classes/apt_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
:command => '/usr/bin/apt-get update'
1212
)}
1313
it { should contain_exec('Threat Stack GPG Import').with(
14-
:command => '/usr/bin/curl https://www.threatstack.com/APT-GPG-KEY-THREATSTACK | /usr/bin/apt-key add -'
14+
:command => '/usr/bin/curl https://app.threatstack.com/APT-GPG-KEY-THREATSTACK | /usr/bin/apt-key add -'
1515
)}
1616
end
1717

spec/classes/yum_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
:enabled => 1,
1212
:baseurl => 'https://pkg.threatstack.com/CentOS',
1313
:gpgcheck => 1,
14-
:gpgkey => 'https://www.threatstack.com/RPM-GPG-KEY-THREATSTACK'
14+
:gpgkey => 'https://app.threatstack.com/RPM-GPG-KEY-THREATSTACK'
1515
) }
1616
end
1717
end
@@ -25,7 +25,7 @@
2525
:enabled => 1,
2626
:baseurl => 'https://pkg.threatstack.com/CentOS',
2727
:gpgcheck => 1,
28-
:gpgkey => 'https://www.threatstack.com/RPM-GPG-KEY-THREATSTACK'
28+
:gpgkey => 'https://app.threatstack.com/RPM-GPG-KEY-THREATSTACK'
2929
) }
3030
end
3131
end
@@ -39,7 +39,7 @@
3939
:enabled => 1,
4040
:baseurl => 'https://pkg.threatstack.com/Amazon',
4141
:gpgcheck => 1,
42-
:gpgkey => 'https://www.threatstack.com/RPM-GPG-KEY-THREATSTACK'
42+
:gpgkey => 'https://app.threatstack.com/RPM-GPG-KEY-THREATSTACK'
4343
) }
4444
end
4545
end

0 commit comments

Comments
 (0)