newer pg module
[mirror/dsa-puppet.git] / 3rdparty / modules / postgresql / lib / puppet / parser / functions / postgresql_acls_to_resources_hash.rb
index 7fa7854..2508f85 100644 (file)
@@ -30,7 +30,7 @@ module Puppet::Parser::Functions
 
     offset = args[2].to_i
     raise(Puppet::ParseError, "#{func_name}: third argument must be a number") \
-      unless offset.instance_of? Fixnum
+      unless offset.is_a? Integer
 
     resources = {}
     acls.each do |acl|