can apigee-service apigee-validate setup-org be run headless?

Not applicable

i am building a series of ansible playbooks for 16.01 right now and im wondering if

/opt/apigee/apigee-service/bin/apigee-service apigee-validate setup-org -f /path/to/configuration/file

can be run headless.

0 3 189
3 REPLIES 3

Not applicable

Hi,

Can you please elaborate your use-case?

Here are the steps to use apigee-validate service:

To run the test scripts:

1. Install apigee-validate on a Message Processor node:

/opt/apigee/apigee-service/bin/apigee-service apigee-validate install

2. Change directory to /opt/apigee:

cd /opt/apigee

3. Run the setup command on a Message Processor node to invoke the test scripts:

/opt/apigee/apigee-service/bin/apigee-service apigee-validate setup -f configFile

The configFile file must contain the following properties:

APIGEE_ADMINPW=sysAdminPword

MP_POD=gateway

REGION=dc-1

You can use the silent conf as config file which you were using to install the apigee components.

So i get this - but when I run it i am prompted to hit any key to continue.

Is there a flag to disable that or am I going to be editing another install script?

This is the default behavior as of now. I'll log a change request for this behavior to make the automation part seamless going forward.