Puppet Class: display::xvfb
- Inherits:
- display::params
- Defined in:
- manifests/xvfb.pp
Overview
Class: display::xvfb
Installs and configures xvfb. Inspired by github.com/cwarden/puppet-module-xvfb.
Authors
Alex Rodionov <p0deje@gmail.com>
Copyright
Copyright 2013 Alex Rodionov.
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'manifests/xvfb.pp', line 14
class display::xvfb inherits display::params {
package { $display::params::xvfb_package_name:
alias => 'xvfb',
ensure => present,
}
file { '/etc/init.d/xvfb':
content => template($display::params::xvfb_erb),
mode => '0755',
require => Package['xvfb'],
notify => Service['xvfb'],
}
service { 'xvfb':
ensure => running,
enable => true,
hasstatus => true,
hasrestart => true,
}
}
|