We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting this error when trying to install app dynamics on new web servers.
version appdynamics: 0.2.4 chef-client: 12.17.44
(skipped due to action :nothing) * powershell_script[Restart IIS] action nothing[2017-01-17T17:34:34-05:00] INFO: Processing powershell_script[Restart IIS] action nothing (appdynamics::dotnet_agent line 89) (skipped due to action :nothing) [2017-01-17T17:34:34-05:00] INFO: windows_package[AppDynamics .NET Agent] sending restart action to windows_service[NetS age] (delayed) * windows_service[NetSage] action restart[2017-01-17T17:34:34-05:00] INFO: Processing windows_service[NetSage] action restart (appdynamics::dotnet_agent line 77) ================================================================================ Error executing action `restart` on resource 'windows_service[NetSage]' ================================================================================ ArgumentError ------------- NetSage was given a guard_interpreter of powershell_script, but not given a command as a string. guard_interpreter d oes not support blocks (because they just contain ruby). Resource Declaration: --------------------- # In c:/chef/cache/cookbooks/appdynamics/recipes/dotnet_agent.rb 77: service apps['name'] do # ~FC022 78: action :nothing 79: subscribes :restart, 'service[AppDynamics.Agent.Coordinator_service]', :delayed 80: subscribes :restart, 'windows_package[AppDynamics .NET Agent]', :delayed 81: only_if { apps['restart'] == true } 82: end 83: end Compiled Resource: ------------------ # Declared in c:/chef/cache/cookbooks/appdynamics/recipes/dotnet_agent.rb:77:in `block in from_file' windows_service("NetSage") do action [:nothing] supports {:restart=>nil, :reload=>nil, :status=>nil} retries 0 retry_delay 2 guard_interpreter :powershell_script default_guard_interpreter :default service_name "NetSage" pattern "NetSage" startup_type :automatic declared_type :service cookbook_name "appdynamics" recipe_name "dotnet_agent" only_if { #code block } end Platform: --------- x64-mingw32 [2017-01-17T17:34:34-05:00] INFO: windows_package[AppDynamics .NET Agent] sending run action to powershell_script[Restart IIS] (delayed)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Getting this error when trying to install app dynamics on new web servers.
The text was updated successfully, but these errors were encountered: