summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-09-25 00:42:50 -0500
committerLuke Kanies <luke@madstop.com>2007-09-25 00:42:50 -0500
commitc3c3e519219ad80ac07d21c74849fbc4246c9d7a (patch)
tree1ec6232b68d0feb4d7daa5742da44fd1956a6a44 /lib
parentc319fd059d2d563432700214d4946cf0bf925894 (diff)
Fixing a small problem with the mailman type
Diffstat (limited to 'lib')
-rwxr-xr-xlib/puppet/provider/maillist/mailman.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/provider/maillist/mailman.rb b/lib/puppet/provider/maillist/mailman.rb
index b556eecd7..903689178 100755
--- a/lib/puppet/provider/maillist/mailman.rb
+++ b/lib/puppet/provider/maillist/mailman.rb
@@ -101,9 +101,9 @@ Puppet::Type.type(:maillist).provide(:mailman) do
# Pull the current state of the list from the full list. We're
# getting some double entendre here....
def query
- provider.class.instances.each do |list|
+ self.class.instances.each do |list|
if list.name == self.name or list.name.downcase == self.name
- return list.property_hash
+ return list.properties
end
end
nil