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
At the moment seems not possible to search for a tag within a specific environment. It just searches for a tag including all nodes on every environments.
The text was updated successfully, but these errors were encountered:
I would recommend including your environment as a tag -- we wanted to avoid making this specific to chef search (i.e. we thought one day we could replace it with another service discovery mechanism which might not have access to the chef environment natively).
For example:
discovery 'my_cookbook_mysql_master' do
tags ['mysql', 'master', node.chef_environment]
action :search
end
At the moment seems not possible to search for a tag within a specific environment. It just searches for a tag including all nodes on every environments.
The text was updated successfully, but these errors were encountered: