diff --git a/metadata.rb b/metadata.rb index 424ea656..247da7eb 100644 --- a/metadata.rb +++ b/metadata.rb @@ -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' diff --git a/recipes/snapshotter.rb b/recipes/snapshotter.rb index 809e960a..b62b8978 100644 --- a/recipes/snapshotter.rb +++ b/recipes/snapshotter.rb @@ -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 +