vendored/puppet/lib/puppet/file_serving/configuration.rb in bolt-0.7.0 vs vendored/puppet/lib/puppet/file_serving/configuration.rb in bolt-0.8.0
- old
+ new
@@ -2,10 +2,11 @@
require 'puppet/file_serving'
require 'puppet/file_serving/mount'
require 'puppet/file_serving/mount/file'
require 'puppet/file_serving/mount/modules'
require 'puppet/file_serving/mount/plugins'
+require 'puppet/file_serving/mount/locales'
require 'puppet/file_serving/mount/pluginfacts'
require 'puppet/file_serving/mount/tasks'
class Puppet::FileServing::Configuration
require 'puppet/file_serving/configuration/parser'
@@ -79,9 +80,11 @@
def mk_default_mounts
@mounts["modules"] ||= Mount::Modules.new("modules")
@mounts["modules"].allow('*') if @mounts["modules"].empty?
@mounts["plugins"] ||= Mount::Plugins.new("plugins")
@mounts["plugins"].allow('*') if @mounts["plugins"].empty?
+ @mounts["locales"] ||= Mount::Locales.new("locales")
+ @mounts["locales"].allow('*') if @mounts["locales"].empty?
@mounts["pluginfacts"] ||= Mount::PluginFacts.new("pluginfacts")
@mounts["pluginfacts"].allow('*') if @mounts["pluginfacts"].empty?
@mounts["tasks"] ||= Mount::Tasks.new("tasks")
@mounts["tasks"].allow('*') if @mounts["tasks"].empty?
end