You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
In my wrapper cookbook, I define the attribute node['rabbitmq']['version] is '3.5.1' and I included the recipe rabbitmq::default in my cookbook.
However, during execution phase of rabbitmq::default. the node['rabbitmq']['deb_package_url] still see as default - 3.4.4-1
I don't know the purpose of this, why shouldn't we define deb_package_url is a simple variable, not a node's attribute. I believe this issue won't happen.
The only way to fix for my wrapper cookbook is to override the version in Chef Roles or to force with this code
# Hack to make sure node['rabbitmq']['version'] in recipe loaded inside dependency 'rabbitmq' cookbook
node.set['rabbitmq']['version'] = node['rabbitmq']['version']
node.save
The text was updated successfully, but these errors were encountered:
This issue was identified again in #457 and resolved in #458. If you're using rabbitmq cookbook 5.3.0 or later, changing the rabbitmq.version attribute will be sufficient to change the version of RabbitMQ that is installed without needing to override additional attributes.
Hi,
In my wrapper cookbook, I define the attribute
node['rabbitmq']['version]
is '3.5.1' and I included the reciperabbitmq::default
in my cookbook.However, during execution phase of
rabbitmq::default
. the node['rabbitmq']['deb_package_url] still see as default - 3.4.4-1I don't know the purpose of this, why shouldn't we define deb_package_url is a simple variable, not a node's attribute. I believe this issue won't happen.
The only way to fix for my wrapper cookbook is to override the version in Chef Roles or to force with this code
The text was updated successfully, but these errors were encountered: