Update repo structure as part of nixification

This commit is contained in:
Gene Liverman 2023-09-14 00:01:31 -04:00
parent 49e67c64fb
commit cc0efcfdde
56 changed files with 181 additions and 154 deletions

View file

@ -0,0 +1,7 @@
# Includes all the profiles needed for a server.
# One big difference between this and the workstation role is that you generally
# are not standing in front of the system and / or there is no graphical
# interface.
class role::server {
include profile::base
}

View file

@ -0,0 +1,16 @@
# Includes all the profiles needed for a workstation
class role::workstation {
include profile::base
case $facts['kernel'] {
'Darwin': {
include profile::mac
}
'Linux': {
include profile::linux
}
default: {
fail("${facts['kernel']} hasn't been setup in the workstation role yet.")
}
} # end of kernel case statement
}