Puppet Class: tigervnc
- Defined in:
- manifests/init.pp
Overview
Class: tigervnc
Main class that includes all other classes for the tigervnc module.
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'manifests/init.pp', line 17
class tigervnc (
Hash $vncservers,
Boolean $manage_vncuser_passwords = true,
String $package_ensure = 'present',
String $package_name = 'tigervnc-server',
Boolean $service_enable = true,
Enum['running', 'stopped'] $service_ensure = 'running',
String $service_name = 'vncserver',
String $sysconfig_template = 'tigervnc/sysconfig_vncservers.erb',
Stdlib::Unixpath $user_homedir_path = '/home',
String $vncuser_default_passwd = 'ChangeMe',
) {
case $::operatingsystem {
'RedHat', 'CentOS': {
contain tigervnc::install
contain tigervnc::config
contain tigervnc::service
Class['tigervnc::install']
-> Class['tigervnc::config']
~> Class['tigervnc::service']
}
default: {
fail("${::operatingsystem} not supported")
}
}
}
|