我们正在尝试使用第三方食谱来安装New Relic基础设施代理。但是我们遇到了一个错误:对资源'newrelic_agent_infrastructure [Install]'
执行操作install时出错
我们的食谱:
#
# Cookbook:: third-party-newrelic
# Recipe:: infraestructure-agent
#
# Copyright:: 2018, The Authors, All Rights Reserved.
include_recipe 'base::databag'
include_recipe 'newrelic::infrastructure_agent'
# Default Variables
newrelic = decrypt_databag('newrelic')
node.normal['newrelic']['license'] = newrelic['license_key']
即使使用以下行代替数据包:
node.default_unless ['newrelic'] ['license'] =“ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
我们已经为该命令尝试了许多替代方法,但是它并不肥沃。