Sandra Schlichting
2012-Oct-09 16:30 UTC
[Puppet Users] How to use prerun_command in puppet.conf ?
Hi,
I am using puppet 2.7.19 and if I use puppet.conf as
[main]
logdir = /var/log/puppet
rundir = /var/run/puppet
ssldir = $vardir/ssl
[agent]
classfile = $vardir/classes.txt
localconfig = $vardir/localconfig
prerun_command = /bin/false
or add prerun to [main] and do
puppet agent --listen --test --noop
then it doesn''t fail, as I would have expected.
I would like to execute a script on the puppetmaster everytime a node tries
to connect.
Am I doing something wrong?
Hugs,
Sandra
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/5zkorActIrUJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.