-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdata.pp
36 lines (33 loc) · 826 Bytes
/
data.pp
1
2
3
4
5
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
# == Class: lightblue::service::data
#
# Deploys lightblue data (crud) RESTful service.
#
# === Parameters
#
# No parameters.
#
# === Variables
#
# Module requires no global variables.
#
# === Example
#
# include lightblue::service::data
#
class lightblue::service::data (
$package_name = 'lightblue-rest-crud',
$package_ensure = latest,
)
inherits lightblue::service {
require lightblue::service::plugin::graphite
require lightblue::service::plugin::statsd
include lightblue::base
include lightblue::yumrepo::lightblue
package { $package_name :
ensure => $package_ensure,
require => [ Class['lightblue::yumrepo::lightblue'], Class['lightblue::eap'] ],
}
if $package_name == 'lightblue-rest-crud-cert-auth' {
include lightblue::authentication::certificate
}
}