エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Create postgres users and databases from Chef
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Create postgres users and databases from Chef
db_server.rb �4�પ include_recipe "postgresql::server90" # inspiration from # https://gist.github.... 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='#