Month: September 2013
-
Bash: SSL x509 check enddate / expiration time of certificate with openssl
You can check the endtime/end time/notafter/expiration date of a site by doing this: openssl s_client -connect google.com:443 2>/dev/null
-
Fix “auxpropfunc error invalid parameter supplied” on RHEL6
Delete package cyrus-sasl-ldap after verifying you don’t need SASL/LDAP on your machine. See https://bugzilla.redhat.com/show_bug.cgi?id=167300 .
-
Linux sync process
$ watch -n 5 grep Dirty /proc/meminfo Gives you the amount of unsync’ed memory every 5 seconds.
-
Script: Puppet module create template
Adjust to your needs ;) #!/bin/bash # Create puppet module layout if [[ -z “$1” ]];then echo “$0 modulename” exit 1 fi if [[ -d $1 ]]; then echo “Dir already exists” exit 1 fi # Actual work M=$1 mkdir -p \ $M \ $M/files \ $M/manifests \ $M/templates # Files cat $M/manifests/${file}.pp done #…