diff options
author | Ken Barber <ken@bob.sh> | 2011-07-28 21:10:33 +0100 |
---|---|---|
committer | Ken Barber <ken@bob.sh> | 2011-07-28 21:10:33 +0100 |
commit | 1a7bd1ae8321bfc3d2ae87f1d5184828abf56916 (patch) | |
tree | 3485eebc6cff7be3aad3b487bcef3aef92a34e7d /lib/puppet/parser | |
parent | 313df566bf5cfcbef73fc8182ccb07ddf2f13feb (diff) |
Remove is_valid_netmask instead of unstubbing. Doesn't seem like a sensible function on its own.
Diffstat (limited to 'lib/puppet/parser')
-rw-r--r-- | lib/puppet/parser/functions/is_valid_netmask.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/puppet/parser/functions/is_valid_netmask.rb b/lib/puppet/parser/functions/is_valid_netmask.rb deleted file mode 100644 index 41e4843..0000000 --- a/lib/puppet/parser/functions/is_valid_netmask.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# is_valid_netmask.rb -# - -module Puppet::Parser::Functions - newfunction(:is_valid_netmask, :type => :rvalue, :doc => <<-EOS - EOS - ) do |arguments| - - if (arguments.size != 1) then - raise(Puppet::ParseError, "is_valid_netmask(): Wrong number of arguments "+ - "given #{arguments.size} for 1") - end - - end -end - -# vim: set ts=2 sw=2 et : |