Merge "Add apt-get update in application deployment"

This commit is contained in:
Zuul 2018-02-12 08:18:24 +00:00 committed by Gerrit Code Review
commit 55717365c7
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ Methods:
- $resources: new(sys:Resources)
- $linux: new(conf:Linux)
- $linux.runCommand($.instance.agent, 'apt-get update')
- $linux.runCommand($.instance.agent, 'apt-get -y install apache2')
- $linux.runCommand($.instance.agent, 'iptables -I INPUT 1 -p tcp --dport 443 -j ACCEPT')
- $linux.runCommand($.instance.agent, 'iptables -I INPUT 1 -p tcp --dport 80 -j ACCEPT')