mitchellh/vagrant — pull request #768 by dbroeglin (2012-02-29 09:37:18+00:00)
Title: FooProvisioner::Config does not seem to be used by default

Hello,

The doc here http://vagrantup.com/docs/provisioners/others.html states that

class FooProvisioner < Vagrant::Provisioners::Base
# Vagrant automatically finds a class named "Config" namespaced
# beneath the provisioner, and uses it!
class Config < Vagrant::Config::Base

However, it did not seem to be the case. I had to add this method to my provisioner (copied from the standard provisioner's code):

def self.config_class
Config
end

This patch should solve the issue. Be careful though, as I'm not familiar at all with vagrant's code ;-)

Best regards,
Dom