所以我已经将我的木偶版本更新到了3.5.0,之前有效的木偶应用命令不再起作用了。我有一个certname在~/.puppet/puppet.conf中定义:
[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中,我有一个节点与certname匹配的app.pp:
node /^app\d*\.staging\d*\.(.*)$/为什么木偶不把它捡起来?
发布于 2014-04-09 12:15:17
发布于 2014-04-08 20:36:01
如果这个错误通过降级到3.4.3而消失,那么这很可能是一个bug。解析器发生了变化,可能会导致这样的回归。我真的分不清。
你能在Puppet's Jira开票吗?
https://stackoverflow.com/questions/22868060
复制相似问题