Skip to content
New issue

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

Error executing action enable on resource 'newrelic_agent_infrastructure[Install]' is failing on debian7 #381

Open
isukapalli opened this issue Jul 16, 2019 · 0 comments

Comments

@isukapalli
Copy link

Please add support for debian7 and it's failing when enabling the service.
systemd is not available on debian7.

https://github.com/djoos-cookbooks/newrelic/blob/master/providers/agent_infrastructure.rb#L67

 # Declared in /var/cache/chef/backup/cookbooks/newrelic/providers/agent_infrastructure.rb:59:in `install_newrelic_infrastructure_service_linux'

      service("newrelic-infra") do
        provider Chef::Provider::Service::Systemd
        action [:enable, :start]
        supports {:restart=>nil, :reload=>nil, :status=>nil}
        retries 0
        retry_delay 2
        default_guard_interpreter :default
        service_name "newrelic-infra"
        pattern "newrelic-infra"
        declared_type :service
        cookbook_name "ft_newrelic"
      end
@isukapalli isukapalli changed the title Enable newrelic-infra is failing on debian7 enable newrelic-infra service is failing on debian7 Jul 16, 2019
@isukapalli isukapalli changed the title enable newrelic-infra service is failing on debian7 Error executing action enable on resource 'newrelic_agent_infrastructure[Install]' is failing on debian7 Jul 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant