Commit graph

443 commits

Author SHA1 Message Date
Matt Johnson
57de111236 rhizo_base: Require apt-transport-https before apt sources
The package apt-transport-https is required to successfully add some
of the debian repos. This commit moves the package resource
installation into the rhizo_base::apt::debian class instead of the
rhizo_base:📦:debian class to break a dependency cycle that
would otherwise exist if rhizo_base::apt::debian depended on all of
rhizo_base:📦:debian.
2019-09-06 14:10:21 +02:00
Matt Johnson
f1cc836270 rhizo_base/freeswitch: Install sysvinit package in ubuntu only
The freeswitch sysvinit package is not needed on a debian install, and
actually actively conflicts with debian's systemd based installation.
2019-09-06 14:09:43 +02:00
d2afd66bed Don't install LCR 2019-09-06 14:08:54 +02:00
Matt Johnson
8bdf6646e8 rhizo_base/packages: Ensure package installed before config
The /etc/php/7.0/apache2 directory is created by the
libapache2-mod-php package on installation. Be sure this package is
installed before attempting to set its configuration files!
2019-09-06 14:05:46 +02:00
Monocots
2c90ef70aa Purge the roaming subs less often 2019-09-06 12:04:22 +00:00
Monocots
c82822b5a7 NITB: data, use lac for unique NSEI
Also use the lac to form the local port
and use the ggsn ip address variable for the sgsn

FIXME: etc etc
2019-09-06 12:03:39 +00:00
Monocots
e7ea6b15f0 Add user ssh config
Add an ssh config with shortcut names to the main LiteCel
2019-09-06 12:00:43 +00:00
Matt Johnson
a0543bf893 rhizo_base: Python ESL requires packages for wheel build
The python-ESL package, installed via pip, has dependencies on some
build materials that need to be installed via apt-get first.
2019-09-06 13:58:10 +02:00
Matt Johnson
439489b42b rhizo_base: Ensure runit installed before using runit
Make sure that runit is installed and configured before attempting to
restart services using /usr/bin/sv (aka runit).
2019-09-06 13:57:51 +02:00
Matt Johnson
633c08fcf5 rhizo_base: Whitespace fixes
This commit should not change behavior.
2019-09-06 13:49:52 +02:00
Monocots
f2ebee2018 clone a private repo with call rates
the repo contains current rates in SQL format
and some scripts to import
2019-09-04 10:35:00 +00:00
Monocots
a794825a5c Add sip connector config and runit files 2019-08-17 10:50:19 +00:00
Monocots
5853dadea3 Remove quotes around numeric config value 2019-08-12 12:18:11 +00:00
Monocots
bae5ed99a5 Continue to run nitb from runit for the moment
Ensure both possible; osmo-nitb, osmocom-nitb systemd
services are stopped and disabled.
2019-08-10 08:14:32 +00:00
Monocots
29d0cd7eb6 packages, nitb->1.3.1
Also make sure than osmo-nitb systemd service does not hang around
2019-08-10 08:00:54 +00:00
Monocots
a2e12b382c config: use mncc_ip_address 2019-08-10 08:00:04 +00:00
Monocots
dd2878b076 Swap LCR for osmo-sip-connector
Install osmo-sip-connector from package repo
Install the sip connector config file.
Disable LCR in runit
Also adds hiera param lcls for new functionality with sip-connector
2019-08-10 07:58:54 +00:00
Monocots
b179f58489 FreeSwitch, make use of the mncc_ip_address variable 2019-08-10 07:12:35 +00:00
Keith
32256fb66f
Merge pull request #13 from matt9j/devel-contains-dependencies
rhizo_base: Add contains dependencies
2019-08-08 13:39:47 +02:00
Monocots
d5ab417196 fix AMR mode 4, fix erroneous start-mode in nitb config 2019-08-08 11:38:10 +00:00
Matt Johnson
3e220df8fe rhizo_base: Add contains dependencies
Puppet treats included classes specially, and does not assume that
they are contained in their outside class for the sake of dependency
ordering. This means that any other resources requiring the base
non-distribution specific classes were actually not capturing the
ordering dependencies on resources defined in the distribution
specific class!
2019-07-18 12:38:07 -05:00
Keith
a817c3be52
Merge pull request #8 from matt9j/devel-concat-update
Devel concat update
2019-07-17 11:07:53 +02:00
Matt Johnson
b19c20d9f8 submodules: Update concat to v4.2.1
This update addresses the bug
https://tickets.puppetlabs.com/browse/MODULES-6545 resulting in a
spurious concat warning from the postgresql module. This commit makes
the minimum update to address this issue, although much newer versions
of the concat module are available at this time (v6.0.0).
2019-07-15 10:57:49 -05:00
Matt Johnson
d09285ea3e rhizo_base/openbsc: Update osmocom-nitb to 1.3.0
A new tag has been pushed and 1.3.0 is now the version available in
the osmocom/latest repos.

