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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to