前段时间一直没有搞定 puppetrun 这两天终于搞定了。小兴奋下,呵呵 puppetrun 主要配置 还是在 puppet client 上

主配置文件如下:

[main]
    vardir = /var/lib/puppet
    logdir = /var/log/puppet
    rundir = /var/run/puppet
    ssldir = $vardir/ssl
[puppetd]
    server = puppet10-001
    authconfig = /etc/puppet/namespaceauth.conf
    classfile = $vardir/classes.txt
    localconfig = $vardir/localconfig
    puppetdlog = /var/log/puppet/puppetd.log
    runinterval = 86400
    listen = true
    puppetport = 8139

namespaceauth.conf配置 千万不能没有该配置文件,否则500错误,满天飞

[fileserver]
    allow puppet
[puppetmaster]
    allow puppet
[puppetrunner]
    allow puppet