lib/testlab/user/lifecycle.rb in testlab-0.9.1 vs lib/testlab/user/lifecycle.rb in testlab-1.0.0
- old
+ new
@@ -1,13 +1,13 @@
class TestLab
class User
module Lifecycle
- # Setup the user
+ # Provision the user
#
# @return [Boolean] True if successful.
- def setup
+ def provision
@ui.logger.debug { "User Create: #{self.username} " }
node_home_dir = ((self.container.node.user == "root") ? %(/root) : %(/home/#{self.container.node.user}))
node_authkeys = File.join(node_home_dir, ".ssh", "authorized_keys")