Skip to content

Commit

Permalink
use a dedicated data entry for stable release
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Aug 29, 2024
1 parent 7b13ffb commit 78d1281
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions puppet/data/common.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
stable_release: '3.11'
profiles::web::stable: '%{alias("stable_release")}'

backup_servicename: 'backups.theforeman.org'
backup_username: 'backup-%{facts.networking.hostname}'
foreman_servicename: 'foreman.theforeman.org'
Expand Down
2 changes: 1 addition & 1 deletion puppet/modules/profiles/manifests/web.pp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# in a 2 pass setup. First Apache needs to run for Letsencrypt to function.
# Then Letsencrypt can be enabled. Also useful to turn off in test setups.
class profiles::web (
String[1] $stable = '3.11',
String[1] $stable,
Hash[String, Hash] $debugs_htpasswds = {},
Boolean $https = true,
) {
Expand Down

0 comments on commit 78d1281

Please sign in to comment.