From 21112df4f69bf58c79b4bdc21bb18885ddc78c0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Ole=C5=9B?= Date: Mon, 20 Jul 2015 10:07:02 +0000 Subject: [PATCH] Remove nodename --- resources/rabbitmq_service/actions/remove.pp | 3 --- resources/rabbitmq_service/actions/run.pp | 1 - resources/rabbitmq_service/meta.yaml | 3 --- 3 files changed, 7 deletions(-) diff --git a/resources/rabbitmq_service/actions/remove.pp b/resources/rabbitmq_service/actions/remove.pp index 1047bc46..f1121da5 100644 --- a/resources/rabbitmq_service/actions/remove.pp +++ b/resources/rabbitmq_service/actions/remove.pp @@ -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' } } diff --git a/resources/rabbitmq_service/actions/run.pp b/resources/rabbitmq_service/actions/run.pp index befa93d9..2ea22054 100644 --- a/resources/rabbitmq_service/actions/run.pp +++ b/resources/rabbitmq_service/actions/run.pp @@ -2,7 +2,6 @@ $resource = hiera($::resource_name) $port = "${resource['input']['port']['value']}" $management_port = "${resource['input']['management_port']['value']}" -$node_name = $resource['input']['node_name']['value'] class { '::rabbitmq': service_manage => true, diff --git a/resources/rabbitmq_service/meta.yaml b/resources/rabbitmq_service/meta.yaml index 69ef8a08..010753fc 100644 --- a/resources/rabbitmq_service/meta.yaml +++ b/resources/rabbitmq_service/meta.yaml @@ -11,9 +11,6 @@ input: schema: str! value: '' - node_name: - schema: str! - value: 'node1' port: schema: int! value: ''