Puppet Class: systemtap::devserver

Defined in:
modules/systemtap/manifests/devserver.pp

Overview

Class systemtap::devserver Development environment for SystemTap probes

Actions:

Installs the systemtap package, the debugging symbols for the Linux kernel
and the kernel headers matching the currently running kernel.

Usage:

include systemtap::devserver


10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'modules/systemtap/manifests/devserver.pp', line 10

class systemtap::devserver {
    require_package([
        'build-essential',
        "linux-image-${::kernelrelease}-dbg",
        "linux-headers-${::kernelrelease}"
    ])

    # require_package creates a dynamic intermediate class that makes declaring
    # dependencies a bit strange. Let's use package directly here.
    if !defined(Package['systemtap']) {
        package { 'systemtap':
            ensure => 'present',
        }
    }
}