/[adm]/puppet/modules/sympa/manifests/init.pp
ViewVC logotype

Diff of /puppet/modules/sympa/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 553 by misc, Thu Dec 9 12:34:19 2010 UTC revision 557 by misc, Thu Dec 9 12:34:23 2010 UTC
# Line 70  class sympa { Line 70  class sympa {
70              mode => 755,              mode => 755,
71          }          }
72      }      }
73    
74        define list($subject, $profile, $language = 'en') {
75    
76            $xml_file = "/etc/sympa/lists_xml/$name.xml"
77    
78            file { "$xml_file":
79                owner => root,
80                group => root,
81                content => template('sympa/list.xml')    
82            }
83    
84            exec { "sympa.pl --create_list --robot=ml.$domain --input_file=$xml_file":
85                refreshonly => true,
86                subscribe => File["$xml_file"]
87            }
88        }
89  }  }
90    

Legend:
Removed from v.553  
changed lines
  Added in v.557

  ViewVC Help
Powered by ViewVC 1.1.30