handle buckets with "_" in name
This commit is contained in:
parent
ae6cb5bcfb
commit
064160288a
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.install(name, env, configs)
|
def self.install(name, env, configs)
|
||||||
bucket = const_get(name.to_s.capitalize)
|
bucket = const_get(name.to_s.split("_").map{|x| x.capitalize}.join(""))
|
||||||
bucket.new(name, env, configs).install
|
bucket.new(name, env, configs).install
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue