Merge "Add detailed information to logs for some apps"

This commit is contained in:
Jenkins 2015-09-24 16:08:51 +00:00 committed by Gerrit Code Review
commit 36b763f271
5 changed files with 30 additions and 3 deletions

View File

@ -42,5 +42,10 @@ Methods:
- $._environment.reporter.report($this, 'Instance is created. Deploying Git Chef')
- $.instance.agent.call($template, $resources)
- $._environment.reporter.report($this, 'Git is installed')
- If: $.instance.assignFloatingIp
Then:
- $host: $.instance.floatingIpAddress
Else:
- $host: $.instance.ipAddresses[0]
- $._environment.reporter.report($this, format('Git Chef is installed at {0}', $host))
- $.setAttr(deployed, true)

View File

@ -46,5 +46,10 @@ Methods:
- $._environment.reporter.report($this, 'Instance is created. Deploying Orion Chef')
- $.instance.agent.call($template, $resources)
- $._environment.reporter.report($this, 'Orion is installed')
- If: $.instance.assignFloatingIp
Then:
- $host: $.instance.floatingIpAddress
Else:
- $host: $.instance.ipAddresses[0]
- $._environment.reporter.report($this, format('Orion is installed at {0} on {1} port', $host, $.port))
- $.setAttr(deployed, true)

View File

@ -69,6 +69,12 @@ Methods:
Then:
- $.assignUser($.username, $.database)
- $._environment.reporter.report($this, format('User {0} created.', $.username))
- If: $.instance.assignFloatingIp
Then:
- $host: $.instance.floatingIpAddress
Else:
- $host: $.instance.ipAddresses[0]
- $._environment.reporter.report($this, format('MySQL is available at {0}', $host))
createDatabase:
Arguments:

View File

@ -70,6 +70,12 @@ Methods:
Then:
- $.assignUser($.username, $.database)
- $._environment.reporter.report($this, format('User {0} created.', $.username))
- If: $.instance.assignFloatingIp
Then:
- $host: $.instance.floatingIpAddress
Else:
- $host: $.instance.ipAddresses[0]
- $._environment.reporter.report($this, format('PostgreSQL is available at {0}', $host))
createDatabase:
Arguments:

View File

@ -49,5 +49,10 @@ Methods:
- $._environment.reporter.report($this, 'Instance is created. Deploying MySQL Puppet example')
- $.instance.agent.call($template, $resources)
- $._environment.reporter.report($this, 'MySQL Puppet example is installed')
- If: $.instance.assignFloatingIp
Then:
- $host: $.instance.floatingIpAddress
Else:
- $host: $.instance.ipAddresses[0]
- $._environment.reporter.report($this, format('MySQL Puppet example is installed at {0} on {1} port', $host, $.port))
- $.setAttr(deployed, true)