summaryrefslogtreecommitdiffstats
path: root/lib/puppet/file_serving/configuration.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-08-31 23:38:26 -0700
committerJames Turnbull <james@lovedthanlost.net>2009-09-01 21:05:05 +1000
commit3342b73b6acf5e7c492fa352b16ba9aba3c60da8 (patch)
tree2f6f45b77f61519fa5616c1df8632c9428a35471 /lib/puppet/file_serving/configuration.rb
parentd397f8d1d1092067f7ca52449ce9af63f02f44e1 (diff)
downloadpuppet-3342b73b6acf5e7c492fa352b16ba9aba3c60da8.tar.gz
puppet-3342b73b6acf5e7c492fa352b16ba9aba3c60da8.tar.xz
puppet-3342b73b6acf5e7c492fa352b16ba9aba3c60da8.zip
Fixing #2577 - clarifying and demoting the deprecation notice
It's now just notice instead of a warning, and it clarifies that 0.24 clients can't be present. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/file_serving/configuration.rb')
-rw-r--r--lib/puppet/file_serving/configuration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/file_serving/configuration.rb b/lib/puppet/file_serving/configuration.rb
index a247f53dd..ac54a7a8a 100644
--- a/lib/puppet/file_serving/configuration.rb
+++ b/lib/puppet/file_serving/configuration.rb
@@ -41,7 +41,7 @@ class Puppet::FileServing::Configuration
end
if environment.module(mount_name)
- Puppet::Util::Warnings.warnonce "DEPRECATION NOTICE: Found module '%s' without using the 'modules' mount; please prefix path with 'modules/'" % mount_name
+ Puppet::Util::Warnings.notice_once "DEPRECATION NOTICE: Files found in modules without specifying 'modules' in file path will be deprecated in the next major release. Please fix module '%s' when no 0.24.x clients are present" % mount_name
return mounts["modules"]
end