Skip to content

Commit

Permalink
Merge pull request #4 from ninoseki/change-pgp-fetch
Browse files Browse the repository at this point in the history
Change to get the key via GitHub
  • Loading branch information
ninoseki authored Aug 18, 2019
2 parents c036692 + c1e7441 commit 2557ccc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cookbooks/thehive/default.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require "securerandom"

remote_file "/etc/apt/sources.list.d/elastic-5.x.list"
Expand All @@ -17,7 +19,7 @@
remote_file "/etc/elasticsearch/elasticsearch.yml"

# install thehive & cortex
execute "sudo apt-key adv --keyserver hkp://pgp.mit.edu --recv-key 562CBC1C"
execute "curl https://raw.githubusercontent.com/TheHive-Project/TheHive/master/PGP-PUBLIC-KEY | sudo apt-key add -"
execute "sudo apt-get update"
package "thehive"
package "cortex"
Expand Down

0 comments on commit 2557ccc

Please sign in to comment.