solaris_zones.pp revision 5462
5462N/A#
5462N/A# == Class: nova::compute::solaris_zones
5462N/A#
5462N/A# Configures nova-compute to manage Solaris Zone guests
5462N/A#
5462N/A# === Parameters
5462N/A#
5462N/A# [*glancecache_dirname*]
5462N/A# (optional) Default path to local image cache.
5462N/A# Defaults to $state_path/images
5462N/A#
5462N/A# [*solariszones_snapshots_directory*]
5462N/A# (optional) Location where solariszones driver will store instance
5462N/A# snapshots before uploading them to Glance
5462N/A# Defaults to $instances_path/snapshots
5462N/A#
5462N/Aclass nova::compute::solaris_zones(
5462N/A $glancecache_dirname='$state_path/images',
5462N/A $solariszones_snapshots_directory='$instances_path/snapshots',
5462N/A) {
5462N/A
5462N/A nova_config {
5462N/A 'DEFAULT/glancecache_dirname': value => $glancecache_dirname;
5462N/A 'DEFAULT/solariszones_snapshots_directory': value => $solariszones_snapshots_directory;
5462N/A 'DEFAULT/compute_driver': value => 'solariszones.SolarisZonesDriver';
5462N/A 'DEFAULT/pybasedir': value => '/usr/lib/python2.7/vendor-packages';
5462N/A 'DEFAULT/fping_path': value => '/usr/bin/fping';
5462N/A 'DEFAULT/network_driver': value => 'nova.network.solaris_net';
5462N/A }
5462N/A}