This commit is contained in:
Gabriel M. Schuyler 2016-03-30 07:36:18 +00:00
commit 75c48e3fcf
3 changed files with 22 additions and 1 deletions

View File

@ -1,5 +1,14 @@
# Base profiles include all the classes that should be included on all nodes.
# For cross-platform compatibility, this is broken up into platform-appropriate
# subclasses. This class applies the appropriate base profile based on the
# $::kernel fact.
class profile::base { class profile::base {
#the base profile should include component modules that will be on all nodes # Include a platform-appropriate base profile
case $::kernel {
'Linux': { include profile::base::linux }
'windows': { include profile::base::windows }
}
} }

View File

@ -0,0 +1,6 @@
# A 'base' profile should include component modules that will be on all nodes
# of a particular operating system.
class profile::base::linux {
}

View File

@ -0,0 +1,6 @@
# A 'base' profile should include component modules that will be on all nodes
# of a particular operating system.
class profile::base::windows {
}