Commit graph

463 commits

Author SHA1 Message Date
Monocots
122acc3d7e Install arch optimised codec 2020-04-16 07:09:41 +02:00
a4b658898b Deb9, use FS 1.8 2020-04-16 07:04:56 +02:00
a52eec4d02 WS 2020-04-16 07:04:25 +02:00
96bf8a0174 apt: implement lsbdistcodename dependent repos 2020-04-16 07:04:07 +02:00
55df1a8d4f Add param for sysmoBTS amps on/off
This is for the sysmoBTS 2050
2020-04-11 05:37:49 +02:00
Monocots
bca9ccae5d Meas: separate the meas_json task
This allows more than one client to open the web meas
2020-04-11 05:29:46 +02:00
Monocots
dc28f03a7c Update FS repo key 2020-04-11 02:09:21 +00:00
Monocots
e784a04d04 Add free numbers variables 2020-04-10 21:15:36 +00:00
Monocots
11f589dafc Add sgsn ip to hiera 2020-03-03 20:17:21 +00:00
root
a6f5127f8f rebase file on Debian installed version
keep the file similiar to the OS installed version
2019-09-12 08:14:29 -05: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
Monocots
fd597be076 Local user ssh config Includes config.local 2019-09-07 09:57:59 +00: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
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