Dmytro Dovbii 7cb39996f0 Restructure murano-apps repository
Change-Id: I9cdb1e4afcb9929c7b7a5437faaa25d284daefdb
Closes-Bug: #1441644
2015-04-14 09:42:21 +03:00

24 lines
469 B
Plaintext

FormatVersion: 2.0.0
Version: 1.0.0
Name: Export Config
Parameters:
name: $name
Body: |
log=setup('{0}'.format(args.name)).stdout
filename='/var/run/murano-kubernetes/application.tgz.b64'
with open(filename,'r') as f:
content=f.read()
return {'log': log, 'content': content}
Scripts:
setup:
Type: Application
Version: 1.0.0
EntryPoint: exportConfig.sh
Files: []
Options:
captureStdout: true
captureStderr: true