Sync ApacheHttpServer app with apps.openstack.org

The package with Apache Http Server hosted at apps.openstack.org was
modified  at some point to include IP address reporting and list of
dependent images. That change was never put into this repository.

This patch synchronizes the state of the package.

Change-Id: Ib44496bba5a081cc363becc84e898c24ad43f3a2
This commit is contained in:
Alexander Tivelkov 2015-07-13 18:52:57 +03:00
parent e24163b1c4
commit 157bad1e6b
2 changed files with 14 additions and 0 deletions

View File

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

View File

@ -0,0 +1,8 @@
Images:
- Name: 'debian-8-m-agent.qcow2'
Hash: 'c05398176ff18ca4d011b3550fa174e3'
Meta:
title: 'Debian 8 x64 (pre-installed murano-agent)'
type: 'linux'
DiskFormat: qcow2
ContainerFormat: bare