Add documentation and module boilerplate

This commit is contained in:
2016-10-10 23:18:58 +01:00
parent d3f8c5f5c9
commit 404f09c426
12 changed files with 384 additions and 0 deletions

30
examples/init.pp Normal file
View File

@@ -0,0 +1,30 @@
# The baseline for module testing used by Puppet Labs is that each manifest
# should have a corresponding test manifest that declares that class or defined
# type.
#
# Tests are then run by using puppet apply --noop (to check for compilation
# errors and view a log of events) or by fully applying the test in a virtual
# environment (to compare the resulting system state to the desired state).
#
# Learn more about module testing here:
# https://docs.puppet.com/guides/tests_smoke.html
#
class {
'sabayon':
}
enman_repo { 'community':
ensure => present,
}
entropy_mask { 'mask-community-by-default':
repo => 'community',
}
entropy_unmask { 'unmask-sublime':
package => 'app-text/sublime-text',
repo => 'community',
}
# vim: set ts=2 sw=2 expandtab: