diff --git a/.gitignore b/.gitignore index bd47193..da7d27c 100644 --- a/.gitignore +++ b/.gitignore @@ -135,3 +135,7 @@ test-results.xml # package-lock.json # yarn.lock # pnpm-lock.yaml + +# Deployment scripts (production deployment tools) +deploy-patchmon.sh +manage-instances.sh diff --git a/agents/patchmon-agent.sh b/agents/patchmon-agent.sh index 7ab2df2..f7213d0 100755 --- a/agents/patchmon-agent.sh +++ b/agents/patchmon-agent.sh @@ -4,9 +4,9 @@ # This script sends package update information to the PatchMon server using API credentials # Configuration -PATCHMON_SERVER="http://localhost:3001" +PATCHMON_SERVER="${PATCHMON_SERVER:-http://localhost:3001}" API_VERSION="v1" -AGENT_VERSION="1.2.2" +AGENT_VERSION="1.2.3" CONFIG_FILE="/etc/patchmon/agent.conf" CREDENTIALS_FILE="/etc/patchmon/credentials" LOG_FILE="/var/log/patchmon-agent.log"