diff --git a/roles/collectd/postgres/templates/collectd-postgres.sh b/roles/collectd/postgres/templates/collectd-postgres.sh index 330903faf2..2a86609a31 100644 --- a/roles/collectd/postgres/templates/collectd-postgres.sh +++ b/roles/collectd/postgres/templates/collectd-postgres.sh @@ -1,7 +1,10 @@ #!/bin/bash -pause=10 -host=$( hostname -s ) +# These defaults are commented out because selinux doesn't like us running that +# hostname on rhel7 for some reason. Anyways, we always pass in the arguments +# via the collectd configuration information so wth. -- threebean +#pause=10 +#host=$( /usr/bin/hostname -s ) while getopts "h:p:s:" c; do case $c in