mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Updated based on puppet-lint gem update
This commit is contained in:
parent
65c510a3db
commit
7ed5a47091
7 changed files with 14 additions and 14 deletions
|
|
@ -12,18 +12,18 @@ node default {
|
|||
}
|
||||
|
||||
node 'bowl' {
|
||||
include ::role::workstation
|
||||
include role::workstation
|
||||
}
|
||||
|
||||
node 'gene' {
|
||||
include ::role::workstation
|
||||
include role::workstation
|
||||
}
|
||||
|
||||
node 'mintstring' {
|
||||
include ::role::workstation
|
||||
include role::workstation
|
||||
}
|
||||
|
||||
node 'yellowbadger' {
|
||||
include ::role::workstation
|
||||
include role::workstation
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
# Select a profile based on the OS family
|
||||
class profile::linux {
|
||||
case $facts['os']['family'] {
|
||||
'Debian': { include ::profile::linux::debian }
|
||||
'RedHat': { include ::profile::linux::el }
|
||||
'Debian': { include profile::linux::debian }
|
||||
'RedHat': { include profile::linux::el }
|
||||
default: { fail("${facts['os']['family']} isn't supported yet") }
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ class profile::linux::el {
|
|||
$gid = find_group($homedir)
|
||||
$user = homedir_to_user($homedir)
|
||||
|
||||
include ::profile::linux::el::docker_repos
|
||||
include profile::linux::el::docker_repos
|
||||
Yumrepo <| |> -> Package <| |> # lint:ignore:spaceship_operator_without_tag
|
||||
|
||||
$yum_packages = [
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
# are not standing in front of the system and / or there is no graphical
|
||||
# interface.
|
||||
class role::server {
|
||||
include ::profile::base
|
||||
include profile::base
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
# Includes all the profiles needed for a workstation
|
||||
class role::workstation {
|
||||
include ::profile::base
|
||||
include profile::base
|
||||
|
||||
case $facts['kernel'] {
|
||||
'Darwin': {
|
||||
include ::profile::mac
|
||||
include profile::mac
|
||||
}
|
||||
'Linux': {
|
||||
include ::profile::linux
|
||||
include profile::linux
|
||||
}
|
||||
default: {
|
||||
fail("${facts['kernel']} hasn't been setup in the workstation role yet.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue