I followed documentation
and did something like this
apt_repository 'ruby-ng' do
uri 'brightbox/ruby-ng'
end
apt_update 'update packages' do
action :update
end
but this thrown me error.
I don’t want to brute force to add ppa
.
how to write sudo apt-add-repository -y ppa:brightbox/ruby-ng
in chef?