summaryrefslogtreecommitdiffstats
path: root/lib/puppet/provider
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/provider')
-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