This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
forked from grahamgilbert/munki-trello
-
Notifications
You must be signed in to change notification settings - Fork 4
/
munki-staging.cfg-template
236 lines (224 loc) · 7.25 KB
/
munki-staging.cfg-template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
#
# Munki Trello Settings
#
# Settings for munki-trello will be read from this file; if not
# specified here, they will take the default value.
#
# Certian values given here can be overwritten on the command line,
#
# The default configuration file locations are:
# /etc/munki-staging/munki-staging.cfg
# ./munki-staging.cfg
#
# You can add an extra config file location by using the --config
# command line option. N.B. Configuration files will be processed
# *before* command line options
#
# This file has the following required sections:
# * main - main application settings
# * munki_repo_<name> - the base munki repository
# Any number of munki repositories can be used; note that each
# repository can only have a single catalog>
# It can have any number of Catalogs which are given in sections:
# * munki_catalog_<identifier>
# where <identifier> is a suggesitive name for the catalog.
# If no configuration file is given the software will use
# the default catalogs (but this is not well tested):
#
# * development - settings about the development board/catalog
# * testing - settings about the testings board/catalog
# * production - settings about the production board/catalog
#
# There is a final optional section:
# * rssfeeds
# will will configure the output of # an RSS feed pre catalog with
# details of the software; note that you will need to install
# PyRSS2Gen in order for this to work
#
# The order of the sections does not matter
#
# See README.md for more information
#
[main]
# The ID of the trello board - the board ID is the part after ``/b``
# and before the name of your board in the trello URL
# This is required; there is no default
#boardid=
# The API key and user token for trello - see README.md about generating
# this and the token that follows
# These are required; there is no default
#key=
#token=
# The path to the munki `makecatalogs`` command.
# Defaults to ``/usr/local/munki/makecatalogs``
# makecatalogs=/usr/local/munki/makecatalogs
# The path to the Munki repository being used
# Defaults to ``/Volumes/Munki``
# repo_path=/Volumes/Munki
# The date format to use when creating dated lists.
# See strftime(1) for details of formatting options.
# Defaults to ``%d/%m/%y``
# date_format=%d/%m/%y
#
# Munki Repositories
#
# There must be at least one munki repository defined, but beyon this
# there can be any number of munki repository sections, which
# are specified by the name [munki_repo_<reponame>].
# See the README.md file for more information
#
#[munki_repo_software]
#repo_path=/Volumes/Munki/Software
#
#
# RSS Feeds
# If present this section will configure the ouput of an RSS Feed
# which will; contain details of what software (name and version)
# is in each catalog.
# Omitting this section will turn off the generation of RSSFeeds.
#
# Each directive is required; there are no defaults.
#[rssfeeds]
#rssdir=/Volumes/Munki/htdocs/rssfeeds
#rss_link_template=https://site.orchard.ox.ac.uk/packages/%(name)s
#guid_link_template=https://site.orchard.ox.ac.uk/packages/%(name)s/%(version)s
#catalog_link_template=https://site.orchard.ox.ac.uk/catalogs/%(catalog)s
#description_template='Software packages in Site Orchard %(catalog)s catalog'
#icon_url_template=https://site.orchard.ox.ac.uk/munki/%(icon_path)s
#
#
# Munki Catalog Sections
#
# The Munki catalog sections contain information about different Munki
# catalogs and their related Trello lists. This information includes any
# configuration of autostaging, and the setting of due dates.
#
# You can have any number of these sections
#
# Below we give an example following the default configiration
#
#
#[munki_catalog_development]
# The name trello list for development
# Defaults to Development
#list=Development
# The munki repository to use
#munki_repo=software
# The name of the munki catalog for development
# Defaults to development
#catalog=development
# The name of the 'To Development' list in trello
# Defaults to 'To <list>', i.e. 'To Development'
#to_list='To Development'
# If new Trello lists are created when packages are
# moved into this catalog, based on the date the packages are moved
#dated_lists=0
#[munki_catalog_test]
# The name trello list for testing
# Defaults to Testing
#list=Testing
# The munki repository to use
#munki_repo=software
# The name of the munki catalog for testing
# Defaults to test
#catalog=testing
# The name of the 'To Testing' list in trello
# Defaults to 'To <list>', i.e. 'To Testing'
#to_list='To Testing'
# If new Trello lists are created when packages are
# moved into this catalog, based on the date the packages are moved
# Settings for the testing catalog and list
#dated_lists=0
#[munki_catalog_production]
# The name trello list for production
# Defaults to Production
# The munki repository to use
#munki_repo=software
#list=Production
# The name of the munki catalog for production
# Defaults to production
#catalog=production
# The name of the 'To Production' list in trello
# Defaults to 'To <list>', i.e. 'To Production'
#to_list='To Production'
# If new Trello lists are created when packages are
# moved into this catalog, based on the date the packages are moved
# Settings for the production catalog and list
#dated_lists=1
#
# An example configuration with automatic staging and archiving
# of software into a different Munki repositiory
#
# Firstly, define the additional repository:
#
#[munki_repo_archived]
#repo_path=/Volumes/munki/archived
#
# Then we define 4 catalogs:
# * unstable
# * testing
# * stable
# * stable
#
#[munki_catalog_development]
# Define the Trello list, accepting the default name for the 'To' list
#list=Unstable
# The Munki repository and catalog to use
#munki_repo=software
#catalog=unstable
# To autostage we need to know how many days we wait before staging
# (based on trello card due date - which can be overwritten by hand)
# and where to stage to
#autostage=1
#stage_days=10
#stage_to=testing
#
#
# The testing catalog
#[munki_catalog_testing]
# Define the trello list, again accepting the default 'To' list
#list=Testing
# The Munki repostiory and catalog:
#munki_repo=software
#catalog=testing
# Turn on autostaging every 10 days:
#autostage=1
#stage_days=10
#stage_to=stable
#
# The Stable catalog - note this doesn't stage as we move
# into the archive by hand
#
#[munki_catalog_production]
#list=Stable
#munki_repo=software
#catalog=stable
#
#autostage=0
#stage_from=testing
#
# Finally the retired catalog, with a different Munki repository
# (perhaps held on slower disks that the main repository)
#[munki_catalog_retired]
#list=Retired
#munki_repo=retired
#catalog=retired
#
#[schedule]
# The schedule section specifies when autostaging will happen.
# By default, this will be every time the script runs.
# If you add this optional section, autostaging will only happen if
# the script is running in one of the periods defined.
# The optional parameters have the format:
# <Day of Week>=timeperiod[,timeperiod]+
# where <Day of the week> is the long name of the day of the week in the
# current locale and time periods are start ``time-end time`` where each
# time is specified by HH:MM. For example, to only stage on Monday to
# Thursday between 09:00 and 17:00 you have the section:
#Monday=09:00-17:00
#Tuesday=09:00-17:00
#Wednesday=09:00-17:00
#Thursday=09:00-17:00
#
#[schedule_<catalog>]
# As above, but schedule on a per-catalog basis