Commit graph

404 commits

Author SHA1 Message Date
Monocots
11f589dafc Add sgsn ip to hiera 2020-03-03 20:17:21 +00:00
Monocots
5d789cfac1 Choose osmocom-nitb version based on repo 2019-09-12 13:11:57 +00:00
root
2a0dfb0fc6 Decide osmo-nightly or -latest from hiera value
On some sites we might use nightly, but default to latest.
Make sure to delete old osmocmo-*.list file.
2019-09-12 07:07:11 -05:00
Monocots
f892dd4254 Systemd should start runit after the network is UP 2019-09-11 09:49:00 +00:00
5f7a942782 Install netcat 2019-09-07 15:24:38 +02:00
0b1ab8df7a Add files for deploying to sysmoBTS 2050 2019-09-07 11:55:10 +02:00
be267a8857 Remove lcr runit service installation 2019-09-06 14:47:50 +02:00
Matt Johnson
ac7f99ee90 rhizo_base/freeswitch: Require package before freeswitch user
The freeswitch user and group are added during the freeswitch package
install. Make sure they package has been installed before trying to
create and assign directories to the user and group!
2019-09-06 14:35:58 +02:00
Matt Johnson
c2c1e94584 rhizo_base/apt: Remove inconsistent notify_update
The apt::source resource defaults the parameter notify_update to
true. All other resources in the module do not explicitly specify
notify_update, so it stands out that it is set to its default
here. This commit removes the explicit setting to make the freeswith
repository consistent with the others and not unnecessarily attract
the attention of a future reader inexperienced with puppet.
2019-09-06 14:20:46 +02:00
Matt Johnson
a5bce1a04d rhizo_base/apt: Remove trailing whitespace
This commit should not change behavior.
2019-09-06 14:14:22 +02:00
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
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
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
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
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
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
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
16a61d5462 remove dep on Exec restart-apache 2019-06-24 16:03:11 +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
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
99c13fc1d8 init, add hiera vars 2019-06-16 11:25:08 +00:00
Monocots
e9b8128322 latency check hosts: use variables 2019-06-16 11:16:19 +00:00
Monocots
fc4a90c718 Use rccn master 2019-06-16 11:12:33 +00:00
Monocots
a2197c2865 scheduling, do repo always for now 2019-06-16 11:11:40 +00:00
Monocots
d6cde0ba3c Use osmo-bsc-meas-utils
Use package from osmo repo for meas_json
2019-05-27 18:03:45 +00:00
Monocots
8e3be576a5 packages
don't install osmo-meas

install tmux, fping, mtr
2019-05-27 17:58:34 +00:00
Monocots
19726b2721 apt: osmo: use latest, not nightly 2019-05-27 17:54:33 +00:00
Monocots
c39cdb1d45 Use hiera vars in openbsc 2019-03-30 11:26:21 +00:00
Monocots
e489d3f8dd Add support to playback stream 2019-03-28 22:41:38 +00:00
Monocots
0bd2e6fd61 Add new hiera vars for codec + chans control 2019-03-28 12:43:56 +00:00
dbcf553cfa put nitb default in place 2019-03-06 14:11:24 +00:00
59c19cd8ce init: load new vars from hiera 2019-03-06 13:30:00 +00:00
6f175f2535 init: add scheduling 2019-03-06 13:29:31 +00:00