Sha256: 1b0489ca3f28fb94dd6b048b93acdc59ed772444f379199f8c3c80d2cb3ab21f

Contents?: true

Size: 671 Bytes

Versions: 1

Compression:

Stored size: 671 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puppet-strings-2.4.0 spec/fixtures/acceptance/modules/test/manifests/init.pp