]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/chef/recipes/repository.rb
Add recipe to handle installing knife correctly
[chef.git] / cookbooks / chef / recipes / repository.rb
index cd0e868384a5ecf4d724f4674ba2155bf0d493f8..752938bf3fe515935b58ea3afe642296bca3c057 100644 (file)
@@ -17,6 +17,7 @@
 # limitations under the License.
 #
 
+include_recipe "chef::knife"
 include_recipe "git"
 
 keys = data_bag_item("chef", "keys")
@@ -25,8 +26,6 @@ chef_gem "bundler" do
   version ">= 2.1.4"
 end
 
-chef_gem "knife"
-
 directory "/var/lib/chef" do
   owner "chefrepo"
   group "chefrepo"