]> git.openstreetmap.org Git - chef.git/blob - roles/otrs.rb
Make sure tile cookbook only requests the required postgres version
[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_legal => {
36         :comment => "legal@otrs.openstreetmap.org",
37         :domains => ["otrs.openstreetmap.org"],
38         :local_parts => ["legal"],
39         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Licensing Working Group'",
40         :user => "otrs",
41         :group => "www-data",
42         :home_directory => "/opt/otrs"
43       },
44       :otrs_legal_privacy => {
45         :comment => "legal-privacy@otrs.openstreetmap.org",
46         :domains => ["otrs.openstreetmap.org"],
47         :local_parts => ["legal-privacy"],
48         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Licensing Working Group::Privacy'",
49         :user => "otrs",
50         :group => "www-data",
51         :home_directory => "/opt/otrs"
52       },
53       :otrs_legal_questions => {
54         :comment => "legal-questions@otrs.openstreetmap.org",
55         :domains => ["otrs.openstreetmap.org"],
56         :local_parts => ["legal-questions"],
57         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Licensing Working Group::Legal Questions'",
58         :user => "otrs",
59         :group => "www-data",
60         :home_directory => "/opt/otrs"
61       },
62       :otrs_legal_trademarks => {
63         :comment => "legal-trademarks@otrs.openstreetmap.org",
64         :domains => ["otrs.openstreetmap.org"],
65         :local_parts => ["legal-trademarks"],
66         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Licensing Working Group::Trademarks'",
67         :user => "otrs",
68         :group => "www-data",
69         :home_directory => "/opt/otrs"
70       },
71       :otrs_sotm_program => {
72         :comment => "sotm-program@otrs.openstreetmap.org",
73         :domains => ["otrs.openstreetmap.org"],
74         :local_parts => ["sotm-program"],
75         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'State of the Map:Program'",
76         :user => "otrs",
77         :group => "www-data",
78         :home_directory => "/opt/otrs"
79       },
80       :otrs_support => {
81         :comment => "support@otrs.openstreetmap.org",
82         :domains => ["otrs.openstreetmap.org"],
83         :local_parts => ["support"],
84         :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Technical Support'",
85         :user => "otrs",
86         :group => "www-data",
87         :home_directory => "/opt/otrs"
88       }
89     }
90   },
91   :otrs => {
92     :site => "otrs.openstreetmap.org",
93     :site_aliases => ["otrs.osm.org"]
94   }
95 )
96
97 run_list(
98   "recipe[otrs]"
99 )