Skip to content
This repository has been archived by the owner on Jun 28, 2019. It is now read-only.

Add Ec2#ec2_roles method that takes multiple roles #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 11, 2016

  1. Add Ec2#ec2_roles method that takes multiple roles

    Defining multiple roles with the same options is quite repetitive at this moment
    in time.
    
    ```
    ec2_role :web, user: user_name
    ec2_role :app, user: user_name
    ec2_role :db, user: user_name
    ```
    
    This commit adds `Ec2#ec2_roles` that takes an array of `names` & `options` and
    calls `Ec2#ec2_role` for each `name`.
    
    ```
    ec2_roles [:web, :db, :app], user: user_name
    ```
    mrageh committed Aug 11, 2016
    Configuration menu
    Copy the full SHA
    9ed0337 View commit details
    Browse the repository at this point in the history