cookbook 'zone', '= 0.0.2'
zone (8) Versions 0.0.2 Follow3
Installs/Configures Solaris zones
cookbook 'zone', '= 0.0.2', :supermarket
knife supermarket install zone
knife supermarket download zone
= DESCRIPTION:
Configures, installs and boots Solaris zones.
As of now, it doesn't not reconfigure any options if they have changed
after the initial creation and only a limited sub-set of configuration
options are supported.
New in version 0.0.2:
* /etc/sysidcfg is now created by default from a template. Turn this off by setting use_sysidcfg to false.
* If copy_sshd_config is true (default), /etc/ssh/sshd_config is copied from the global zone to the new zone.
= REQUIREMENTS:
Tested on Solaris x86 5.10.
= ATTRIBUTES:
For /etc/sysidcfg:
node[:zone][:timeserver] - The NTP server to use.
node[:zone][:timezone] - The timezone for the zone.
node[:zone][:dns_servers] - Array of DNS servers.
= USAGE:
zone "test" do
action :start
path "/opt/zones/test"
limitpriv "default,dtrace_proc,dtrace_user"
ip "192.168.0.10/24"
interface "e1000g0"
# testpw
password "whbFxl4vH5guE"
use_sysidcfg true
sysidcfg_template "sysidcfg.erb"
copy_sshd_config false
end
Actions:
:install implies :configure
:start implies :install and :configure
:delete implies :stop
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.