Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System foreman-proxy group #765

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@
system => true,
}

group { $foreman_proxy::group:
system => true,
if $foreman_proxy::manage_foreman_proxy_group {
group { $foreman_proxy::group:
system => true,
}
}

# Provided by packaging, defined here to allow autorequire for files
Expand Down
3 changes: 3 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
# $manage_puppet_group:: Whether to ensure the $puppet_group exists. Also ensures group owner of ssl keys and certs is $puppet_group
# Not applicable when ssl is false.
#
# $manage_foreman_proxy_group:: Whether to set foreman-proxy group as a system group with lower GID.
#
# $puppet:: Enable Puppet module for environment imports and Puppet runs
#
# $puppet_listen_on:: Protocols for the Puppet feature to listen on
Expand Down Expand Up @@ -317,6 +319,7 @@
Integer[0] $puppetca_token_ttl = 360,
Optional[Stdlib::Absolutepath] $puppetca_certificate = undef,
Boolean $manage_puppet_group = true,
Boolean $manage_foreman_proxy_group = true,
Boolean $puppet = true,
Foreman_proxy::ListenOn $puppet_listen_on = 'https',
Stdlib::HTTPUrl $puppet_url = $foreman_proxy::params::puppet_url,
Expand Down