File: nodes

package info (click to toggle)
puppet 0.20.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,072 kB
  • ctags: 3,365
  • sloc: ruby: 47,009; sh: 496; lisp: 143; xml: 122; makefile: 67
file content (20 lines) | stat: -rw-r--r-- 419 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $Id: nodes 418 2005-07-18 20:05:27Z luke $

# 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
}