Puppet Class: ephemeris
- Defined in:
- manifests/init.pp
Summary
Main class that includes all other classes for the management of a python virtual environment for ephemeris.Overview
Class: ephemeris
Main class that includes all other classes for the management of a python virtual environment for ephemeris.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'manifests/init.pp', line 30
class ephemeris (
Boolean $manage_python = true,
String $manage_python_dev = 'present',
Boolean $manage_python_use_epel = true,
String $manage_python_virtualenv = 'present',
Stdlib::Absolutepath $virtualenv_dir = '/root/ephemeris',
Enum['present', 'absent'] $virtualenv_ensure = 'present',
String $virtualenv_group = 'root',
String $virtualenv_mode = '0750',
String $virtualenv_owner = 'root',
Array $virtualenv_requirements = [ 'ephemeris', 'bioblend', ],
) {
case $::operatingsystem {
'RedHat', 'CentOS': {
case $::operatingsystemmajrelease {
'7': {
contain ephemeris::install
contain ephemeris::config
Class['ephemeris::install']
-> Class['ephemeris::config']
}
default: {
fail("${::operatingsystem} ${::operatingsystemmajrelease} not supported")
}
}
}
default: {
fail("${::operatingsystem} not supported")
}
}
}
|