diff options
| -rw-r--r-- | config/chef_apply.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/chef_apply.rb b/config/chef_apply.rb index 9657da3..9bdd100 100644 --- a/config/chef_apply.rb +++ b/config/chef_apply.rb @@ -97,7 +97,7 @@ end bash "configure_postgres" do user "root" - not_if { ::Dir.exist?("/var/lib/pgsql/data") } + not_if { ::File.exist?("/var/lib/pgsql/data/base") } code <<-SCRIPT postgresql-setup initdb SCRIPT |
