]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commitdiff
Fix foodcritic
authorGuilhem Lettron <guilhem.lettron@optiflows.com>
Wed, 7 May 2014 09:22:25 +0000 (11:22 +0200)
committerGuilhem Lettron <guilhem.lettron@optiflows.com>
Wed, 7 May 2014 09:22:25 +0000 (11:22 +0200)
As we are using "lazy", we are only compatible with chef >= 11.6.0

Rakefile

index 9fe7e489984fcd97d1446c067f4e29f638d7c411..dae01d41b12a36648e1bc40554788a9eca4d9bd3 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -17,7 +17,8 @@ namespace :style do
     FoodCritic::Rake::LintTask.new(:chef) do |t|
       t.options = {
         fail_tags: ['any'],
-        tags: ['~FC003']
+        tags: ['~FC003'],
+        chef_version: '11.6.0'
       }
     end
   rescue LoadError