solaris_zones.pp revision 6815
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.
6815N/A# Defaults to /var/share/nova/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(
6815N/A $glancecache_dirname='/var/share/nova/images',
5462N/A $solariszones_snapshots_directory='$instances_path/snapshots',
5462N/A) {
5462N/A
5462N/A nova_config {
6815N/A 'DEFAULT/compute_driver': value => 'solariszones.SolarisZonesDriver';
6815N/A 'DEFAULT/pybasedir': value => '/usr/lib/python2.7/vendor-packages';
6815N/A 'DEFAULT/fping_path': value => '/usr/bin/fping';
6815N/A 'DEFAULT/network_driver': value => 'nova.network.solaris_net';
6815N/A 'solariszones/glancecache_dirname': value => $glancecache_dirname;
6815N/A 'solariszones/solariszones_snapshots_directory': value => $solariszones_snapshots_directory;
5462N/A }
5462N/A}