Sha256: 7825daa4d5483963c956fee20beb8c2abb525b28a3e3e1882a157520bf168fc8

Contents?: true

Size: 799 Bytes

Versions: 2

Compression:

Stored size: 799 Bytes

Contents

#
# Each script will be executed on the target server.
# It should be written assuming bash script language
# and you can mix ruby code to preprocess.
#
# For instance, if you want to install a lot apt-get
# packages, you could do something like:
#
# <%% ["a", "b", "c", "d"].each do |pkg| %>
# apt-get install <%%= pkg %>
# <%% end %>
#
# Example of script section contents:
#
# - description: Install Apache
#   file: install_apache
# 
# - description: Install MySQL
#   file: install_mysql
# 
# - description: Install PHP
#   file: install_php
#
# This would search the script/ folder for
# install_apache.sh.erb, isntall_mysql.sh.erb and
# install_php.sh.erb
#
<% if scripts %>
scripts: 
<% scripts.each do |s| %>
- description: <%= s.first.titleize %>
  file: <%= s.first %>
<% end %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stackfu-0.1.1 templates/03-scripts.yml.erb
stackfu-0.1.0 templates/03-scripts.yml.erb