Merge "Add detailed information to logs for some apps"
This commit is contained in:
commit
36b763f271
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue