First version of BTS provision script

This commit is contained in:
Keith Whyte 2020-04-29 05:04:58 +02:00
parent 72568990a0
commit 5238b5a847
11 changed files with 98 additions and 0 deletions

View file

@ -46,6 +46,7 @@ class rhizo_base {
#BTSs configuration
$bts = hiera('rhizo::bts')
$bts_pass = hiera('rhizo::bts_pass')
$bts_type = hiera('rhizo::bts_type')
$bts_amps = hiera('rhizo::bts_amps', "on")
$bts1_ip_address = hiera('rhizo::bts1_ip_address')
@ -491,6 +492,22 @@ schedule { 'repo':
mode => '0750'
}
file { '/var/SysmoBTS/provision.sh':
source => 'puppet:///modules/rhizo_base/var/SysmoBTS/provision.sh',
mode => '0750'
}
file { '/var/SysmoBTS/chk_masq':
source => 'puppet:///modules/rhizo_base/var/SysmoBTS/chk_masq',
mode => '0750'
}
file { '/root/.ssh/bts_key':
ensure => present,
mode => '0600',
content => hiera('rhizo::bts_key'),
}
file { '/var/log/rccn':
ensure => link,
target => '/var/rhizomatica/rccn/log',