puppet/hieradata/common.yaml

134 lines
4.5 KiB
YAML

#Admin config
rhizo::mail_admins: "postmaster@rhizomatica.org"
rhizo::advice_email: "[ 'postmaster@rhizomatica.org' ]"
rhizo::smsc_password: "Password"
rhizo::rhizomatica_dir: "/var/rhizomatica"
rhizo::sq_hlr_path: "/var/lib/osmocom/hlr.sqlite3"
rhizo::password_hash: "$6$FM010nsT$FhByUmcQNo4snzPVfbMuTVyVrwmuzwsnsJ/CyUkk7yu7NKNA2zzTCF/UwrK6U4ZDU6KmkSNjtM0UUNBpj4GMo1"
#PostgreSQL config
rhizo::pgsql_db: "rhizomatica"
rhizo::pgsql_user: "rhizomatica"
rhizo::pgsql_pwd: "rhizomatica"
rhizo::pgsql_host: "localhost"
#Call limits
rhizo::limit_local_calls: "1"
rhizo::limit_local_minutes: "5"
rhizo::charge_local_calls: "0"
rhizo::charge_local_rate: ""
rhizo::charge_local_rate_type: ""
rhizo::charge_internal_calls: "0"
rhizo::charge_internal_rate: ""
rhizo::charge_internal_rate_type: ""
rhizo::charge_inbound_calls: "0"
rhizo::charge_inbound_rate: ""
rhizo::charge_inbound_rate_type: ""
#SMS config
rhizo::smsc_shortcode: "10000"
rhizo::sms_sender_unauthorized: "Tu usuario no está autorizado en esta red. Por favor registre su teléfono."
rhizo::sms_destination_unauthorized: "Este usuario no se ha registrado. Él no va a recibir su mensaje."
rhizo::sms_welcome_roaming: "Bienvenido a la red de telefonia movil comunitaria de %s. Ya puedes realizar llamadas y enviar mensajes."
rhizo::sms_credit_added: "La cantidad de %s pesos fue abonado con exito a su cuenta. Su balance actual es %s pesos"
#RAI user/password
rhizo::rai_admin_user: "admin"
rhizo::rai_admin_pwd: "password"
#Kannel config
rhizo::kannel_server: "127.0.0.1"
rhizo::kannel_port: "14002"
rhizo::kannel_username: "rhizomatica"
rhizo::kannel_sendsms_password: "123abcde"
rhizo::kannel_admin_password: "123abcde"
rhizo::sgsn_ip_address: "172.16.0.1"
rhizo::ggsn_ip_address: "192.168.1.1"
#Monthly subscription messages
rhizo::notice_msg: "Favor de pagar su cooperacion mensual de 40 pesos. Gracias."
rhizo::reminder_msg: "Recuerda: su servicio sera desactivado si no paga su cuota antes del 7 de cada mes. Gracias."
rhizo::deactivate_msg: "Su servicio ha sido desactivado hasta que haga su cooperacion mensual."
#OpenBSC config
rhizo::ms_max_power: "33"
rhizo::max_power_red: "0"
rhizo::bts_type: "litecel"
rhizo::gprs: "active"
rhizo::local_bsc_cfg: "0"
rhizo::bts_opkg_creds: "USER:PASS"
rhizo::bts_pass: "password"
# Typical BTS Config (one SysmoBTS 2050):
# Master
rhizo::bts:
-
ip: "172.16.0.11"
name: "Master BTS"
model: "2050M"
band: "GSM850"
lac: "100"
type: "sysmobts"
bsic: "63"
uid: "0"
ms_maxp: "33"
gprs_m: "egprs"
nom: "37"
red: "0"
trx:
-
chan: "247"
# Slave
-
ip: "172.16.0.12"
name: "Slave BTS"
model: "2050S"
band: "GSM850"
lac: "100"
type: "sysmobts"
bsic: "63"
uid: "1"
ms_maxp: "33"
gprs_m: "egprs"
nom: "37"
red: "0"
trx:
-
chan: "249"
#Misc
rhizo::free_numbers: [ "1234567890", "0987654321" ]
rhizo::dids:
- ""
rhizo::use_ups: "no"
rhizo::use_sip: "no"
rhizo::sip_central_ip_address: [ "192.168.1.1", "192.168.1.254" ]
rhizo::webphone_prefix: [ "50505", "99999" ]
rhizo::support_contact: "12345"
rhizo::test_playback: "shout://server1.usatelk.com:27547/"
rhizo::voip_mod: "lambda num: (str(int(num) + 150)[2:])"
rhizo::stats_disk: "sda1"
rhizo::ntp_servers: ['0.debian.pool.ntp.org', '1.debian.pool.ntp.org', '2.debian.pool.ntp.org', '3.debian.pool.ntp.org', ]
rhizo::bot: "111111111"
rhizo::btkn: "replace-with-token"
rhizo::btdest: "2222222222"
rhizo::alert_url: "https://api.telegram.org/bot%{hiera('rhizo::bot')}:%{hiera('rhizo::btkn')}/sendMessage?chat_id=-%{hiera('rhizo::btdest')}&text="
#SSH keys
sshkeys::keys:
test:
type: 'ssh-rsa'
key: 'PUT_YOUR_SSH_KEY_HERE'
# SSH users
sshkeys::users:
rhizomatica:
home: /home/rhizomatica
gid: rhizomatica
keys:
- test
rhizo::dev_host_key: "NULL"
rhizo::bsc_dev_deploy_key: "NULL"