]> git.openstreetmap.org Git - chef.git/blob - roles/otrs.rb
Drop roles for thorn-02 and thorn-03
[chef.git] / roles / otrs.rb
1 name "otrs"
2 description "Role applied to all OTRS servers"
3
4 default_attributes(
5   :exim => {
6     :local_domains => ["otrs.openstreetmap.org"],
7     :routes => {
8       :otrs_otrs => {
9         :comment => "otrs@otrs.openstreetmap.org",
10         :domains => ["otrs.openstreetmap.org"],
11         :local_parts => ["otrs"],
12         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read",
13         :user => "otrs",
14         :group => "www-data",
15         :home_directory => "/opt/otrs"
16       },
17       :otrs_data => {
18         :comment => "data@otrs.openstreetmap.org",
19         :domains => ["otrs.openstreetmap.org"],
20         :local_parts => ["data"],
21         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Data Working Group'",
22         :user => "otrs",
23         :group => "www-data",
24         :home_directory => "/opt/otrs"
25       },
26       :otrs_membership => {
27         :comment => "membership@otrs.openstreetmap.org",
28         :domains => ["otrs.openstreetmap.org"],
29         :local_parts => ["membership"],
30         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Membership Working Group'",
31         :user => "otrs",
32         :group => "www-data",
33         :home_directory => "/opt/otrs"
34       },
35       :otrs_membership_osmf_talk_owner => {
36         :comment => "osmf-talk-owner@otrs.openstreetmap.org",
37         :domains => ["otrs.openstreetmap.org"],
38         :local_parts => ["osmf-talk-owner"],
39         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Membership Working Group::osmf-talk'",
40         :user => "otrs",
41         :group => "www-data",
42         :home_directory => "/opt/otrs"
43       },
44       :otrs_legal => {
45         :comment => "legal@otrs.openstreetmap.org",
46         :domains => ["otrs.openstreetmap.org"],
47         :local_parts => ["legal"],
48         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Licensing Working Group'",
49         :user => "otrs",
50         :group => "www-data",
51         :home_directory => "/opt/otrs"
52       },
53       :otrs_legal_privacy => {
54         :comment => "legal-privacy@otrs.openstreetmap.org",
55         :domains => ["otrs.openstreetmap.org"],
56         :local_parts => ["legal-privacy"],
57         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Licensing Working Group::Privacy'",
58         :user => "otrs",
59         :group => "www-data",
60         :home_directory => "/opt/otrs"
61       },
62       :otrs_legal_questions => {
63         :comment => "legal-questions@otrs.openstreetmap.org",
64         :domains => ["otrs.openstreetmap.org"],
65         :local_parts => ["legal-questions"],
66         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Licensing Working Group::Legal Questions'",
67         :user => "otrs",
68         :group => "www-data",
69         :home_directory => "/opt/otrs"
70       },
71       :otrs_legal_trademarks => {
72         :comment => "legal-trademarks@otrs.openstreetmap.org",
73         :domains => ["otrs.openstreetmap.org"],
74         :local_parts => ["legal-trademarks"],
75         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Licensing Working Group::Trademarks'",
76         :user => "otrs",
77         :group => "www-data",
78         :home_directory => "/opt/otrs"
79       },
80       :otrs_sotm_program => {
81         :comment => "sotm-program@otrs.openstreetmap.org",
82         :domains => ["otrs.openstreetmap.org"],
83         :local_parts => ["sotm-program"],
84         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'State of the Map:Program'",
85         :user => "otrs",
86         :group => "www-data",
87         :home_directory => "/opt/otrs"
88       },
89       :otrs_communications => {
90         :comment => "communications@otrs.openstreetmap.org",
91         :domains => ["otrs.openstreetmap.org"],
92         :local_parts => ["communications"],
93         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Communications Working Group'",
94         :user => "otrs",
95         :group => "www-data",
96         :home_directory => "/opt/otrs"
97       },
98       :otrs_communications_freebies => {
99         :comment => "freebies@otrs.openstreetmap.org",
100         :domains => ["otrs.openstreetmap.org"],
101         :local_parts => ["freebies"],
102         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Communications Working Group::Freebies'",
103         :user => "otrs",
104         :group => "www-data",
105         :home_directory => "/opt/otrs"
106       },
107       :otrs_support => {
108         :comment => "support@otrs.openstreetmap.org",
109         :domains => ["otrs.openstreetmap.org"],
110         :local_parts => ["support"],
111         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Technical Support'",
112         :user => "otrs",
113         :group => "www-data",
114         :home_directory => "/opt/otrs"
115       }
116     }
117   },
118   :otrs => {
119     :site => "otrs.openstreetmap.org",
120     :site_aliases => ["otrs.osm.org"]
121   }
122 )
123
124 run_list(
125   "recipe[otrs]"
126 )