summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/parser/functions/assert_private.rb (renamed from lib/puppet/parser/functions/private.rb)6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/puppet/parser/functions/private.rb b/lib/puppet/parser/functions/assert_private.rb
index 60210d3..66c79cc 100644
--- a/lib/puppet/parser/functions/private.rb
+++ b/lib/puppet/parser/functions/assert_private.rb
@@ -1,15 +1,15 @@
#
-# private.rb
+# assert_private.rb
#
module Puppet::Parser::Functions
- newfunction(:private, :doc => <<-'EOS'
+ newfunction(:assert_private, :doc => <<-'EOS'
Sets the current class or definition as private.
Calling the class or definition from outside the current module will fail.
EOS
) do |args|
- raise(Puppet::ParseError, "private(): Wrong number of arguments "+
+ raise(Puppet::ParseError, "assert_private(): Wrong number of arguments "+
"given (#{args.size}}) for 0 or 1)") if args.size > 1
scope = self