-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.pp
54 lines (52 loc) · 1.3 KB
/
init.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#
# == Class: ksplice
#
# Install and configure ksplice.
#
# WARNING: Oracle has bastardized ksplice for platforms other than "Oracle
# Unbreakable Linux". The Ubuntu version of ksplice pulls with it tons of
# desktop dependencies, thus rendering it useless on servers. Circumventing
# these restrictions would probably violate the kpslice EULA. Therefore this
# module is pretty much useless and available here only for reference.
#
# == Parameters
#
# [*manage*]
# Manage ksplice with Puppet. Valid values are 'yes' (default) and 'no'.
# [*accesskey*]
# The Ksplice Uptrack access key for this host.
# [*proxy_url*]
# The proxy URL used with ksplice. For example "http://proxy.domain.com:8888".
# Not needed if the node has direct Internet connectivity, or if you're
# installing ksplice from your operating system repositories. Defaults to
# 'none' (do not use a proxy).
#
# == Examples
#
# include ksplice
#
# == Authors
#
# Samuli Seppänen <[email protected]>
#
# == License
#
# BSD-lisence
# See file LICENSE for details
#
class ksplice
(
$manage = 'yes',
$accesskey,
$proxy_url = 'none'
)
{
if $manage == 'yes' {
include ::ksplice::softwarerepo
include ::ksplice::install
class { '::ksplice::config':
accesskey => $accesskey,
proxy_url => $proxy_url,
}
}
}