Added basic Hiera configuration
This commit is contained in:
parent
631f149302
commit
6442629208
3 changed files with 96 additions and 0 deletions
9
hiera.yaml
Normal file
9
hiera.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
:backends:
|
||||
- yaml
|
||||
:hierarchy:
|
||||
- "%{clientcert}"
|
||||
- defaults
|
||||
|
||||
:yaml:
|
||||
:datadir: /etc/puppet/hieradata
|
64
hieradata/defaults.yaml
Normal file
64
hieradata/defaults.yaml
Normal file
|
@ -0,0 +1,64 @@
|
|||
#Admin config
|
||||
rhizo::mail_admins: "ciaby@rhizomatica.org tele@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"
|
||||
|
||||
#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::max_power_red: "0"
|
||||
|
||||
#SSH keys
|
||||
sshkeys::keys:
|
||||
test:
|
||||
type: 'ssh-rsa'
|
||||
key: 'PUT_YOUR_SSH_KEY_HERE'
|
||||
|
||||
# SSH users
|
||||
sshkeys::users:
|
||||
rhizomatica:
|
||||
home: /home/rhizomatica
|
||||
keys:
|
||||
- test
|
23
hieradata/site_template.yaml
Normal file
23
hieradata/site_template.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Site specific info
|
||||
rhizo::bts1_ip_address: "172.16.0.11"
|
||||
rhizo::site_name: "Site"
|
||||
rhizo::postcode: "12345"
|
||||
rhizo::pbxcode: "1"
|
||||
rhizo::network_name: "NetworkName"
|
||||
rhizo::arfcn_A: "249"
|
||||
rhizo::arfcn_B: "251"
|
||||
rhizo::auth_policy: "accept-all"
|
||||
rhizo::vpn_ip_address: "10.66.0.0"
|
||||
rhizo::wan_ip_address: "192.168.0.0"
|
||||
|
||||
#Emergency call contact
|
||||
rhizo::emergency_contact: "12345"
|
||||
|
||||
# VoIP provider info
|
||||
rhizo::voip_provider_name: "provider"
|
||||
rhizo::voip_username: "1234567890"
|
||||
rhizo::voip_fromuser: "1234567890"
|
||||
rhizo::voip_password: "1234"
|
||||
rhizo::voip_proxy: "10.10.10.10"
|
||||
rhizo::voip_did: "12345678901"
|
||||
rhizo::voip_cli: "12345678901"
|
Loading…
Add table
Add a link
Reference in a new issue