Dell - Internal Use - Confidential
Nice.

From: Mike Pittaro [mailto:notifications@github.com]
Sent: Wednesday, October 16, 2013 11:37 AM
To: crowbar/crowbar-utils
Subject: Re: [crowbar-utils] Add Postgresql for Ubuntu & CB2. Fixup scripts. Add sshfs. (#15)


In vagrant-crowbar-2/chef/cookbooks/cb2/recipes/postgresql.rb:

> +

> +

> +    #sudo vi /etc/postgresql/9.3/main/postgresql.conf

> +      # change 'port = 5439'

> +    bash "change Postgresql port" do

> +      command 'sudo sed -i "s/port = .*/port = 5439/g" /etc/postgresql/9.3/main/postgresql.conf'

> +      not_if 'grep "port = 5439" /etc/postgresql/9.3/main/postgresql.conf'

> +    end

> +

> +    #sudo createuser -s -d -U postgres crowbar

> +    bash "add crowbar user to postgres" do

> +      command "createuser -s -d -U postgres crowbar"

> +    end

> +

> +    # you can test the install by making sure the following call returns

> +    bash "test postgres isntall" do

wee typo here

—
Reply to this email directly or view it on GitHub<https://github.com/crowbar/crowbar-utils/pull/15/files#r7005313>.