Unverified Commit 2212b6bf authored by Tim Smith's avatar Tim Smith Committed by GitHub
Browse files

Merge pull request #65 from majormoses/feature/pin-packages

if package version is specified pin version on debian when using esl
parents 2289d250 700eb02a
......@@ -31,6 +31,14 @@ when 'debian'
action :add
apt_preference 'erlang_solutions_repo' do
package_name 'esl-erlang'
pin "version #{node['erlang']['esl']['version']}"
pin_priority 700
action :add
not_if { node['erlang']['esl']['version'].nil? }
package 'esl-erlang' do
version node['erlang']['esl']['version'] if node['erlang']['esl']['version']
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