summaryrefslogtreecommitdiff
path: root/lib/chef/knife/cookbook_site_install.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4896 from chef/tm/include_knife_supermarketThom May2016-06-221-0/+8
|\ | | | | Deprecate knife-supermarket gem
| * Deprecate knife-supermarket gemtm/include_knife_supermarketThom May2016-05-051-0/+8
| | | | | | | | | | | | | | Include all knife supermarket sub commands here, and allow all knife cookbook site commands to have a configurable supermarket URL. Signed-off-by: Thom May <thom@may.lt>
* | messages in log.debugWilfried JEANNIARD2016-05-041-2/+2
| |
* | code cleanupWilfried JEANNIARD2016-05-031-4/+3
| |
* | fixes matchesWilfried JEANNIARD2016-04-291-3/+3
| |
* | use shell_out instead of backticksWilfried JEANNIARD2016-04-281-1/+1
| |
* | Detect version of tar and use option --force-local if neededWilfried JEANNIARD2016-04-281-1/+10
| |
* | cookbook site install : tar error on windowsWilfried JEANNIARD2016-04-261-3/+0
|/ | | | | tar bundled with chef-dk don't support the --force-local option - fixes : #4862
* chefstyle Style/AndOr fixesLamont Granquist2016-03-141-1/+1
| | | | | this is part of our informal style guide, lets make it formal since clearly its not getting followed very well.
* pull rubocop 0.37.2 into chefstyleLamont Granquist2016-02-121-2/+2
| | | | | this is from the same ruleset that we had, but the new code catches more conditions.
* autofixing whitespace copsLamont Granquist2016-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-021-1/+1
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Use double quotes by defaultThom May2016-01-141-7/+7
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* Only add tar option --force-local on Windows systemsMichael Pereira2015-10-241-1/+5
|
* Fix cookbook installation from supermarket on windowsMichael Pereira2015-10-241-1/+1
| | | | | | | - Fixes https://tickets.opscode.com/browse/CHEF-3394 by adding the `--force-local` option to tar - Might fix #1753 with the added double quotes Proof of the fix: ![Proof of the fix](http://imgur.com/MOvHdPD.png)
* Capitalize another messageTim Smith2015-09-271-1/+1
|
* Provide more info when cookbook metadata is not foundJay Mundrawala2015-01-131-1/+1
|
* Clean up knife cookbook site install testsBryan McLellan2014-12-151-2/+4
|
* Use a real error class when metadata is not foundSeth Vargo2014-12-151-1/+1
|
* Allow knife to install cookbooks with metadata.jsonSeth Vargo2014-12-151-9/+31
| | | | | | | | | Previously `knife cookbook site install` would only install cookbooks that have a metadata.rb. This has a number of problems, mainly that compiled metadata is supported elsewhere in Chef. This commit adds support for parsing the metadata.json, even though the metadata.rb is still preferred (since that's what the rest of Chef does).
* Normalize whitespace on all filesSeth Vargo2013-09-261-2/+2
|
* CHEF-3555: fix knife cookbook site install when StringBryan McLellan2012-12-031-1/+1
| | | | | | | Ensure we turn cookbook_path into an Array before calling #first on it, as this does not work in Ruby 1.9+ H/T Aaron Kalin for the fix
* Merge branch '10-stable'Bryan McLellan2012-10-301-1/+10
| | | | | | | | | | | Conflicts: chef-expander/lib/chef/expander/version.rb chef-server-api/lib/chef-server-api/version.rb chef-server-webui/lib/chef-server-webui/version.rb chef-server/lib/chef-server/version.rb chef-solr/lib/chef/solr/version.rb chef/lib/chef/node/attribute.rb lib/chef/node.rb
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+155
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!