Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit f88c6a8

Browse files
authored
Merge pull request #27 from cloudify-examples/fix-for-weird-error
make cloudify_host dependent on nat
2 parents 05a8f24 + db3549c commit f88c6a8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

aws.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,9 @@ node_templates:
462462
- type: cloudify.relationships.depends_on
463463
target: nic
464464
- type: cloudify.relationships.depends_on
465-
target: centos_core_ami
465+
target: centos_core_ami
466+
- type: cloudify.relationships.depends_on
467+
target: nat_gateway
466468
interfaces:
467469
cloudify.interfaces.lifecycle:
468470
configure:

scripts/manager/tasks.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ def install_rpm(_rpm):
1313
sudo("rpm -i {0}".format(_rpm))
1414
except Exception as e:
1515
raise NonRecoverableError(str(e))
16-
if not os.path.exists(CONFIG_PATH):
17-
raise RecoverableError('Failed to install RPM.')
1816
return True
1917

2018
def install_requirements():

0 commit comments

Comments
 (0)