Displaying 1 result from an estimated 1 matches for "mymodule_type".
2012 Sep 28
2
nested modules and autoloading
...e
|-- README
|-- manifests
| |-- init.pp
| |-- special_type
| | `-- prereqs.pp
| `-- special_type.pp
|-- spec
| `-- spec_helper.rb
`-- tests
`-- init.pp
4 directories, 7 files
$ egrep -v ''^#|^$'' mymodule/manifests/init.pp
class mymodule($type = hiera(''mymodule_type'', ''client'')) {
case $type {
''client'' : { }
''custom'' : { }
''special_type'' : { include mymodule::special_type }
default : { fail("Unknown mymodule_...