Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
allow options passing to package provider #329
If you install
Thanks for looking at it, without it there's no way to be able to update nodes in place currently.
How to reproduce:
elasticsearch_install 'elasticsearch' do type :package version '1.5.0' package_url %|https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.5.0.deb| action :install end elasticsearch_configure 'elasticsearch' do path_conf '/etc/elasticsearch' path_data '/elasticsearch' path_logs '/var/log/elasticsearch' es_home '/usr/share' end
Run Chef, then change just the version to
elasticsearch_install 'elasticsearch' do type :package version '1.6.0' package_url %|https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.6.0.deb| package_checksum "ac3b84b355234e491fbaaa9e27bcd4be1304fcfd36bb8a1c7ce9920f77c727ad" action :install end
Chef will fail as dpkg will need to be told what to do about the previous configuration files.
This PR will bring the fix: