mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Update repo structure as part of nixification
This commit is contained in:
parent
49e67c64fb
commit
cc0efcfdde
56 changed files with 181 additions and 154 deletions
7
legacy/puppet/production/site/role/manifests/server.pp
Normal file
7
legacy/puppet/production/site/role/manifests/server.pp
Normal 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
|
||||
}
|
||||
16
legacy/puppet/production/site/role/manifests/workstation.pp
Normal file
16
legacy/puppet/production/site/role/manifests/workstation.pp
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue