Puppet Class: hyperglass::server::dependencies
- Defined in:
-
manifests/server/dependencies.pp
Summary
private class that installs all the services hyperglass depends on
Overview
6
7
8
9
10
11
12
13
14
15
16
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/server/dependencies.pp', line 6
class hyperglass::server::dependencies (
Boolean $manage_python = $hyperglass::server::manage_python,
Boolean $manage_gcc = $hyperglass::server::manage_gcc,
) {
assert_private()
if $manage_python {
require hyperglass::python
}
if $manage_gcc {
require hyperglass::gcc
}
class { 'redis::globals':
scl => 'rh-redis5',
}
-> class { 'redis':
manage_repo => true,
}
class { 'nodejs':
repo_url_suffix => '14.x',
}
yumrepo { 'yarn':
ensure => 'present',
baseurl => 'https://dl.yarnpkg.com/rpm/',
gpgcheck => 1,
gpgkey => 'https://dl.yarnpkg.com/rpm/pubkey.gpg',
descr => 'Yarn Repository',
}
package { 'yarn':
ensure => 'present',
require => Yumrepo['yarn'],
}
include nginx
}
|