Problem:
I am new to Foreman and puppet and would appreciate some assistance with the installation.
Ubuntu 19 essentially the same as Ubuntu 18
This is a blank VM Ubuntu server with only the OS installed. I turned ufw off for the installation but will turn it on once I have everything installed.
I’ve posted my exact steps below.
When it finishes
“Preparing installation Done”
“Something went wrong! Check the log for ERROR-level output”
The first error in /var/log/foreman-installer/foreman.log
“[ERROR 2020-02-27T07:22:37 main] Evaluation Error: Error while evaluating a Function Call, No preferred version defined or automatically detected. (file: /usr/share/foreman-installer/modules/postgresql/manifests/globals.pp, line: 227, column: 5) on node .local”
Most of the errors occur in this path
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/
Additionally, I cannot get to the website. The error says that “This site can’t be reached”
When I search for a solution I found Foreman Installer issue under Ubuntu 18.04
so I deleted my Ubuntu VM and started over
Did the first 8 steps from the installation above then I did
sudo apt install -y puppetserver
When the install finished then did the last 2 steps from above.
Had the exact same outcome, so I am going to wipe out this server so I can start fresh again.
Expected outcome:
Expected the software to install correctly.
Foreman and Proxy versions:
1.24
Foreman and Proxy plugin versions:
1.24
Distribution and version:
Ubuntut 19.10
Other relevant data:
indent preformatted text by 4 spaces
sudo apt-get -y install ca-certificates
cd /tmp && wget https://apt.puppet.com/puppet6-release-bionic.deb
sudo dpkg -i /tmp/puppet6-release-bionic.deb
cd /home/
echo “deb http://deb.theforeman.org/ bionic 1.24” | sudo tee /etc/apt/sources.list.d/foreman.list
echo “deb http://deb.theforeman.org/ plugins 1.24” | sudo tee -a /etc/apt/sources.list.d/foreman.list
wget -q https://deb.theforeman.org/pubkey.gpg -O- | sudo apt-key add -
sudo apt-get update
sudo apt install -y foreman-installer
sudo foreman-installer