Sha256: 125458271bb06174f2fdf03eed3d1928a0c380539dec34b9397a0500d4a5af07

Contents?: true

Size: 928 Bytes

Versions: 7

Compression:

Stored size: 928 Bytes

Contents

- target: localhost
  command:
    - "rm -f /var/tmp/hello_rundock_from_deploy_erb_src_file_scenario"
    - "echo 'Hello Rundock from deploy erb <%= erb_val_1 %> Scenario.' > /var/tmp/hello_rundock_from_deploy_erb_src_file_scenario"
    - "echo '<%= erb_val_2 %>' >> /var/tmp/hello_rundock_from_deploy_erb_src_file_scenario"
- target: anyhost-01
  task:
    - deploy_task
---
anyhost-01:
  host: <replaced_by_platforms_host>
  ssh_opts:
    port: <replaced_by_platforms_port>
    user: tester
    key: "<replaced_by_platforms_key>"
---
deploy_task:
  command:
    - "rm -f /var/tmp/hello_rundock_from_deploy_erb_dst_file_scenario"
  deploy:
    - src: /var/tmp/hello_rundock_from_deploy_erb_src_file_scenario
      dst: /var/tmp/hello_rundock_from_deploy_erb_dst_file_scenario
      erb: true
      binding:
        erb_val_1:
          type: command
          value: "uname"
        erb_val_2:
          value: 'dondondonruck'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rundock-1.2.1 spec/integration/scenarios/deploy_erb_scenario.yml
rundock-1.2.0 spec/integration/scenarios/deploy_erb_scenario.yml
rundock-1.1.7 spec/integration/scenarios/deploy_erb_scenario.yml
rundock-1.1.6 spec/integration/scenarios/deploy_erb_scenario.yml
rundock-1.1.5 spec/integration/scenarios/deploy_erb_scenario.yml
rundock-1.1.4 spec/integration/scenarios/deploy_erb_scenario.yml
rundock-1.1.3 spec/integration/scenarios/deploy_erb_scenario.yml