X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c7ee9dcbb0d99cf3bbea9ae22e1de4111a8e58a8..14634cdec2f8091b6b5a6197a6bee033ff530582:/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