Commit da002346 authored by Fabian Galinski's avatar Fabian Galinski 😾
Browse files

[BUGFIX] the additional packages where always named yarn

parent 331491f6
......@@ -164,7 +164,7 @@ end
node['ubuntu_base']['additional_packages'].each do |additionalPackage|
if additionalPackage['gpgKey'] != ''
execute "curl -sS " + additionalPackage['gpgKey'] + " | sudo apt-key add"
execute 'echo "deb ' + additionalPackage['packageUrl'] + ' stable main" | sudo tee /etc/apt/sources.list.d/yarn.list'
execute 'echo "deb ' + additionalPackage['packageUrl'] + ' stable main" | sudo tee /etc/apt/sources.list.d/' + additionalPackage['name'] + '.list'
execute "apt update"
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment