Skip to content

Commit

Permalink
Merge pull request #125 from redBorder/development
Browse files Browse the repository at this point in the history
Release 1.3.0
  • Loading branch information
malvads committed May 24, 2024
2 parents 40a1ddf + 7f25050 commit 41e803b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.0
1.3.0
7 changes: 6 additions & 1 deletion resources/bin/rb_configure_custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ source $RBLIB/rb_manager_functions.sh
########
# MAIN #
########
start_script=$(date +%s) # Save init time

CHEFORG="redborder"
CLIENTNAME=$(hostname -s)
Expand Down Expand Up @@ -133,5 +134,9 @@ rb_configure_cgroups &>/dev/null

echo "Cgroups configured in /sys/fs/cgroup/redborder.slice/"

e_title "Custom Node configured!"
end_script=$(date +%s) # Save finish scrip time
runtime=$((end_script-start_script)) # Calculate duration of script
runtime_min=$(echo "scale=2; $runtime / 60" | bc -l) # Calculate duration of script in minutes

e_title "Custom Node configured! ($runtime_min minutes)"
date > /etc/redborder/cluster-installed.txt
10 changes: 8 additions & 2 deletions resources/bin/rb_configure_leader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ function configure_leader(){
e_title "Uploading cookbooks"
mkdir -p /var/chef/cache/cookbooks/

listCookbooks="rb-selinux cron zookeeper kafka druid http2k memcached chef-server consul
listCookbooks="rb-common rb-selinux cron zookeeper kafka druid http2k memcached chef-server consul
hadoop samza nginx geoip webui snmp mongodb rbmonitor rbscanner
f2k logstash pmacct minio postgresql rbdswatcher rbevents-counter
rsyslog freeradius rbnmsp n2klocd rbale rbcep k2http rblogstatter rb-arubacentral rbcgroup rb-exporter rb-proxy rb-postfix
Expand Down Expand Up @@ -432,6 +432,7 @@ function set_external_service_names {
########
# MAIN #
########
start_script=$(date +%s) # Save init time

CHEFUSER="admin" # Chef server admin user
CHEFORG="redborder" # Chef org
Expand Down Expand Up @@ -533,6 +534,11 @@ rb_configure_cgroups &>/dev/null

echo "Cgroups configured in /sys/fs/cgroup/redborder.slice/"

e_title "Leader Node configured!"
end_script=$(date +%s) # Save finish scrip time
runtime=$((end_script-start_script)) # Calculate duration of script
runtime_min=$(echo "scale=2; $runtime / 60" | bc -l) # Calculate duration of script in minutes

e_title "Leader Node configured! ($runtime_min minutes)"

date > /etc/redborder/cluster-installed.txt

0 comments on commit 41e803b

Please sign in to comment.