File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 }
1616
1717 # Monitor the error log
18- include "apache::server::feature::monitor-logs "
18+ include "apache::server::feature::monitorlogs "
1919
2020 # Install and configure letsencrypt (SSL/certbot) for AWS instances
2121 case " ${ec2_services_partition} " {
4949 include "apache::server::vagrant"
5050}
5151
52- class apache::server::feature::monitor-logs {
52+ class apache::server::feature::monitorlogs {
5353
5454 # Install the logtail package
5555 package {
Original file line number Diff line number Diff line change 99 ## Set environment variables for buttonmen database access
1010
1111 # Database 1 (primary)
12- SetEnv DB1_HOST <%= database_fqdn %>
12+ SetEnv DB1_HOST <%= @ database_fqdn %>
1313 SetEnv DB1_PORT 3306
1414 SetEnv DB1_NAME buttonmen
1515 SetEnv DB1_USER bmuser1
Original file line number Diff line number Diff line change 33 ## Set environment variables for buttonmen database access
44
55 # Database 1 (primary)
6- SetEnv DB1_HOST <%= database_fqdn %>
6+ SetEnv DB1_HOST <%= @ database_fqdn %>
77 SetEnv DB1_PORT 3306
88 SetEnv DB1_NAME <%= buttonmen_db1_name %>
99 SetEnv DB1_USER <%= buttonmen_db1_user %>
Original file line number Diff line number Diff line change 1818if [ -f " ${CREDS_FILE} " ]; then
1919 . ${CREDS_FILE}
2020 # Need to disable GTID restores to backup/restore a remote RDS MySQL DB with default args
21- MYSQL_ARGS=" -u ${BM_DB_ADMIN_USER} -p${BM_DB_ADMIN_PW} -h <%= database_fqdn %> --set-gtid-purged=OFF"
21+ MYSQL_ARGS=" -u ${BM_DB_ADMIN_USER} -p${BM_DB_ADMIN_PW} -h <%= @ database_fqdn %> --set-gtid-purged=OFF"
2222else
2323 MYSQL_ARGS=" -u root"
2424fi
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if [ ! -f ${CREDS_FILE} ]; then
77fi
88. ${CREDS_FILE}
99
10- MYSQL_ARGS=" -u ${BM_DB_ADMIN_USER} -p${BM_DB_ADMIN_PW} -h <%= database_fqdn %>"
10+ MYSQL_ARGS=" -u ${BM_DB_ADMIN_USER} -p${BM_DB_ADMIN_PW} -h <%= @ database_fqdn %>"
1111
1212mysqlshow ${MYSQL_ARGS} < %= buttonmen_db1_name %> | grep -q " ^Database: buttonmen"
1313if [ " $? " = " 0" ]; then
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ DBNAME=buttonmen
99# database, and in particular an admin password
1010if [ -f " ${CREDS_FILE} " ]; then
1111 . ${CREDS_FILE}
12- MYSQL_ARGS=" -u ${BM_DB_ADMIN_USER} -p${BM_DB_ADMIN_PW} -h <%= database_fqdn %>"
12+ MYSQL_ARGS=" -u ${BM_DB_ADMIN_USER} -p${BM_DB_ADMIN_PW} -h <%= @ database_fqdn %>"
1313else
1414 MYSQL_ARGS=" -u root"
1515fi
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ CONFIGFILE=/var/www/ui/js/Config.js
99# database, and in particular an admin password
1010if [ -f " ${CREDS_FILE} " ]; then
1111 . ${CREDS_FILE}
12- MYSQL_ARGS=" -u ${BM_DB_ADMIN_USER} -p${BM_DB_ADMIN_PW} -h <%= database_fqdn %> --set-gtid-purged=OFF"
12+ MYSQL_ARGS=" -u ${BM_DB_ADMIN_USER} -p${BM_DB_ADMIN_PW} -h <%= @ database_fqdn %> --set-gtid-purged=OFF"
1313else
1414 MYSQL_ARGS=" -u root"
1515fi
You can’t perform that action at this time.
0 commit comments