diff options
author | Brice Figureau <brice-puppet@daysofwonder.com> | 2010-07-25 17:42:42 +0200 |
---|---|---|
committer | Markus Roberts <Markus@reality.com> | 2010-07-25 22:24:50 -0700 |
commit | 7d42f77b83a7597a879a0fc2080c18b7c76c6fc3 (patch) | |
tree | e8d0dbbe61539faf014d19db01f0c96bda55cfd6 /lib | |
parent | 760e418d254a8d2198d2c6eb466d783a5930ef47 (diff) | |
download | puppet-7d42f77b83a7597a879a0fc2080c18b7c76c6fc3.tar.gz puppet-7d42f77b83a7597a879a0fc2080c18b7c76c6fc3.tar.xz puppet-7d42f77b83a7597a879a0fc2080c18b7c76c6fc3.zip |
JRuby doesn't implement Process.maxgroups
So let's not call it :)
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/util/monkey_patches.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/puppet/util/monkey_patches.rb b/lib/puppet/util/monkey_patches.rb index e035afd9f..9664ff310 100644 --- a/lib/puppet/util/monkey_patches.rb +++ b/lib/puppet/util/monkey_patches.rb @@ -1,4 +1,7 @@ -Process.maxgroups = 1024 + +unless defined? JRUBY_VERSION + Process.maxgroups = 1024 +end module RDoc def self.caller(skip=nil) |