rodjek/puppet-lint — Issue #79: Suppress "string containing only a variable" warnings on defines?
Author: astrostl
Created: 2012-02-15 18:08:31+00:00
State: open

define nagios::def_site() {
nagios_service { "$name":
use => 'website',
check_command => "check_http_direct!$name",
service_description => "$name",
}
}

With this, I definitely want to have the nagios_service type and service_description "dynamically" named with what is passed.