Ask Your Question
0

Is it possible to use get_file multiple time in OS::Heat::SoftwareConfig

asked 2016-06-13 16:00:02 -0600

Muzammil gravatar image

I want to use multiple configuration scripts for setting up my VM. Is it possible to use them in one SoftwareConfig block? or do I need to create multiple blocks for every script? For instance what I want to do is as follows:

  config:
    type: OS::Heat::SoftwareConfig
    properties:
      group: script
      inputs:
      - name: foo
      - name: bar
      outputs:
      - name: result
      config:
        get_file: config-scripts/example-script.sh
      config:
        get_file:config-scripts/config-2.sh
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-07-29 12:15:12 -0600

zaneb gravatar image

You can use the SoftwareComponent resource type (which takes a list of configs instead of just one) to do what you want.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-06-13 16:00:02 -0600

Seen: 146 times

Last updated: Jul 29 '16