所以我已经将我的Puppet版本更新为3.5.0,并且以前工作的puppet apply命令不再工作了。我在〜/ .puppet / puppet.conf中定义了一个certname:
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdir/templates
manifestdir=$confdir/manifests
parser=future
certname=app.staging.hello.world
[master]
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
我正在运行命令:
cd ~/.puppet and sudo puppet apply manifests/
得到:
Error: Could not find default node or by name with 'ip-x-x-x-x.eu-west-1.compute.internal, ip-x-x-x-x.eu-west-1.compute, ip-x-x-x-x.eu-west-1, ip-x-x-x-x' on node ip-x-x-x-x.eu-west-1.compute.internal
Error: Could not find default node or by name with 'ip-x-x-x-x.eu-west-1.compute.internal, ip-x-x-x-x.eu-west-1.compute, ip-x-x-x-x.eu-west-1, ip-x-x-x-x' on node ip-x-x-x-x.eu-west-1.compute.internal
在〜/ .puppet / manifests中我有app.pp,其节点与certname匹配:
node /^app\d*\.staging\d*\.(.*)$/
为什么Puppet不接受它?
答案 0 :(得分:2)
答案 1 :(得分:0)
如果此错误因降级到3.4.3而消失,那么这可能是一个错误。对解析器进行了更改,可能会导致此类回归。我无法说出来。
你会在Puppet's Jira打开一张票吗?