Class: Role
Instance Method Summary collapse
Instance Method Details
#narrate_as ⇒ Object
13 14 15 |
# File 'lib/fabric/role.rb', line 13 def narrate_as "role - #{self.name}" end |
#update_user_access! ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/fabric/role.rb', line 17 def update_user_access! narrate "Updating role" self.servers.each do |server| server.install_accounts! server.remove_dead_accounts end end |