Skip to content

Commit

Permalink
Pin cassandra-snapshotter dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-rojas committed Feb 22, 2020
1 parent 10a290b commit 30aeef1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
source_url 'https://github.com/michaelklishin/cassandra-chef-cookbook' if respond_to?(:source_url)
issues_url 'https://github.com/michaelklishin/cassandra-chef-cookbook/issues' if respond_to?(:issues_url)
version '4.5.0'
version '4.6.0'
depends 'java'
depends 'ulimit'
depends 'apt'
Expand Down
15 changes: 13 additions & 2 deletions recipes/snapshotter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@
package 'pv'

execute 'install cassandra_snapshotter' do
command 'pip install cassandra_snapshotter'
not_if 'pip list 2>/dev/null | grep -q cassandra-snapshotter'
command 'pip install cassandra_snapshotter==1.0.0'
not_if 'pip list 2>/dev/null | grep -q "cassandra-snapshotter (1.0.0)"'
end

execute 'install setuptools' do
command 'pip install setuptools==44.0.0'
not_if 'pip list 2>/dev/null | grep -q "setuptools (44.0.0)"'
end

execute 'install fabric' do
command 'pip install fabric==1.14.0'
not_if 'pip list 2>/dev/null | grep -q "Fabric (1.14.0)"'
end

0 comments on commit 30aeef1

Please sign in to comment.