這種錯誤很好修正,明確提示在哪一行了:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Syntax error at '.'; expected ']' at /etc/puppet/modules/sys_re2c/manifests/install.pp:9 on node zabbixtest
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
如果一眼看不出來,就看兩眼,否則……多看前後部分,軟件報錯,只是報個大概位置。