Remove trailing slash so if-defined guard works

Both resource name in if statement and in declaration need to be exactly
the same.

Change-Id: Ie8635930e9d9520929865e59e3224819f487272a
This commit is contained in:
Mikhail S Medvedev 2016-11-17 15:43:07 -06:00
parent 0e55e618ae
commit 4548b4114b
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ define subunit2sql::worker (
$suffix = "-${name}"
if ! defined(File['/etc/logstash']) {
file { '/etc/logstash/':
file { '/etc/logstash':
ensure => absent,
}
}