Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions lib/puppet/defaults.rb
Original file line number Diff line number Diff line change
Expand Up @@ -694,21 +694,8 @@ def self.initialize_default_settings!(settings)
:type => :duration,
:desc => "The minimum time to wait between checking for updates in
configuration files. This timeout determines how quickly Puppet checks whether
a file (such as manifests or puppet.conf) has changed on disk. The default will
change in a future release to be 'unlimited', requiring a reload of the Puppet
service to pick up changes to its internal configuration. Currently we do not
accept a value of 'unlimited'. To reparse files within an environment in
Puppet Server please use the environment_cache endpoint",
:hook => proc do |val|
unless [0, 15, '15s'].include?(val)
Puppet.deprecation_warning(<<-WARNING)
Fine grained control of filetimeouts is deprecated. In future
releases this value will only determine if file content is cached.

Valid values are 0 (never cache) and 15 (15 second minimum wait time).
WARNING
end
end
a file (such as manifests or puppet.conf) has changed on disk. To reparse files
within an environment in Puppet Server please use the environment_cache endpoint",
},
:environment_timeout => {
:default => "0",
Expand Down
Loading