Commit 11ab8030 authored by mh's avatar mh
Browse files

new skeleton and module build up way

parent c138aa68
......@@ -5,5 +5,27 @@
# modules_dir { "skeleton": }
class skeleton {
case $operatingsystem {
gentoo: { include skeleton::gentoo }
default: { include skeleton::base }
}
}
class skeleton::base {
package{'skeleton':
ensure => installed
}
service{skeleton:
ensure => running,
enable => true,
#hasstatus => true, #fixme!
}
}
class skeleton::gentoo inherits skeleton::base {
Package[skeleton]{
category => 'some-category',
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment