Use default nodename when removing
This commit is contained in:
parent
94ad34c121
commit
2e6c8ba676
@ -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'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user