Initial refactoring
Renamed rhizomatica_base_system to rhizo_base Split up the init.pp in different subclasses More work to follow
This commit is contained in:
parent
7b938abede
commit
1c7dffc32a
192 changed files with 547 additions and 430 deletions
21
modules/rhizo_base/templates/vars.sh.erb
Normal file
21
modules/rhizo_base/templates/vars.sh.erb
Normal file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/sh
|
||||
RHIZO_SCRIPT="/home/rhizomatica/bin"
|
||||
|
||||
function logc() {
|
||||
txt=$1
|
||||
echo "[`date '+%d-%m-%Y %H:%M:%S'`] $txt" >> $LOGFILE
|
||||
}
|
||||
|
||||
#BTSs IP addresses
|
||||
|
||||
<% if @bts1_ip_address -%>
|
||||
BTS1=<%= @bts1_ip_address %>
|
||||
<% end -%>
|
||||
<% if @bts2_ip_address -%>
|
||||
BTS2=<%= @bts2_ip_address %>
|
||||
<% end -%>
|
||||
<% if @bts3_ip_address -%>
|
||||
BTS3=<%= @bts3_ip_address %>
|
||||
<% end -%>
|
||||
|
||||
RECIPIENTS="<%= @mail_admins -%>"
|
Loading…
Add table
Add a link
Reference in a new issue