summaryrefslogtreecommitdiffstats
path: root/examples/nodes
blob: 42488e689e90d7a987d4c1e1833688cfb117656b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $Id$

# define nodes

#service.setpath("../examples/root/etc/init.d")

Service {
    path => "../examples/root/etc/init.d"
}

import "classing"

sleepserver {
    path => $operatingsystem ? {
        sunos => "../examples/root/etc/configfile",
        hpux => "../examples/other/etc/configfile",
        default => "../examples/root/etc/configfile"
    },
    schedule => true
}