http://git.osmocom.org/openbsc/tag/?h=1.3.0
2019-07-14 23:45:39 -05:00
Monocots
f10d788110 Add webphone prefix to config_values 2019-07-13 12:17:13 +00:00
Monocots
77eab87a17 Avoid error on 1st run; make parent directory 2019-07-02 09:15:30 +00:00
Monocots
7f6a763640 backups: commit lines that escaped from 58f74c30 2019-07-02 09:01:33 +00:00
Monocots
58f74c3095 backup strategy: reduce size of daily backup dumps
We need a new backup strategy.
In the meantime, dramatically reduce the size by not dumping large tables.
TODO: even increase the frequency of dumping the more volatile data?
TODO: implement some kind of incremental backup.
2019-06-30 15:48:30 +00:00
Monocots
36709ef8cf Symlink puppet state
Add symlink for puppet state directory so rapi finds it
where it used to be.
2019-06-28 09:21:10 +00:00
Monocots
a213a662b0 Install /etc/tmux.conf 2019-06-27 11:16:17 +00:00
Monocots
c20386a289 Add some rccn-functions 2019-06-27 11:07:11 +00:00
Monocots
16a61d5462 remove dep on Exec restart-apache 2019-06-24 16:03:11 +00:00
Monocots
bc9dabc700 nitb template fix 2019-06-24 16:02:46 +00:00
Monocots
93a81c0bbf Instal sgsn, script to gen sgsn config 2019-06-24 16:02:22 +00:00
Monocots
07d3d84c5f merge reqs for nitb template 2019-06-24 15:38:22 +00:00
Monocots
996b86db87 merge legacy init.pp 2019-06-24 15:14:20 +00:00
Monocots
580e489ce1 merge legacy nitb template 2019-06-24 14:57:09 +00:00
Monocots
d50e59fe5c Add vty script to bin 2019-06-16 11:51:49 +00:00
Monocots
b083dd40a9 FS: put the external profile on port 5059 2019-06-16 11:50:13 +00:00
Monocots
e0ece39cee CRON (re)activate sms_cleanup + update riak stategy 2019-06-16 11:48:54 +00:00
Monocots
a050b6f1ab Update rccn util functions 2019-06-16 11:47:36 +00:00
Monocots
179919452f NITB template: use tch/f 2019-06-16 11:47:13 +00:00
Monocots
0000d3e2f4 Establish an default value for max chans in use to
allow time unlimited local call
2019-06-16 11:43:26 +00:00
Monocots
0c6e4a43be Use nitb 1.2.0 2019-06-16 11:42:33 +00:00
Monocots
aff8e24952 Install sshd, telnet 2019-06-16 11:42:11 +00:00
Monocots
6334e0cf67 FS: install sounds mx-maria 2019-06-16 11:41:39 +00:00
Monocots
bc67a28644 Debian freeswitch, install binary lib that uses dyn type 98
Freeswitch starts dynamic PT at 102, see
    https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/switch_core_media.c#10217
    /* it could be 98 but chrome reserves 98 and 99 for some internal stuff even though they should not.
       Everyone expects dtmf to be at 101 and Its not worth the trouble so we'll start at 102 */
    Thanks again google bully. :-(

    This is not recompiled just bit patched to change 102 to 98. Sky did not fall down (yet).
2019-06-16 11:40:35 +00:00
Monocots
404f5674e7 Update AMR to use modes 4,5 and OA 2019-06-16 11:39:03 +00:00
Monocots
1c0962480b FS monitoring, check the outgoing profile 2019-06-16 11:35:33 +00:00
Monocots
54be005968 Revert to turning amps ON
partially reverts 9e5c09cb80
but keeping the turn_off_amplifier.sh script.
2019-06-16 11:34:48 +00:00