Skip to content

Commit

Permalink
Add home variable for stagingyum vhost
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms authored and ekohl committed Aug 24, 2023
1 parent 15844e7 commit cf640bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions puppet/modules/web/manifests/vhost/stagingyum.pp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Stdlib::Fqdn $servername = 'stagingyum.theforeman.org',
Stdlib::Absolutepath $yum_directory = '/var/www/vhosts/stagingyum/htdocs',
String $user = 'yumrepostage',
Stdlib::Absolutepath $home = "/home/${user}",
) {
$yum_directory_config = [
{
Expand All @@ -28,6 +29,8 @@

secure_ssh::receiver_setup { $user:
user => $user,
homedir => $home,
homedir_mode => '0750',
foreman_search => 'host ~ node*.jenkins.*.theforeman.org and (name = external_ip4 or name = external_ip6)',
script_content => template('web/deploy-stagingyum.sh.erb'),
}
Expand Down

0 comments on commit cf640bb

Please sign in to comment.