Commit graph

131 commits

Author SHA1 Message Date
67df350f1b Redirect webroot to RAI 2021-02-26 04:56:22 +01:00
Monocots
bf116cc6b4 Add welcome_sms 2021-02-24 06:55:40 +00:00
Monocots
e1e194b7ae Fix repo scheduling
0 != "0"
2020-12-17 20:02:37 +00:00
92dda40864 Add config variable needed by split stack branch 2020-10-28 17:03:24 +01:00
814c343721 Enable commenting of cronjobs if the system is not yet in production
If a system is not fully deployed, then these cronjobs will
generate errors and a lot of email.
2020-10-21 18:31:18 +02:00
d8fdd6ae94 Set rhizo_base:sms_db based on value of osmo_stack 2020-09-27 09:09:34 +02:00
2ac7e16908 We don't need the File resource for /var/rhizomatica at all 2020-09-11 22:25:02 +02:00
b7528bbc26 bts_defs.json; require vcsrepo, not file
The creation of this file should depend on the Vcsrepo, not on the File
directive, otherwise on an initial install if the file is created first,
then Vcsrepo will refuse to clone the repo:

  Error: Path /var/rhizomatica exists and is not the desired repository.
2020-09-11 19:02:37 +02:00
10897aa03a Standardise a mailer setup
At least on Debian 10, use msmtp and install a basic configuration.
Previously the network was using a mishmash of exim, sendmail or
whatever happened to be installed. For the moment, install the config
also on debian9, some of which are using ssmtp, which is no longer
maintained in debian :(
2020-09-11 13:08:56 +02:00
88b840a2e6 Cosmetic, reorder stanzas 2020-09-09 14:01:21 +02:00
a783cb49e3 Schedule repos that change less to once per day 2020-09-09 13:53:21 +02:00
3ee2735019 Add hiera param to disable rccn vcsrepo
In a development, you may not want puppet to change the remote and branch
in the rccn repo, so now you can disable that by setting the hiera param
'notouchrepo' - which cause the repo to rnu with a schedule of 'never'
2020-09-09 13:51:36 +02:00
700b1a4fec Add a json BTS/TRX definition file to rccn 2020-09-09 13:46:03 +02:00
30bc66ca71 Add sms_db param and sms() shell function 2020-09-02 13:34:21 +02:00
f6395068c8 Split stack: Initial commit install/configure
This commit installs the osmo stack daemons and configuration
if the hiera parameter rhizo::osmo_stack is 'split'

Setting this param won't break anything for a nitb based install,
but it will disable running the nitb and run osmo-bsc instead.
2020-08-28 17:08:37 +02:00
85b3ab856c WS and comments 2020-05-22 04:20:28 +02:00
8b2e6e6eb3 Create templates for BTS config 2020-05-22 04:19:13 +02:00
d29e4b4b85 Add more bts=>user mapping 2020-05-21 07:33:11 +02:00
Monocots
a04e2ea045 Add users for BTS types 2020-05-21 01:49:52 +00:00
0fb82f75b5 Correct some permissions in bin 2020-05-21 03:02:36 +02:00
ec6278278b Add dids to config and vars 2020-05-20 02:55:58 +02:00
Monocots
149014be19 Use the correct user to ssh to the BTS 2020-05-19 23:00:40 +00:00
Monocots
4075d9ec29 Get hiera param for outbound rate type 2020-05-19 22:56:06 +00:00
Monocots
0d1a7d4b82 Add a param for a manual crontab 2020-05-19 22:33:12 +00:00
98648569aa Add opkg credentials for BTS 2020-05-09 05:53:05 +02:00
3b68e47730 Ensure exec permissions on script in ~/bin
Adds module 'recursive_file_permissions' to do this
2020-05-01 01:32:51 +02:00
9685f7598c Add script to update from nightly 2020-04-29 06:24:13 +02:00
5238b5a847 First version of BTS provision script 2020-04-29 05:04:58 +02:00
3becae1f23 Adding skeleton test file to BTS scripts 2020-04-29 03:48:57 +02:00
e2e8c76b70 MEAS: make sure the pipe is a pipe 2020-04-28 23:52:41 +02:00
be9d9573b8 Update the meas-web installation
Use new repo and add BTS definitions file
2020-04-28 23:17:38 +02:00
c506d47b76 joerc is slightly different in versions 4.4/4.6 2020-04-17 04:53:20 +02:00
Monocots
7d452b0f0c Don't use 'source_permissions' 2020-04-17 04:51:10 +02:00
Monocots
4996cd3c43 Add config params for jitter buffer 2020-04-16 07:32:23 +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
e784a04d04 Add free numbers variables 2020-04-10 21:15:36 +00:00
0b1ab8df7a Add files for deploying to sysmoBTS 2050 2019-09-07 11:55:10 +02:00
d2afd66bed Don't install LCR 2019-09-06 14:08:54 +02: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
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
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
996b86db87 merge legacy init.pp 2019-06-24 15:14:20 +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