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
In my testing today, I'm unable to get the dotnet agent to uninstall using the following code:
# set flag to indicate if newrelic agents should be removed based on presence of tag
should_remove = tagged?('ops-remove-newrelic')
Chef::Log.info("should_remove = #{should_remove}")
# install newrelic apm agent
newrelic_agent_dotnet 'NewRelic APM Agent' do
license node['jjk_ts_transport_webserver_newrelic']['license_key']
action (should_remove ? :remove : :install)
end
I've also tried explicitly using the :remove action, but the chef-client output continues to say the resource is up to date.
OS: Windows Server 2016 on Azure
Cookbook Version: 2.35.0
Chef Client: 13.8.5
Thanks,
Sean
The text was updated successfully, but these errors were encountered:
Hello,
In my testing today, I'm unable to get the dotnet agent to uninstall using the following code:
I've also tried explicitly using the :remove action, but the chef-client output continues to say the resource is up to date.
OS: Windows Server 2016 on Azure
Cookbook Version: 2.35.0
Chef Client: 13.8.5
Thanks,
Sean
The text was updated successfully, but these errors were encountered: