Similar to above, I recommend validating that the script exists and is executable in a settings hook, not here as we should catch and report the problem to the user as early as possible when starting Puppet.