Sha256: af7c669030ff0c531a91fff61d43a40196419efd07eb161a21d68d39ce1bf7a7

Contents?: true

Size: 776 Bytes

Versions: 4

Compression:

Stored size: 776 Bytes

Contents

# Sample ftl.yml. Your ftl.yml should be located in ~/.ftl/ftl.yml and should
#  look similar to this file
# 
# FILL IN THESE TWO VALUES
ACCESS_KEY_ID: 
SECRET_ACCESS_KEY: 

:scripts:
  :ls: |
    local("ls -alh")
    local("echo '-----------'")

:actions:
  :uptime: puts server.ssh('uptime').first.stdout
  :mount: puts server.ssh('mount').first.stdout
  :df: puts server.ssh('df -h').first.stdout
  :w: puts server.ssh('w').first.stdout

:templates:

  :defaults: &defaults
    :ami: ami-a29943cb # Ubuntu 12.04 LTS Precise Pangolin
    :username: ubuntu
    :instance_type: m1.small
    :user_data: |
      #!/bin/sh
      touch /root/file.touched
    :post_script: | 

  :ninja_server:
    <<: *defaults
    :user_data: |
      #!/bin/sh
      uptime > /root/uptime.txt

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ftl-0.3.3 lib/resources/ftl.yml
ftl-0.3.2 lib/resources/ftl.yml
ftl-0.3.1 lib/resources/ftl.yml
ftl-0.3.0 lib/resources/ftl.yml