From f243fab7ab8d2ad7044558826ec80b2bd2eb3fd5 Mon Sep 17 00:00:00 2001 From: Keith Whyte Date: Wed, 2 Sep 2020 11:28:23 +0200 Subject: [PATCH] Add osmo-stp config file --- modules/rhizo_base/manifests/osmocom.pp | 6 ++++++ modules/rhizo_base/templates/osmo-stp.cfg.erb | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 modules/rhizo_base/templates/osmo-stp.cfg.erb diff --git a/modules/rhizo_base/manifests/osmocom.pp b/modules/rhizo_base/manifests/osmocom.pp index 444d8a0..4385054 100644 --- a/modules/rhizo_base/manifests/osmocom.pp +++ b/modules/rhizo_base/manifests/osmocom.pp @@ -99,6 +99,12 @@ class rhizo_base::osmocom { # but with the service outage that restarting the split stack entails, # I don't want to even give puppet the possibility to do that. + + file { '/etc/osmocom/osmo-stp.cfg': + content => template('rhizo_base/osmo-stp.cfg.erb'), + require => Package['osmo-stp'], + } + file { '/etc/osmocom/osmo-hlr.cfg': content => template('rhizo_base/osmo-hlr.cfg.erb'), require => Package['osmo-hlr'], diff --git a/modules/rhizo_base/templates/osmo-stp.cfg.erb b/modules/rhizo_base/templates/osmo-stp.cfg.erb new file mode 100644 index 0000000..c435681 --- /dev/null +++ b/modules/rhizo_base/templates/osmo-stp.cfg.erb @@ -0,0 +1,19 @@ +! +! osmo-stp (UNKNOWN) configuration by puppet +!! +! +log stderr + logging filter all 1 + logging color 1 + logging print category 1 + logging print level 1 + logging timestamp 0 + logging level set-all notice +line vty + no login +! +cs7 instance 0 + xua rkm routing-key-allocation dynamic-permitted + listen m3ua 2905 + accept-asp-connections dynamic-permitted + local-ip ::