File: nodes

package info (click to toggle)
puppet 0.24.5-3%2Blenny2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 9,688 kB
  • ctags: 7,630
  • sloc: ruby: 97,655; sh: 721; lisp: 262; makefile: 167; xml: 122; python: 28
file content (20 lines) | stat: -rw-r--r-- 381 bytes parent folder | download | duplicates (4)
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
}