Skip to content

Commit

Permalink
Use modern facts
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl authored and ehelms committed Apr 23, 2020
1 parent 41b0be1 commit 2046d8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
$pulpcore_mirror = $foreman_proxy::plugin::pulp::pulpcore_mirror
$pulpcore = $foreman_proxy::plugin::pulp::pulpcore_enabled

$foreman_proxy_fqdn = $facts['fqdn']
$foreman_proxy_fqdn = $facts['networking']['fqdn']
$foreman_url = $foreman_proxy::foreman_base_url
$reverse_proxy_real = $pulp or $reverse_proxy

Expand Down
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
class foreman_proxy_content::params {

# when not specified, we expect all in one installation
$parent_fqdn = $facts['fqdn']
$parent_fqdn = $facts['networking']['fqdn']

$reverse_proxy = false
$reverse_proxy_port = 8443
Expand Down
2 changes: 1 addition & 1 deletion manifests/pub_dir.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# @param pub_dir_options
# The Directory options as Apache applies them
class foreman_proxy_content::pub_dir (
String $servername = $facts['fqdn'],
String $servername = $facts['networking']['fqdn'],
String $pub_dir_options = '+FollowSymLinks +Indexes',
) {
include foreman_proxy_content
Expand Down

0 comments on commit 2046d8f

Please sign in to comment.