Use default nodename when removing
This commit is contained in:
parent
94ad34c121
commit
2e6c8ba676
@ -1,11 +1,8 @@
|
|||||||
$resource = hiera($::resource_name)
|
$resource = hiera($::resource_name)
|
||||||
|
|
||||||
$node_name = $resource['input']['node_name']['value']
|
|
||||||
|
|
||||||
class { '::rabbitmq':
|
class { '::rabbitmq':
|
||||||
package_ensure => 'absent',
|
package_ensure => 'absent',
|
||||||
environment_variables => {
|
environment_variables => {
|
||||||
'RABBITMQ_NODENAME' => $node_name,
|
|
||||||
'RABBITMQ_SERVICENAME' => 'RabbitMQ'
|
'RABBITMQ_SERVICENAME' => 'RabbitMQ'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user