Taleintervenor
Taleintervenor
nhc/scripts/lbnl_job.nhc: function nhc_job_find_users() ``` if [[ "${JOBUSERS[*]//$JOBUSER}" = "${JOBUSERS[*]}" ]]; then JOBUSERS[${#JOBUSERS[*]}]="$JOBUSER" fi ``` I can not understand why using variable substitution to check element exist in array. The trick...
Consider nodes name with domain "pi.sjtu.edu.cn", such as "node838.example.edu.cn": Current version of nhc always use long hostname ``` function nhcmain_init_env() { ... if [[ -r /proc/sys/kernel/hostname ]]; then read HOSTNAME...
The old version ([email protected]) we used before support systemd service wrapper like: ``` [Unit] Description=mmproxy golang implement from https://github.com/path-network/go-mmproxy ... [Service] Type=simple ExecStart=/opt/go/bin/go-mmproxy -l %H:2222 -4 127.0.0.1:22 --allowed-subnets /etc/ssh/allowed-networks.txt -v...
Puppetboard 3.3.0 shows our node has 34k resources as below, which is incredibly large. I wonder how puppetboard count this resources total number? The facts table at the same page...