我正在尝试创建一个私有托管的route53区域和一个记录集。清单如下:
`# Setup private DNS for cm.test.com
route53_zone { 'Internal - cm.test.com':
zone => 'cm.test.com',
vpc_id => vpc-6107a005,`enter code here`
ensure => present,
}
# private
route53_a_record { 'Internal - devops-haproxy-1a1.cm.test.com.':
a_record => 'devops-haproxy-1a1.cm.test.com',
ensure => present,
zone => 'cm.test.com',
vpc_id => vpc-6107a005,
ttl => 3000,
values => ['10.23.0.20'],
}`
收到以下错误:
你可以帮忙吗?[ec2-user @ puppetmaster manifests] $ sudo puppet apply route53.pp --test --modulepath / etc / puppetlabs / code / environments / devopstest / modules
2015-11-17 03:46:43.042875 WARN puppetlabs.facter - 语言环境变量不好;继续使用LANG = C. 错误:无法解析环境devopstest:节点puppetmaster上/etc/puppetlabs/code/environments/devopstest/manifests/route53.pp:9:21处的'internal'语法错误
谢谢, 拉姆。
答案 0 :(得分:0)
你可以尝试删除内部 - 部分之间的额外空间,然后再试一次,尝试这样的事情' Internal-cm.test.com'