puppet-prod/site/profiles/manifests/packages.pp
Ben Vincent 5354c99b1e feat: add rundeck profile
- export mysql user for each rundeck server
- ensure the jdbc driver for mariadb is available
- exclude jq from default packages (managed by rundeck)
- add groups for admin/user for each project in rundeck
- add consul service
- add vault certificates
- add ssh principals
- add nginx simpleproxy
2024-07-28 01:51:41 +10:00

20 lines
511 B
Puppet

# This class manages the installation of packages for the base profile
#
# Parameters:
# - $include: A hash of package names to be managed
# - $exclude: An array of package names to be removed from managed hash
#
class profiles::packages (
Hash $include = {},
Array[String] $exclude = [],
) {
# Filter the include hash to remove the packages listed in exclude
$filtered_include = filter($include) |$key, $value| {
!($key in $exclude)
}
# Manage packages
ensure_packages($filtered_include)
}