Puppet 配置检查与 Docker 入门指南
一、Puppet 配置检查
1.1 查看 Puppet 配置参数
Puppet 的配置设置存储在 puppet.conf 中,但有许多参数,未在 puppet.conf 中列出的参数将采用默认值。要查看任何配置参数的值,无论其是否在 puppet.conf 中明确设置,可使用 puppet config print 命令。
操作步骤如下:
运行以下命令,该命令会产生大量输出(如果想浏览可用的配置设置,通过 less 管道传输可能会有帮助):
[root@cookbook ~]# puppet config print |head -25
report_serialization_format = pson
hostcsr = /var/lib/puppet/ssl/csr_cookbook.example.com.pem
filetimeout = 15
masterhttplog = /var/log/puppet/masterhttp.log
pluginsignore = .svn CVS .git
ldapclassattrs = puppetclass
certdir = /var/lib/puppet/ssl/certs
ignoreschedules = false
disable_per_environment_manifest = false
archive_files =
超级会员免费看
订阅专栏 解锁全文
14

被折叠的 条评论
为什么被折叠?



