From f54a1a6075b77ab5aebe7f9acebb155eafc79634 Mon Sep 17 00:00:00 2001 From: Nam Nguyen Date: Thu, 18 Apr 2019 11:01:17 -0700 Subject: [PATCH] REMOVE WORK! --- roles/work/files/authorized_keys | 2 - roles/work/files/known_hosts | 2 - roles/work/libraries/app.bash | 64 -------------- .../roles/jenkins/attributes/master.bash | 21 ----- .../cloud/roles/jenkins/attributes/slave.bash | 21 ----- .../recipes/install-managed-master.bash | 54 ------------ .../recipes/install-self-managed-master.bash | 83 ------------------- .../recipes/install-self-managed-slave.bash | 66 --------------- .../roles/jenkins/templates/nginx.conf.conf | 18 ---- .../selenium-server/attributes/default.bash | 8 -- .../selenium-server/recipes/install-hub.bash | 44 ---------- .../roles/namnguye/attributes/default.bash | 15 ---- .../work/roles/namnguye/recipes/install.bash | 60 -------------- 13 files changed, 458 deletions(-) delete mode 100644 roles/work/files/authorized_keys delete mode 100644 roles/work/files/known_hosts delete mode 100755 roles/work/libraries/app.bash delete mode 100755 roles/work/roles/cloud/roles/jenkins/attributes/master.bash delete mode 100755 roles/work/roles/cloud/roles/jenkins/attributes/slave.bash delete mode 100755 roles/work/roles/cloud/roles/jenkins/recipes/install-managed-master.bash delete mode 100755 roles/work/roles/cloud/roles/jenkins/recipes/install-self-managed-master.bash delete mode 100755 roles/work/roles/cloud/roles/jenkins/recipes/install-self-managed-slave.bash delete mode 100644 roles/work/roles/cloud/roles/jenkins/templates/nginx.conf.conf delete mode 100755 roles/work/roles/cloud/roles/selenium-server/attributes/default.bash delete mode 100755 roles/work/roles/cloud/roles/selenium-server/recipes/install-hub.bash delete mode 100755 roles/work/roles/namnguye/attributes/default.bash delete mode 100755 roles/work/roles/namnguye/recipes/install.bash diff --git a/roles/work/files/authorized_keys b/roles/work/files/authorized_keys deleted file mode 100644 index e20bbc6f..00000000 --- a/roles/work/files/authorized_keys +++ /dev/null @@ -1,2 +0,0 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCr4U+/0DuGHfT7BMjxiyOm9Xn740MHxKUzKZp8wqSSPInssr3wgFFYPj9e7uDkxSejAZ1hNmkn1uxM7PeQBnmiGHDaf6znw/lONosPZiix8xRALnv5lrOTXMZ+RwYE3nJKWfo39w79nGmi9V0Mtu+afNhYbmjrmniqe6VjWxwG/1g7P8vzZNwMfDEaOFxZB6/t+b084IwfV4OqZWaRstli3+VbCcekhKqF5+O/wRlZnZE5yF5XgDawjwcbtH7AC8WpopX/AuytehWhD6pGtYAQvZOeGZek6nFo9if6SSWYzdj8vvsJ2HRhHSIL08NE0h4SYz3gNrmQceUm7dTtCkMp nam@Nams-MacBook-Pro.local -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9nB/6L/pdCEgZvcS7nAZJyYbYhct4ugq+NIs2rJNVi8jw5wVRy/VniSppLo3P2jv25U1IAnNmJ1FD6vrr8KQIeFbBXrOMXCW3ljKrASKmfPFz7EhEBmJx/Waza9hIPJ03mUOHsQKXzIVoCP/eltqTCHRmc+hnEuanxVrm1Rm/yG4t/2oteOMH6nlFwpN2AaNfY+TN+w56NAjMDUnPcyxtarwOS1IszLK+VxWd8LtS5zche2l/rzj0t+N1NxcwP22xOq1TR5GKtTK7zi6Yg79IAXxngFxZ6QxUuXuNR66Kk0bM++yLiMdXqAcmvI4TY4xFKGyTTaIABuiS0MU+rNOl nam@Nams-MacBook-Pro.local \ No newline at end of file diff --git a/roles/work/files/known_hosts b/roles/work/files/known_hosts deleted file mode 100644 index a4159740..00000000 --- a/roles/work/files/known_hosts +++ /dev/null @@ -1,2 +0,0 @@ -|1|RhNZYBJ+PrakVdPvlhnGY6im1wk=|BovIeeisAvMiS+lIrhQL67tYFx8= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGLBrZBX3PgtVfC9BDg+d37FA32XrZMTJ7lP7Vl8JUlMeAceT91Ki/WCUmabfFZgdCohM0CzRD56yn6uZo/slT0= -|1|oCkchA/cSZIgc8TJQoTz2zHrQuc=|AHRdf6g2Jr2KnD11ym3S450LUXg= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGLBrZBX3PgtVfC9BDg+d37FA32XrZMTJ7lP7Vl8JUlMeAceT91Ki/WCUmabfFZgdCohM0CzRD56yn6uZo/slT0= \ No newline at end of file diff --git a/roles/work/libraries/app.bash b/roles/work/libraries/app.bash deleted file mode 100755 index 674f74d6..00000000 --- a/roles/work/libraries/app.bash +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/bash -e - -source "$(dirname "${BASH_SOURCE[0]}")/../../../libraries/util.bash" - -function cleanUpMess -{ - header 'CLEANING UP MESS' - - rm -f '/etc/motd' -} - -function displayNotice() -{ - local -r userLogin="${1}" - local -r isMasterMachine="${2}" - - header 'DISPLAYING NOTICES' - - local -r userHome="$(getUserHomeFolder "${userLogin}")" - - checkExistFolder "${userHome}" - checkExistFile "${userHome}/.ssh/id_rsa.pub" - - if [[ "${isMasterMachine}" = 'true' ]] - then - info '-> Next is to copy this RSA to your GIT SSH and JENKINS SLAVES Tomcat user authorized_keys file :' - else - info '-> Next is to copy this RSA to your GIT SSH :' - fi - - cat "${userHome}/.ssh/id_rsa.pub" - - echo -} - -function configUsersSSH() -{ - local -r users=("${@}") - - header 'CONFIGURING USERS SSH' - - local -r appFolderPath="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" - - # Each User - - local user='' - local userHome='' - - for user in "${users[@]}" - do - userHome="$(getUserHomeFolder "${user}")" - - if [[ "$(existUserLogin "${user}")" = 'true' && -d "${userHome}" ]] - then - mkdir -p "$(getUserHomeFolder "${user}")/.ssh" - chmod 700 "$(getUserHomeFolder "${user}")/.ssh" - - addUserAuthorizedKey "${user}" "$(getUserGroupName "${user}")" "$(cat "${appFolderPath}/../files/authorized_keys")" - addUserSSHKnownHost "${user}" "$(getUserGroupName "${user}")" "$(cat "${appFolderPath}/../files/known_hosts")" - else - warn "WARN : user '${user}' not found or home directory does not exist" - fi - done -} \ No newline at end of file diff --git a/roles/work/roles/cloud/roles/jenkins/attributes/master.bash b/roles/work/roles/cloud/roles/jenkins/attributes/master.bash deleted file mode 100755 index 6bba0a21..00000000 --- a/roles/work/roles/cloud/roles/jenkins/attributes/master.bash +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -e - -source "$(dirname "${BASH_SOURCE[0]}")/../../../../../../../cookbooks/node-js/attributes/default.bash" -source "$(dirname "${BASH_SOURCE[0]}")/../../../../../../../cookbooks/tomcat/attributes/default.bash" - -export CLOUD_JENKINS_GIT_USER_NAME='Nam Nguyen' -export CLOUD_JENKINS_GIT_USER_EMAIL='namnguye@adobe.com' - -export CLOUD_JENKINS_NODE_JS_INSTALL_FOLDER_PATH="${NODE_JS_INSTALL_FOLDER_PATH}" -export CLOUD_JENKINS_NODE_JS_VERSION='v10.15.3' - -export CLOUD_USERS=( - 'centos' - 'jnknsprd' - 'jnks4all' - 'namnguye' - 'pxtops' - 'root' - 'ubuntu' - "${TOMCAT_USER_NAME}" -) \ No newline at end of file diff --git a/roles/work/roles/cloud/roles/jenkins/attributes/slave.bash b/roles/work/roles/cloud/roles/jenkins/attributes/slave.bash deleted file mode 100755 index 6bba0a21..00000000 --- a/roles/work/roles/cloud/roles/jenkins/attributes/slave.bash +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -e - -source "$(dirname "${BASH_SOURCE[0]}")/../../../../../../../cookbooks/node-js/attributes/default.bash" -source "$(dirname "${BASH_SOURCE[0]}")/../../../../../../../cookbooks/tomcat/attributes/default.bash" - -export CLOUD_JENKINS_GIT_USER_NAME='Nam Nguyen' -export CLOUD_JENKINS_GIT_USER_EMAIL='namnguye@adobe.com' - -export CLOUD_JENKINS_NODE_JS_INSTALL_FOLDER_PATH="${NODE_JS_INSTALL_FOLDER_PATH}" -export CLOUD_JENKINS_NODE_JS_VERSION='v10.15.3' - -export CLOUD_USERS=( - 'centos' - 'jnknsprd' - 'jnks4all' - 'namnguye' - 'pxtops' - 'root' - 'ubuntu' - "${TOMCAT_USER_NAME}" -) \ No newline at end of file diff --git a/roles/work/roles/cloud/roles/jenkins/recipes/install-managed-master.bash b/roles/work/roles/cloud/roles/jenkins/recipes/install-managed-master.bash deleted file mode 100755 index f97d535b..00000000 --- a/roles/work/roles/cloud/roles/jenkins/recipes/install-managed-master.bash +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/bash -e - -JENKINS_USER_NAME='jnknsprd' - -function main() -{ - # Load Libraries - - local -r appFolderPath="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" - - source "${appFolderPath}/../../../../../../../libraries/util.bash" - source "${appFolderPath}/../../../../../libraries/app.bash" - source "${appFolderPath}/../attributes/master.bash" - - # Clean Up - - addSwapSpace - remountTMP - redirectJDKTMPDir - resetLogs - - # Install Apps - - local -r hostName='jenkins-master' - - if [[ "$(isUbuntuDistributor)" = 'true' ]] - then - apt-get update -m - fi - - "${appFolderPath}/../../../../../../essential.bash" "${hostName}" "$(arrayToString "${CLOUD_USERS[@]}")" - "${appFolderPath}/../../../../../../../cookbooks/akamai-cli/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/maven/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/node-js/recipes/install.bash" "${CLOUD_JENKINS_NODE_JS_VERSION}" "${CLOUD_JENKINS_NODE_JS_INSTALL_FOLDER_PATH}" - - # Config SSH and GIT - - generateSSHPublicKeyFromPrivateKey "${JENKINS_USER_NAME}" 'users' - - # Clean Up - - cleanUpSystemFolders - cleanUpMess - - # Display Notice - - displayNotice "${JENKINS_USER_NAME}" 'true' - - # Finish - - postUpMessage -} - -main "${@}" \ No newline at end of file diff --git a/roles/work/roles/cloud/roles/jenkins/recipes/install-self-managed-master.bash b/roles/work/roles/cloud/roles/jenkins/recipes/install-self-managed-master.bash deleted file mode 100755 index 7bf574de..00000000 --- a/roles/work/roles/cloud/roles/jenkins/recipes/install-self-managed-master.bash +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/bash -e - -function main() -{ - # Load Libraries - - local -r appFolderPath="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" - - source "${appFolderPath}/../../../../../../../cookbooks/jenkins/attributes/master.bash" - source "${appFolderPath}/../../../../../../../cookbooks/nginx/attributes/source.bash" - source "${appFolderPath}/../../../../../../../libraries/util.bash" - source "${appFolderPath}/../../../../../libraries/app.bash" - source "${appFolderPath}/../attributes/master.bash" - - # Clean Up - - addSwapSpace - remountTMP - redirectJDKTMPDir - resetLogs - - # Install Apps - - local -r hostName='jenkins-master' - - if [[ "$(isUbuntuDistributor)" = 'true' ]] - then - apt-get update -m - fi - - "${appFolderPath}/../../../../../../essential.bash" "${hostName}" "$(arrayToString "${CLOUD_USERS[@]}")" - "${appFolderPath}/../../../../../../../cookbooks/akamai-cli/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/ant/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/aws-cli/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/chef-client/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/docker/recipes/install.bash" || true - "${appFolderPath}/../../../../../../../cookbooks/maven/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/node-js/recipes/install.bash" "${CLOUD_JENKINS_NODE_JS_VERSION}" "${CLOUD_JENKINS_NODE_JS_INSTALL_FOLDER_PATH}" - "${appFolderPath}/../../../../../../../cookbooks/jenkins/recipes/install-master.bash" - "${appFolderPath}/../../../../../../../cookbooks/jenkins/recipes/safe-restart-master.bash" - "${appFolderPath}/../../../../../../../cookbooks/packer/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/porter/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/ps1/recipes/install.bash" --host-name "${hostName}" --users "${JENKINS_USER_NAME}, $(whoami)" - "${appFolderPath}/../../../../../../../cookbooks/secret-server-console/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/terraform/recipes/install.bash" - - # Config SSH and GIT - - configUsersSSH "${CLOUD_USERS[@]}" - - configUserGIT "${JENKINS_USER_NAME}" "${CLOUD_JENKINS_GIT_USER_NAME}" "${CLOUD_JENKINS_GIT_USER_EMAIL}" - generateUserSSHKey "${JENKINS_USER_NAME}" "${JENKINS_GROUP_NAME}" - - # Config Nginx - - "${appFolderPath}/../../../../../../../cookbooks/nginx/recipes/install-from-source.bash" - - header 'CONFIGURING NGINX PROXY' - - local -r nginxConfigData=( - '__NGINX_PORT__' "${NGINX_PORT}" - '__JENKINS_TOMCAT_HTTP_PORT__' "${JENKINS_TOMCAT_HTTP_PORT}" - ) - - createFileFromTemplate "${appFolderPath}/../templates/nginx.conf.conf" "${NGINX_INSTALL_FOLDER_PATH}/conf/nginx.conf" "${nginxConfigData[@]}" - - restartService "${NGINX_SERVICE_NAME}" - - # Clean Up - - cleanUpSystemFolders - cleanUpMess - - # Display Notice - - displayNotice "${JENKINS_USER_NAME}" 'true' - - # Finish - - postUpMessage -} - -main "${@}" \ No newline at end of file diff --git a/roles/work/roles/cloud/roles/jenkins/recipes/install-self-managed-slave.bash b/roles/work/roles/cloud/roles/jenkins/recipes/install-self-managed-slave.bash deleted file mode 100755 index 9a2e9e20..00000000 --- a/roles/work/roles/cloud/roles/jenkins/recipes/install-self-managed-slave.bash +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/bash -e - -function main() -{ - # Load Libraries - - local -r appFolderPath="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" - - source "${appFolderPath}/../../../../../../../cookbooks/jenkins/attributes/slave.bash" - source "${appFolderPath}/../../../../../../../libraries/util.bash" - source "${appFolderPath}/../../../../../libraries/app.bash" - source "${appFolderPath}/../attributes/slave.bash" - - # Clean Up - - addSwapSpace - remountTMP - redirectJDKTMPDir - resetLogs - - # Install Apps - - local -r hostName='jenkins-slave' - - if [[ "$(isUbuntuDistributor)" = 'true' ]] - then - apt-get update -m - fi - - "${appFolderPath}/../../../../../../essential.bash" "${hostName}" "$(arrayToString "${CLOUD_USERS[@]}")" - "${appFolderPath}/../../../../../../../cookbooks/akamai-cli/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/ant/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/aws-cli/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/chef-client/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/docker/recipes/install.bash" || true - "${appFolderPath}/../../../../../../../cookbooks/maven/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/node-js/recipes/install.bash" "${CLOUD_JENKINS_NODE_JS_VERSION}" "${CLOUD_JENKINS_NODE_JS_INSTALL_FOLDER_PATH}" - "${appFolderPath}/../../../../../../../cookbooks/jenkins/recipes/install-slave.bash" - "${appFolderPath}/../../../../../../../cookbooks/packer/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/porter/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/ps1/recipes/install.bash" --host-name "${hostName}" --users "${JENKINS_USER_NAME}, $(whoami)" - "${appFolderPath}/../../../../../../../cookbooks/secret-server-console/recipes/install.bash" - "${appFolderPath}/../../../../../../../cookbooks/terraform/recipes/install.bash" - - # Config SSH and GIT - - configUsersSSH "${CLOUD_USERS[@]}" - - configUserGIT "${JENKINS_USER_NAME}" "${CLOUD_JENKINS_GIT_USER_NAME}" "${CLOUD_JENKINS_GIT_USER_EMAIL}" - generateUserSSHKey "${JENKINS_USER_NAME}" - - # Clean Up - - cleanUpSystemFolders - cleanUpMess - - # Display Notice - - displayNotice "${JENKINS_USER_NAME}" 'false' - - # Finish - - postUpMessage -} - -main "${@}" \ No newline at end of file diff --git a/roles/work/roles/cloud/roles/jenkins/templates/nginx.conf.conf b/roles/work/roles/cloud/roles/jenkins/templates/nginx.conf.conf deleted file mode 100644 index 63a85a05..00000000 --- a/roles/work/roles/cloud/roles/jenkins/templates/nginx.conf.conf +++ /dev/null @@ -1,18 +0,0 @@ -worker_processes auto; - -events { - worker_connections 1024; -} - -http { - server { - client_max_body_size 15M; - listen __NGINX_PORT__; - server_name localhost; - server_tokens off; - - location / { - proxy_pass http://127.0.0.1:__JENKINS_TOMCAT_HTTP_PORT__; - } - } -} \ No newline at end of file diff --git a/roles/work/roles/cloud/roles/selenium-server/attributes/default.bash b/roles/work/roles/cloud/roles/selenium-server/attributes/default.bash deleted file mode 100755 index d361a0c4..00000000 --- a/roles/work/roles/cloud/roles/selenium-server/attributes/default.bash +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -e - -export CLOUD_USERS=( - 'centos' - 'namnguye' - 'root' - 'ubuntu' -) \ No newline at end of file diff --git a/roles/work/roles/cloud/roles/selenium-server/recipes/install-hub.bash b/roles/work/roles/cloud/roles/selenium-server/recipes/install-hub.bash deleted file mode 100755 index 4d95a77f..00000000 --- a/roles/work/roles/cloud/roles/selenium-server/recipes/install-hub.bash +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash -e - -function main() -{ - # Load Libraries - - local -r appFolderPath="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" - - source "${appFolderPath}/../../../../../../../libraries/util.bash" - source "${appFolderPath}/../../../../../libraries/app.bash" - source "${appFolderPath}/../attributes/default.bash" - - # Clean Up - - addSwapSpace - remountTMP - redirectJDKTMPDir - resetLogs - - # Install Apps - - if [[ "$(isUbuntuDistributor)" = 'true' ]] - then - apt-get update -m - fi - - "${appFolderPath}/../../../../../../essential.bash" 'selenium-hub' "$(arrayToString "${CLOUD_USERS[@]}")" - "${appFolderPath}/../../../../../../../cookbooks/selenium-server/recipes/install-hub.bash" - - # Config SSH - - configUsersSSH "${CLOUD_USERS[@]}" - - # Clean Up - - cleanUpSystemFolders - cleanUpMess - - # Finish - - postUpMessage -} - -main "${@}" \ No newline at end of file diff --git a/roles/work/roles/namnguye/attributes/default.bash b/roles/work/roles/namnguye/attributes/default.bash deleted file mode 100755 index a76e16f0..00000000 --- a/roles/work/roles/namnguye/attributes/default.bash +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -e - -source "$(dirname "${BASH_SOURCE[0]}")/../../../../../cookbooks/node-js/attributes/default.bash" - -export NAMNGUYE_GIT_USER_NAME='Nam Nguyen' -export NAMNGUYE_GIT_USER_EMAIL='namnguye@adobe.com' - -export NAMNGUYE_NODE_JS_INSTALL_FOLDER_PATH="${NODE_JS_INSTALL_FOLDER_PATH}" -export NAMNGUYE_NODE_JS_VERSION='latest' - -export CLOUD_USERS=( - 'nam' - 'namnguye' - 'root' -) \ No newline at end of file diff --git a/roles/work/roles/namnguye/recipes/install.bash b/roles/work/roles/namnguye/recipes/install.bash deleted file mode 100755 index c772137a..00000000 --- a/roles/work/roles/namnguye/recipes/install.bash +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash -e - -function main() -{ - # Load Libraries - - local -r appFolderPath="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" - - source "${appFolderPath}/../../../../../libraries/util.bash" - source "${appFolderPath}/../../../libraries/app.bash" - source "${appFolderPath}/../attributes/default.bash" - - # Clean Up - - addSwapSpace - remountTMP - redirectJDKTMPDir - resetLogs - - # Install Apps - - if [[ "$(isUbuntuDistributor)" = 'true' ]] - then - apt-get update -m - fi - - "${appFolderPath}/../../../../essential.bash" 'nam' "$(arrayToString "${CLOUD_USERS[@]}")" - "${appFolderPath}/../../../../../cookbooks/aws-cli/recipes/install.bash" - "${appFolderPath}/../../../../../cookbooks/chef-client/recipes/install.bash" - "${appFolderPath}/../../../../../cookbooks/docker/recipes/install.bash" || true - "${appFolderPath}/../../../../../cookbooks/foodcritic/recipes/install.bash" - "${appFolderPath}/../../../../../cookbooks/go-lang/recipes/install.bash" - "${appFolderPath}/../../../../../cookbooks/node-js/recipes/install.bash" "${NAMNGUYE_NODE_JS_VERSION}" "${NAMNGUYE_NODE_JS_INSTALL_FOLDER_PATH}" - "${appFolderPath}/../../../../../cookbooks/packer/recipes/install.bash" - "${appFolderPath}/../../../../../cookbooks/porter/recipes/install.bash" - "${appFolderPath}/../../../../../cookbooks/shell-check/recipes/install.bash" - "${appFolderPath}/../../../../../cookbooks/terraform/recipes/install.bash" - - # Config SSH and GIT - - configUsersSSH "${CLOUD_USERS[@]}" - - configUserGIT "$(whoami)" "${NAMNGUYE_GIT_USER_NAME}" "${NAMNGUYE_GIT_USER_EMAIL}" - generateUserSSHKey "$(whoami)" - - # Clean Up - - cleanUpSystemFolders - cleanUpMess - - # Display Notice - - displayNotice "$(whoami)" 'false' - - # Finish - - postUpMessage -} - -main "${@}" \ No newline at end of file