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 28 29 30 31
|
# Class: test
#
# This class exists to serve as fixture data for testing the puppet strings face
#
# @example
# class { "test": }
#
# @param package_name The name of the package
# @param service_name The name of the service
# @param myenum
# @enum myenum a Option A
# @enum myenum b Option B
class test (
$package_name = $test::params::package_name,
$service_name = $test::params::service_name,
Enum['a', 'b'] $myenum = 'a',
) inherits test::params {
# validate parameters here
class { 'test::install': } ->
class { 'test::config': } ~>
class { 'test::service': } ->
Class['test']
File {
owner => 'user',
path => 'some/file/path',
}
}
|