Added sanity checks to template (won't try to write sections if the var is empty) and tested.
Added sanity checks to template (won't try to write sections if the var is empty) and tested.

olivierHa/puppet-influxdb,stevenviola/puppet-influxdb,stevenviola/puppet-influxdb,olivierHa/puppet-influxdb