File tree Expand file tree Collapse file tree
recipes/newrelic/apm/dotNet Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -272,15 +272,7 @@ install:
272272 sudo apt-get -o Acquire::Check-Valid-Until=false update >/dev/null
273273 sudo apt-get install newrelic-dotnet-agent -y -qq > /dev/null
274274 else
275- sudo rpm -Uvh http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm || true
276- cat << REPO | sudo tee "/etc/yum.repos.d/newrelic-dotnet-agent.repo" > /dev/null
277- [newrelic-dotnet-agent-repo]
278- name=New Relic .NET Core packages for Enterprise Linux
279- baseurl=http://yum.newrelic.com/pub/newrelic/el7/\$basearch
280- enabled=1
281- gpgcheck=1
282- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NewRelic
283- REPO
275+ curl -s https://download.newrelic.com/dot_net_agent/yum/newrelic-dotnet-agent.repo -o /etc/yum.repos.d/newrelic-dotnet-agent.repo >/dev/null
284276 sudo yum install newrelic-dotnet-agent -q -y
285277 fi
286278 - echo "New Relic .NET agent installed"
You can’t perform that action at this time.
0 commit comments