Skip to content

Commit

Permalink
move role dtn to ls, add flag to firewall
Browse files Browse the repository at this point in the history
  • Loading branch information
hreinking committed Nov 30, 2020
1 parent 0768908 commit 48d7774
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
---
classes:
- "sudo"
- "accounts"
- "puppet_agent"
- "ssh"
- "easy_ipa"
- "rsyslog"
- "profile::icinga::agent"
- "profile::core::common"

ssh::server_options:
Port: 2712
sudo::configs:
wheel_b:
content: "%wheel_b ALL=(ALL) NOPASSWD: ALL"


profile::core::common::manage_firewall: false
profile::core::common::deploy_icinga_agent: true
profile::icinga::agent::host_template: "DtnTemplate"
profile::icinga::agent::icinga_master_fqdn: "icinga-master.ls.lsst.org"
Expand Down
9 changes: 8 additions & 1 deletion site/profile/manifests/core/common.pp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# @param deploy_icinga_agent
# Enables or disable the installation of icinga agent on the node
#
# @param manage_firewall
# Whether or not to include the firewall class
#
# @param manage_puppet_agent
# Whether or not to include the puppet_agent class
#
Expand Down Expand Up @@ -32,12 +35,12 @@
Boolean $manage_krb5 = true,
Boolean $manage_ldap = true,
Boolean $manage_ipa = true,
Boolean $manage_firewall = true,
) {
include accounts
include augeas
include easy_ipa
include epel
include firewall
include irqbalance
include network
include profile::core::dielibwrapdie
Expand All @@ -59,6 +62,10 @@
include profile::icinga::agent
}

if $manage_firewall {
include firewall
}

if $manage_puppet_agent {
include puppet_agent
}
Expand Down

0 comments on commit 48d7774

Please sign in to comment.