lib/testlab/container.rb in testlab-1.7.1 vs lib/testlab/container.rb in testlab-1.8.0
- old
+ new
@@ -9,18 +9,18 @@
#
# @example A simple container definition with a single interface:
# container "server-west-1" do
# domain "west.zone"
#
- # distro "ubuntu"
- # release "precise"
+ # distro "ubuntu"
+ # release "precise"
#
# user do
# username "deployer"
# password "deployer"
- # uid 2600
- # gid 2600
+ # uid 2600
+ # gid 2600
# end
#
# interface do
# network_id 'west'
# name :eth0
@@ -29,18 +29,18 @@
# end
# end
#
# @example Multiple interfaces can be defined as well:
# container "dual-nic" do
- # distro "ubuntu"
- # release "precise"
+ # distro "ubuntu"
+ # release "precise"
#
# user do
# username "deployer"
# password "deployer"
- # uid 2600
- # gid 2600
+ # uid 2600
+ # gid 2600
# end
#
# interface do
# network_id 'east'
# name :eth0
@@ -124,9 +124,11 @@
attribute :distro, :default => 'ubuntu'
attribute :release, :default => 'precise'
attribute :arch
attribute :mounts, :default => Array.new
+
+ attribute :sc_url
attribute :aa_profile
attribute :cap_drop
attribute :tags, :default => Array.new