Issue #5304 has been updated by Charlie Sharpsteen.

Keywords set to  customer

----------------------------------------
Bug #5304: mailman maillist type uses real_name where it should use 
internal_name
https://projects.puppetlabs.com/issues/5304#change-88745

* Author: Nigel Kersten
* Status: Closed
* Priority: Normal
* Assignee: Nigel Kersten
* Category: maillist
* Target version: 2.6.5
* Affected Puppet version: 2.6.2
* Keywords:  customer
* Branch: 
----------------------------------------
I noticed that every puppet run fails on one of our list servers. 
1. Puppet checks if the list exists 
2. Finds that the list does not exist (for the reason that I mention below) 
3. Tries to create it. It fails, because mailman knows the list exists and will 
not create it. 
4. As a reault of this failure puppet will not run newalias

So, we need to run newaliases manually after a puppet run.

This is because for this list the "real_name" and list name that we have 
created are different. You can set Real name to a different value than listname 
(or internal_name in mailman speak) in the list config page and there are 
chances that more list administrators might do this.

Looking at the mailman maillist provider, we run list_lists to check if the 
list exists. Now, list_lists provides different outputs based on what 
parameters are passed. list_lists gives out list's "real_name" + description 
whereas "list_lists --bare" outputs just list's "internal_name".

>From what I understand, we only need the list name and that too the 
>internal_name, and not the description (I do not see it being used anywhere by 
>the provider). If that is the case, can we change the command :list_lists in 
>the provider to "/usr/lib/mailman/bin/list_lists --bare" ? This will also mean 
>we can do away with a few lines for processing the output from the that 
>command.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to