Use default nodename when removing

This commit is contained in:
Łukasz Oleś 2015-07-20 21:48:32 +00:00
parent 94ad34c121
commit 2e6c8ba676

View File

@ -1,11 +1,8 @@
$resource = hiera($::resource_name)
$node_name = $resource['input']['node_name']['value']
class { '::rabbitmq':
package_ensure => 'absent',
environment_variables => {
'RABBITMQ_NODENAME' => $node_name,
'RABBITMQ_SERVICENAME' => 'RabbitMQ'
}
}