Re: PostgreSQL Cookbook Testing

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: PAWAN SHARMA <er(dot)pawanshr0963(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: PostgreSQL Cookbook Testing
Date: 2017-06-23 13:41:24
Message-ID: 8087c8e6-cc19-13bb-8c47-2fe5337fa03a@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 06/23/2017 05:27 AM, PAWAN SHARMA wrote:
> Hi All,
>
> Please help to configure kitchen.yml to test the PostgreSQL cookbook
> testing.
>
> #-> kitchen converge
> -----> Starting Kitchen (v1.16.0)
> >>>>>> ------Exception-------
> >>>>>> Class: Kitchen::UserError
> >>>>>> Message: Error parsing /tmp/postgresql-master/.kitchen.yml as YAML.

The above seems to indicate that you are not supplying .kitchen.yml as
proper YAML.

You did not say, but I am assuming you are working with Chef. In that
case you might want to look at link below for proper form of .kitchen.yml:

https://docs.chef.io/config_yml_kitchen.html

Might also run the file through a linter. A quick search found these:

http://www.yamllint.com/

https://github.com/adrienverge/yamllint

> Please run `kitchen diagnose --no-instances --loader' to help debug your
> issue.
> >>>>>> ----------------------
> >>>>>> Please see .kitchen/logs/kitchen.log for more details
> >>>>>> Also try running `kitchen diagnose --all` for configuration
>
> -Server type: VMware
> OS: Redhat 6 or Redhat 7
> PostgreSQL Version: 9.5.7
>
>
> -Pawan
>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alain Toussaint 2017-06-23 15:19:49 Insertion of large xml files into PostgreSQL 10beta1
Previous Message Adrian Klaver 2017-06-23 13:32:40 Re: Which process is actually doing the WAL writes/calls XLogFlush?