lib/cluster_chef/compute.rb
def role role_name
      run_list << "role[#{role_name}]"
      run_list.uniq!
      self.instance_eval(&@@role_implications[role_name]) if @@role_implications[role_name]
    end
# Adds the given role to the run list, and invokes any role_implications it
# implies (for instance, the 'ssh' role on an ec2 machine requires port 22
# be explicity opened.)
#
Adds the given role to the run list, and invokes any role_implications it
implies (for instance, the 'ssh' role on an ec2 machine requires port 22
be explicity opened.)
Adds the given role to the run list and invokes any role_implications it implies ( for instance the ' ssh ' role on an ec2 machine requires port 22 be explicity opened . )
def role role_name
      run_list << "role[#{role_name}]"
      run_list.uniq!
      self.instance_eval(&@@role_implications[role_name]) if @@role_implications[role_name]
    end
def role role_name run_list << "role[#{role_name}]" run_list . uniq! self . instance_eval ( & @@role_implications [ role_name ] ) if @@role_implications [ role_name ] end
Adds the given role to the run list, and invokes any role_implications it
implies (for instance, the 'ssh' role on an ec2 machine requires port 22
be explicity opened.)
Adds the given role to the run list and invokes any role_implications it implies ( for instance the ' ssh ' role on an ec2 machine requires port 22 be explicity opened . )
role_name