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

Commit

Permalink
Fix APT filename
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Aug 15, 2019
1 parent e1d0bc5 commit 7581253
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
package 'apt-transport-https'

# Install NodeJS repository
apt_repository 'stretch-yarn-binary' do
apt_repository 'yarn-binary' do
uri 'https://dl.yarnpkg.com/debian'
key 'https://dl.yarnpkg.com/debian/pubkey.gpg'
components ['main']
distribution 'stable'
end

# Install Yarn repository
apt_repository 'stretch-nodejs-binary' do
apt_repository 'nodejs-binary' do
uri "https://deb.nodesource.com/node_#{node[:nodejs][:version]}"
key 'https://deb.nodesource.com/gpgkey/nodesource.gpg.key'
components ['main']
Expand Down
2 changes: 1 addition & 1 deletion test/integration/default/controls/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
it { should be_installed }
end

describe file('/etc/apt/sources.list.d/stretch-nodejs-binary.list') do
describe file('/etc/apt/sources.list.d/nodejs-binary.list') do
it { should exist }
its('content') { should include 'https://deb.nodesource.com/node_11.x' }
end
Expand Down

0 comments on commit 7581253

Please sign in to comment.