From 4341e99135d5c517efc79b9d47788a7041b4d358 Mon Sep 17 00:00:00 2001 From: Keith Date: Tue, 2 Oct 2018 14:33:57 +0100 Subject: [PATCH] Update README.md Update link to libssl 1.0.0 --- README.md | 88 +++++++++++++++++++++++++++---------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/README.md b/README.md index d26b604..b9ed6c9 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,16 @@ -# Rhizomatica Puppet repository - -This is a puppet recipe to install and prepare an installation of RCCN on a Debian 9 system. - -This is earmarked to be the future default install. For now it probably does not work for you. - -Please also see the README in the master branch of this repo. - -**INSTALLATION:** - -Install Debian 9 (stretch) amd64 from -[https://www.debian.org/distrib/netinst](https://www.debian.org/distrib/netinst) - +# Rhizomatica Puppet repository + +This is a puppet recipe to install and prepare an installation of RCCN on a Debian 9 system. + +This is earmarked to be the future default install. For now it probably does not work for you. + +Please also see the README in the master branch of this repo. + +**INSTALLATION:** + +Install Debian 9 (stretch) amd64 from +[https://www.debian.org/distrib/netinst](https://www.debian.org/distrib/netinst) + - During the Install process, create a user '**rhizomatica**' - Partition as you please, otherwise "**Guided - use entire disk**" - As above, otherwise "**All files in one partition**" is fine. @@ -23,9 +23,9 @@ Install Debian 9 (stretch) amd64 from `root@host~# apt-get install git puppet puppetmaster` (Accept all the additional packages) - -`root@host:~# cd /etc/puppet/code` - + +`root@host:~# cd /etc/puppet/code` + `root@host:/etc/puppet/code# mkdir environments` `root@host:/etc/puppet/code# mkdir hiera` @@ -62,7 +62,7 @@ You are now ready to run the puppet agent to prepare and configure your system. **CAVEAT:** FreeSwitch 1.6 is not fully supported yet on Debian 9, but the only problem is a dependency on libssl1.0.0, which is not packaged for Debian 9, so you only need to do the following by hand first: Don't forget, or freeswitch will not install. ``` -wget http://http.debian.net/debian/pool/main/o/openssl/libssl1.0.0_1.0.1t-1%2bdeb8u7_amd64.deb +wget http://http.debian.net/debian/pool/main/o/openssl/libssl1.0.0_1.0.2l-1~bpo8+1_amd64.deb dpkg -i libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb rm libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb ``` @@ -76,7 +76,7 @@ Some package installations will fail, so when it is finished you need to do it o `root@host:~# puppet agent --test` -Done! Now you can run the final RCCN setup step, but before you do this, +Done! Now you can run the final RCCN setup step, but before you do this, take a quick look at CAVEATS below.: `root@host:~# cd /var/rhizomatica/rccn` @@ -90,31 +90,31 @@ Now reboot your system and [file a bug report](https://github.com/Rhizomatica/pu ---------- - - -**CAVEATS:** - -- Because you don't have the key to our private repo, you will not have any sounds in `/usr/share/freeswitch/sounds/rccn/`. -TIC is not publically distributing the sound files used on the TIC network. Someone needs to make some generic sounds. - -- You might want to do `systemctl restart osmo-nitb` before running the -install.py, as if the NITB has never run, the sqlite HLR database will not -exist yet. - What's more, systemd is not starting the NITB on reboot. You -need to do `systemctl start osmo-nitb` manually. :-/ -Same goes for freeswitch. FIXES?? - -- After install and reboot, considering add the user rhizomatica to the sudo group: `usermod -aG sudo rhizomatica` - -- After install, you do not really need the puppet master service running, so -consider disabling it. - -- There is one persistant error from puppet, but it doesn't seem to affect us: -``` -Error: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.6/main/pg_hba.conf]/Concat_file[/etc/postgresql/9.6/main/pg_hba.conf]: Failed to generate additional resources using 'eval_generate': comparison of Array with Array failed -``` - + + +**CAVEATS:** + +- Because you don't have the key to our private repo, you will not have any sounds in `/usr/share/freeswitch/sounds/rccn/`. +TIC is not publically distributing the sound files used on the TIC network. Someone needs to make some generic sounds. + +- You might want to do `systemctl restart osmo-nitb` before running the +install.py, as if the NITB has never run, the sqlite HLR database will not +exist yet. - What's more, systemd is not starting the NITB on reboot. You +need to do `systemctl start osmo-nitb` manually. :-/ +Same goes for freeswitch. FIXES?? + +- After install and reboot, considering add the user rhizomatica to the sudo group: `usermod -aG sudo rhizomatica` + +- After install, you do not really need the puppet master service running, so +consider disabling it. + +- There is one persistant error from puppet, but it doesn't seem to affect us: +``` +Error: /Stage[main]/Postgresql::Server::Config/Concat[/etc/postgresql/9.6/main/pg_hba.conf]/Concat_file[/etc/postgresql/9.6/main/pg_hba.conf]: Failed to generate additional resources using 'eval_generate': comparison of Array with Array failed +``` + ---------- - - - + + +