Skip to content

Files

Latest commit

dbRMRails Machine
and
Rails Machine
Jan 19, 2018
4daa3cc · Jan 19, 2018

History

History
21 lines (15 loc) · 988 Bytes

README.rdoc

File metadata and controls

21 lines (15 loc) · 988 Bytes

Moonshine Postgres10

A plugin for Moonshine

A plugin for installing and managing postgres_10.

Instructions

  • script/plugin install git://github.com/railsmachine/moonshine_postgres_10.git

  • Configure settings if needed

    configure(:postgresql => {:version => '10.2'})
    
  • Add the following line near the top of your manifest:

    include Moonshine::Postgres10
    

As long as you’re using one of the standard moonshine stacks, like :default_stack, then the postgres 10 recipes will override the default Postgres recipes and install version 10.x instead.

Moonshine Postgres10 enables SSL connections between the client and server. The server requires an SSL certificate and key to be placed at $PGDATA/server.crt</cody> and <code>$PGDATA/server.key respectively. The {PostgreSQL docs}(www.postgresql.org/docs/10.1/static/ssl-tcp.html) describe the steps to create a self-signed certificate.