Skip to content

Commit

Permalink
if package version is specified pin version on debian when using esl
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Abrams <[email protected]>
  • Loading branch information
majormoses committed Aug 30, 2018
1 parent 2289d25 commit 8136f46
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions recipes/esl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@
action :add
end

apt_preference 'erlang_solutions_repo' do
package 'esl-erlang'
pin "version #{node['erlang']['esl']['version']}"
pin_priority 700
action :add
not_if { node['erlang']['esl']['version'].nil? }
end

package 'esl-erlang' do
version node['erlang']['esl']['version'] if node['erlang']['esl']['version']
end
Expand Down

0 comments on commit 8136f46

Please sign in to comment.