Conditions | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | # frozen_string_literal: true |
||
26 | def apply(resource_factory) |
||
27 | account = @account |
||
28 | key = @private_key |
||
29 | remote = @remote |
||
30 | name = "#{account.id}:#{key.owner}:#{key.id}:#{remote.id}" |
||
31 | resource_factory.ssh_config name do |
||
32 | host remote.id.to_s |
||
33 | user account.id.to_s |
||
34 | action :remove |
||
35 | end |
||
36 | end |
||
37 | end |
||
45 |