Commit graph

767 commits

Author SHA1 Message Date
Monocots
b16e3e3b0b FS, Add Opus codec on outgoing profile 2020-04-16 07:23:00 +02:00
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
Keith
3f29dcab2a
Merge pull request #12 from matt9j/devel-add-default-keys
Add default keys
2019-07-19 15:28:32 +02: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
e2b93afc67 hiera: Add missing key rhizo::local_bsc_cfg
The key referred to in `modules/rhizo_base/manifests/openbsc.pp`. A
default value of 0 (anything but "1") will result in a new config
being generated from a template.
2019-07-18 11:41:30 -05:00
Matt Johnson
1e82cd62aa hiera: Add missing rhizo::gprs key
rhizo::grps is referred to in
`modules/rhizo_base/manifests/init.pp`. The default value of "none" is
only a guess but allows puppet provisioning to complete and the
osmocom stack to start.
2019-07-18 11:41:30 -05:00
Matt Johnson
5608410953 hiera: Add value for missing key rhizo::ggsn_ip_address
By default assume the ggsn is running on localhost. The
ggsn_ip_address key is accessed in
`modules/rhizo_base/manifests/openbsc.pp`.
2019-07-18 11:41:30 -05:00
Matt Johnson
9b75143309 hiera: Specify a value for the ntp_servers hiera key
The ntp_servers key is referred to in
`modules/rhizo_base/manifests/init.pp` and was otherwise undefined. It
is in the common file since it seems similar to other parameters
already in the file, but there is no strict reason for the current
location. The assigned value is also just an initial default guess.
2019-07-18 10:40:02 -05:00
Keith
a817c3be52
Merge pull request #8 from matt9j/devel-concat-update
Devel concat update
2019-07-17 11:07:53 +02:00
Keith
83d398f48a
Merge pull request #9 from matt9j/devel-nitb-update
rhizo_base/openbsc: Update osmocom-nitb to 1.3.0
2019-07-17 11:06:37 +02:00
Matt Johnson
1ecdfa1f66 readme: Remove no longer needed caveat 2019-07-15 10:58:52 -05:00