# apt-get install foreman puppet-theforeman-foreman puppet-theforeman-puppetserver-foreman
#systemctl restart puppetserver
#systemctl restart puppet
# railsctl setup foreman || echo "Ошибка подготовки"
Work dir is '/var/lib/foreman'
Processing rails application 'foreman' setup...
Applying variables from '/etc/sysconfig/foreman'
Renewing dependencies...
Initializing secret...
Initializing encryption key...
Initializing database...
Checking migration and seeds...
Generating API cache...
Cleaning...
Login credentials: admin / 9T7Z8SzYXMtghJFr
В строке Login credentials будут указаны логин и автоматически созданный пароль администратора.
Примечание
# grep "Login credentials" /var/log/foreman/ -r
/var/log/foreman/db_setup.log:Login credentials: admin / 9T7Z8SzYXMtghJFr
# systemctl enable --now foreman
https://localhost:2345
:
Примечание