Puppet Class: opennebula::oned_conf
- Inherits:
- opennebula::params
- Defined in:
- manifests/oned_conf.pp
Overview
Configure oned.conf.
This class is designed to be used to configure oned.conf.
Parameters
A lot of these parameters are documented on the Opennebula website in more detail.
- manager_time
-
Optional
- host_monitoring_interval
-
Optional
- vm_polling_interval
-
Optional
- vm_dir
-
Optional
- scripts_remote_dir
-
Optional
- port
-
Optional
- db_backend
-
Optional
- db_server
-
Optional
- db_user
-
Optional
- db_name
-
Optional
- db_port
-
Optional
- vnc_base_port
-
Optional
- debug_level
-
Optional
- network_size
-
Optional
- mac_prefix
-
Optional
- image_repository_path
-
Optional
- default_image_path
-
Optional
- default_device_prefix
-
Optional
- oned_conf_path
-
Optional
- hooks
-
Optional
Variables
N/A
Examples
Basic example:
class { "opennebula::oned_conf":
port => 2633,
}
Authors
Ken Barber <ken@bob.sh>
Copyright
Copyright 2011 Puppetlabs Inc, unless otherwise noted.
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 |
# File 'manifests/oned_conf.pp', line 70
class opennebula::oned_conf (
$manager_timer = 15,
$host_monitoring_interval = 600,
$vm_polling_interval = 600,
$vm_dir = "/var/lib/one",
$scripts_remote_dir = "/var/tmp/one",
$port = 2633,
$db_backend = "sqlite",
$db_server = undef,
$db_user = undef,
$db_passwd = undef,
$db_name = undef,
$db_port = undef,
$vnc_base_port = 5900,
$debug_level = 3,
$network_size = 254,
$mac_prefix = "02:00",
$image_repository_path = "/var/lib/one/images/",
$default_image_type = "OS",
$default_device_prefix = "hd",
$hooks = undef,
$oned_conf_path = $opennebula::params::oned_conf_path
) inherits opennebula::params {
#################
# Configuration #
#################
file { $oned_conf_path:
content => template("${module_name}/oned.conf"),
owner => "root",
group => "root",
mode => "0644",
require => Package[$controller_package],
}
}
|