可能重复:
提醒失败的木偶状态
如何设置Puppet将失败的报告发送到地址?
我已经设置了puppet.conf
[master] server = puppet.site.net [main] #dns_alt_names = puppet.site.net report = true #pluginsync = true # The Puppet log directory. # The default value is '$vardir/log'. logdir = /var/log/puppet # Where Puppet PID files are kept. # The default value is '$vardir/run'. rundir = /var/run/puppet # Where SSL certificates are kept. # The default value is '$confdir/ssl'. ssldir = $vardir/ssl [agent] # The file in which puppetd stores a list of the classes # associated with the retrieved configuratiion. Can be loaded in # the separate ``puppet`` executable using the ``--loadclasses`` # option. # The default value is '$confdir/classes.txt'. classfile = $vardir/classes.txt # Where puppetd caches the local configuration. An # extension indicating the cache format is added automatically. # The default value is '$confdir/localconfig'. localconfig = $vardir/localconfig
我见过一个post 。 但这是为了一切。
我只需要失败。 无论是在主人和客户。
有人可以帮助我一个工作conf和安装?
为了这个目的,你将会有更多的运气。
如果你可以在Ruby中编写代码,你可以在Foreman中添加更多的function,通过电子邮件发送非常具体的错误或事件,以及不同的人等。