Skip to content

Commit

Permalink
Update to use new public key location for threatstack agent
Browse files Browse the repository at this point in the history
  • Loading branch information
petecheslock committed Feb 23, 2015
1 parent 1779c0e commit 511069b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

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

if $::osfamily == 'Amazon' {
$repo_url = 'https://pkg.threatstack.com/Amazon'
Expand All @@ -32,7 +32,7 @@
include threatstack::configure
}
'Debian': {
$gpg_key = 'https://www.threatstack.com/APT-GPG-KEY-THREATSTACK'
$gpg_key = 'https://app.threatstack.com/APT-GPG-KEY-THREATSTACK'
$repo_url = 'https://pkg.threatstack.com/Ubuntu'

include threatstack::apt
Expand Down
2 changes: 1 addition & 1 deletion manifests/yum.pp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
enabled => 1,
baseurl => $threatstack::repo_url,
gpgcheck => 1,
gpgkey => 'https://www.threatstack.com/RPM-GPG-KEY-THREATSTACK',
gpgkey => $threatstack::gpg_key
}

package { $threatstack::ts_package:
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "threatstack-threatstack",
"version": "1.1.0",
"version": "1.2.0",
"author": "Threat Stack",
"license": "Apache-2.0",
"summary": "Installs the Threat Stack agent",
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/apt_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
:command => '/usr/bin/apt-get update'
)}
it { should contain_exec('Threat Stack GPG Import').with(
:command => '/usr/bin/curl https://www.threatstack.com/APT-GPG-KEY-THREATSTACK | /usr/bin/apt-key add -'
:command => '/usr/bin/curl https://app.threatstack.com/APT-GPG-KEY-THREATSTACK | /usr/bin/apt-key add -'
)}
end

Expand Down
6 changes: 3 additions & 3 deletions spec/classes/yum_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
:enabled => 1,
:baseurl => 'https://pkg.threatstack.com/CentOS',
:gpgcheck => 1,
:gpgkey => 'https://www.threatstack.com/RPM-GPG-KEY-THREATSTACK'
:gpgkey => 'https://app.threatstack.com/RPM-GPG-KEY-THREATSTACK'
) }
end
end
Expand All @@ -25,7 +25,7 @@
:enabled => 1,
:baseurl => 'https://pkg.threatstack.com/CentOS',
:gpgcheck => 1,
:gpgkey => 'https://www.threatstack.com/RPM-GPG-KEY-THREATSTACK'
:gpgkey => 'https://app.threatstack.com/RPM-GPG-KEY-THREATSTACK'
) }
end
end
Expand All @@ -39,7 +39,7 @@
:enabled => 1,
:baseurl => 'https://pkg.threatstack.com/Amazon',
:gpgcheck => 1,
:gpgkey => 'https://www.threatstack.com/RPM-GPG-KEY-THREATSTACK'
:gpgkey => 'https://app.threatstack.com/RPM-GPG-KEY-THREATSTACK'
) }
end
end
Expand Down

0 comments on commit 511069b

Please sign in to comment.