puppet中的调试器失败' boost :: locale :: conv :: invalid_charset_error'

时间:2018-02-08 00:09:27

标签: centos puppet

操作系统:Oracle Linux Server 7.1版

Puppet --version:4.10.10

当使用-d选项进行puppet apply时,调试将终止,并显示以下错误。

Debug: Loading external facts from /opt/puppetlabs/puppet/cache/facts.d
terminate called after throwing an instance of 'boost::locale::conv::invalid_charset_error'
  what():  Invalid or unsupported charset:ANSI_X3.4-1968
Aborted (core dumped)

有人遇到过这个问题吗?

1 个答案:

答案 0 :(得分:0)

localedef -i en_US -f UTF-8 en_US.UTF-8 

这解决了这个问题。