X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c7ee9dcbb0d99cf3bbea9ae22e1de4111a8e58a8..cc6b107e2e4aa6d7b882d4fb626a1a80a41104c8:/cookbooks/trac/recipes/default.rb diff --git a/cookbooks/trac/recipes/default.rb b/cookbooks/trac/recipes/default.rb index 42cff0649..d61feab0e 100644 --- a/cookbooks/trac/recipes/default.rb +++ b/cookbooks/trac/recipes/default.rb @@ -60,7 +60,7 @@ execute "trac-deploy-#{site_name}" do command "trac-admin /var/lib/trac deploy #{site_directory}" user "root" group "root" - not_if { File.exists?(site_directory) } + not_if { File.exist?(site_directory) } end cookbook_file "/usr/local/bin/trac-authenticate" do