Skip to content

Commit

Permalink
fix voxpupuli#263 string containing only a variable, improve code qua…
Browse files Browse the repository at this point in the history
…lity
  • Loading branch information
lbetz authored and n00by committed Apr 26, 2018
1 parent 05110ca commit 5a6fa34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions manifests/feature/influxdb.pp
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@
validate_re($flush_interval, '^\d+[ms]*$')
validate_integer($flush_threshold)

$host_template = { measurement => "${host_measurement}", tags => $host_tags }
$service_template = { measurement => "${service_measurement}", tags => $service_tags}
$host_template = { measurement => $host_measurement, tags => $host_tags }
$service_template = { measurement => $service_measurement, tags => $service_tags}

# Set defaults for certificate stuff and/or do validation
if $ssl_key_path {
Expand Down
2 changes: 1 addition & 1 deletion manifests/pki/ca.pp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
exec { 'icinga2 pki create certificate signing request':
command => "icinga2 pki new-cert --cn '${::fqdn}' --key '${_ssl_key_path}' --csr '${_ssl_csr_path}'",
creates => $_ssl_key_path,
require => File["${_ssl_cacert_path}"]
require => File[$_ssl_cacert_path]
} ->
file {
$_ssl_key_path:
Expand Down

0 comments on commit 5a6fa34

Please sign in to comment.