murano-repository/muranorepository/Services/agent_templates/ConfigurePostgreSqlDatabase.template
Serg Melikyan bd5ee0215c Add new services PostgreSQL and Tomcat
Change-Id: Id90b4eb8a9f0c5eada04a38ac4a5f1e022f97f48
2014-02-26 16:53:32 +04:00

23 lines
479 B
Plaintext

FormatVersion: 2.0.0
Version: 1.0.0
Name: Add database and user to PostgreSql
Parameters:
database: $database
username: $username
password: $password
Body: |
return configure('{0} {1} {2}'.format(args.database, args.username, args.password)).stdout
Scripts:
configure:
Type: Application
Version: 1.0.0
EntryPoint: Linux/configurePostgreSqlDatabase.sh
Files:
- <Linux/common.sh>
Options:
captureStdout: true
captureStderr: false