lib/testlab/container.rb in testlab-0.4.16 vs lib/testlab/container.rb in testlab-0.5.0

- old
+ new

@@ -68,35 +68,34 @@ autoload :Lifecycle, 'testlab/container/lifecycle' autoload :LXC, 'testlab/container/lxc' autoload :MethodMissing, 'testlab/container/method_missing' autoload :SSH, 'testlab/container/ssh' autoload :Status, 'testlab/container/status' + autoload :User, 'testlab/container/user' include TestLab::Container::Actions include TestLab::Container::Generators include TestLab::Container::Interface include TestLab::Container::Lifecycle include TestLab::Container::LXC include TestLab::Container::MethodMissing include TestLab::Container::SSH include TestLab::Container::Status + include TestLab::Container::User extend TestLab::Container::ClassMethods include TestLab::Utility::Misc # Associations and Attributes belongs_to :node, :class_name => 'TestLab::Node' has_many :interfaces, :class_name => 'TestLab::Interface' + has_many :users, :class_name => 'TestLab::User' attribute :provisioner attribute :config, :default => Hash.new attribute :domain - - attribute :user, :default => 'ubuntu' - attribute :passwd, :default => 'ubuntu' - attribute :keys attribute :distro, :default => 'ubuntu' attribute :release, :default => 'precise' attribute :arch