Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
fix(setup): fix fullstaq key url (#247)
Browse files Browse the repository at this point in the history
* Fix fullstaq key url

the url to the fullstaq key is wrong and it throws an 404 during setup run .. the right one is https://raw.githubusercontent.com/fullstaq-labs/fullstaq-ruby-server-edition/main/fullstaq-ruby.asc
  • Loading branch information
aka47 authored and ajgon committed Oct 17, 2020
1 parent f89eb49 commit 62ced10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions recipes/setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@

# For whatever reason `apt_repository.key` doesn't work here.
remote_file "#{Chef::Config[:file_cache_path]}/fullstaq-ruby.asc" do
source 'https://raw.githubusercontent.com/fullstaq-labs/fullstaq-ruby-server-edition/master/fullstaq-ruby.asc'
source 'https://raw.githubusercontent.com/fullstaq-labs/fullstaq-ruby-server-edition/main/fullstaq-ruby.asc'
end

execute 'add fullstaq repository key' do
Expand All @@ -101,7 +101,7 @@
baseurl 'https://yum.fullstaqruby.org/centos-7/$basearch'
enabled true
gpgcheck false
gpgkey 'https://raw.githubusercontent.com/fullstaq-labs/fullstaq-ruby-server-edition/master/fullstaq-ruby.asc'
gpgkey 'https://raw.githubusercontent.com/fullstaq-labs/fullstaq-ruby-server-edition/main/fullstaq-ruby.asc'
repo_gpgcheck true
sslverify true
only_if { node['ruby-provider'] == 'fullstaq' }
Expand Down
4 changes: 2 additions & 2 deletions spec/unit/recipes/setup_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
end

it 'adds fullstaq apt repository' do
keyurl = 'https://raw.githubusercontent.com/fullstaq-labs/fullstaq-ruby-server-edition/master/fullstaq-ruby.asc'
keyurl = 'https://raw.githubusercontent.com/fullstaq-labs/fullstaq-ruby-server-edition/main/fullstaq-ruby.asc'

expect(chef_run).to add_apt_repository('fullstaq-ruby').with(
uri: 'https://apt.fullstaqruby.org',
Expand Down Expand Up @@ -244,7 +244,7 @@
baseurl: 'https://yum.fullstaqruby.org/centos-7/$basearch',
enabled: true,
gpgcheck: false,
gpgkey: 'https://raw.githubusercontent.com/fullstaq-labs/fullstaq-ruby-server-edition/master/fullstaq-ruby.asc',
gpgkey: 'https://raw.githubusercontent.com/fullstaq-labs/fullstaq-ruby-server-edition/main/fullstaq-ruby.asc',
repo_gpgcheck: true,
sslverify: true
)
Expand Down

0 comments on commit 62ced10

Please sign in to comment.