运行rake规格测试我得到: Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See
https://docs.puppet.com/puppet/4.10/reference/deprecated_language.html
(file & line not available)
所以我决定改
尝试更新木偶大师版本和删除,当我试图安装以前的版本后 木偶常见(= 3.8.7-1puppetlabs1 ) 发生错误。 [email protected]:/home/ubuntu/puppet# apt install puppet-common
Reading package lists... Done
Building dependency tree
Reading state i
我整合在我们的傀儡项目rspec-puppet测试,我想自动生成“应该编译”所有主机的规格(最终可能是其他资源)。这是为了确保至少编译成功。 鉴于节点列表,我可以做到这一点: hosts.each do |host|
describe host, type: :host do
it { should compile }
end
end
的问题是如何真正得到的主机