File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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'
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
Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
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
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
You can’t perform that action at this time.
0 commit comments