Skip to content

Commit

Permalink
Remove domain variable as domain_name was already set
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Jul 28, 2023
1 parent 7e90980 commit edb8541
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions site/profile/manifests/userportal.pp
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,8 @@
],
}

$domain = lookup('profile::freeipa::base::domain_name')
exec { 'userportal_apiuser':
command => "manage.py createsuperuser --noinput --username root --email root@${domain}",
command => "manage.py createsuperuser --noinput --username root --email root@${domain_name}",
path => [
'/var/www/userportal',
'/var/www/userportal-env/bin',
Expand Down

0 comments on commit edb8541

Please sign in to comment.