X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/53259637f9cef468ce51524a5e6d3fe38eb52c50..b20599b6503be65674c3e420be6cca91b507ac0a:/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