Puppet Class: supervisord::install

Defined in:
manifests/install.pp

Overview

This class is called from the main supervisord class for install.



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'manifests/install.pp', line 5

class supervisord::install {
  assert_private('supervisord::install is a private class')

  file { [
    $::supervisord::supervisord_confdir,
    "${::supervisord::supervisord_confdir}/conf.d",
    $::supervisord::supervisord_logdir,
    $::supervisord::supervisord_rundir,
  ]:
    ensure => directory,
    owner  => 'root',
    group  => 'root',
    mode   => '0755',
  }

  python::pip { $::supervisord::package_name:
    pkgname    => $::supervisord::package_name,
    ensure     => $::supervisord::package_ensure,
    virtualenv => $::supervisord::virtualenv,
    owner      => $::supervisord::virtualenv_owner,
  }
}