File: triple_nested_classes.pp

package info (click to toggle)
puppet-strings 4.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,412 kB
  • sloc: ruby: 7,324; makefile: 12
file content (27 lines) | stat: -rw-r--r-- 673 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
21
22
23
24
25
26
27
# Testing tested classes
# docs stuff
# @param nameservers [String] Don't ask me what this does!
# @param default_lease_time [Integer[1024, 8192]] text goes here
# @param max_lease_time does stuff
class outer (
		$dnsdomain,
		$nameservers,
		$default_lease_time = 3600,
		$max_lease_time     = 86400
		) {
	# @param options [String[5,7]] gives user choices
	# @param multicast [Boolean] foobar
	# @param servers yep, that's right
	class middle (
      $options   = "iburst",
      $servers,
      $multicast = false
    ) {
    class inner (
        $choices   = "uburst",
        $secenekler   = "weallburst",
        $boxen,
        $manyspell = true
      ) {}
    }
}