Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.10.6
-
Component/s: None
-
Labels:None
Description
Trying to fix CHEF-2346 but illustrating my change is difficult due to the configs being packed in chef-solr/solr/solr-home.tar.gz and chef-solr/solr/solr-jetty.tar.gz.
Issue Links
- is duplicated by
-
CHEF-2973
undefined method `collect' in check_server_side_cookbooks
-
Proposed solution in https://github.com/mdkent/chef/commits/CHEF-2553
Took the approach of creating a tar_solr rake task that's a prerequisite to rake gem (and thus rake package). I dropped the files from the gemspec and add them dynamically.
One issue I see with this approach is that gem build chef-solr.gemspec won't produce a complete package as it's not using rake. Not sure about the idea of putting ruby in the gemspec but it could bail out if $0 == "gem" or otherwise produce a warning. Still seems an improvement over the current situation though.