db_server.rb �4�પ include_recipe "postgresql::server90" # inspiration from # https://gist.github.com/637579 execute "create-root-user" do code = <<-EOH psql -U postgres -c "select * from pg_user where usename='root'" | grep -c root EOH command "createuser -U postgres -s root" not_if code end execute "create-database-user" do code = <<-EOH psql -U postgres -c "select * from pg_user where usename='#
