Add documentation and module boilerplate
This commit is contained in:
30
examples/init.pp
Normal file
30
examples/init.pp
Normal 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:
|
||||
Reference in New Issue
Block a user