source: ProjectBuilder/devel/pb-modules/etc/pb.yml.pod@ 2285

Last change on this file since 2285 was 2285, checked in by Bruno Cornec, 7 years ago

Add documentation for pbadditionalgpg

File size: 47.1 KB
RevLine 
[962]1=pod
2
3=head1 NAME
4
5Documentation for pb configuration files
6
7=head1 DESCRIPTION
8
9pb helps you build various packages directly from your project sources.
10In order to work correctly, it relies on a certain number of configuration files. Most of these configuration parameters can be setup in all the configuration files, however, they generally make more sense in a specific one, which is indicated. There are mainly 4 configuration files, the one in the home directory of the user (used first), the one from the project (use in second), the one in the VM/VE hosting directory, and the one provided by the tool in /etc/pb or /usr/local/etc/pb (lastly).
11
12=head1 SYNOPSIS
13
[1408]14Those files have the same format, which is near from a perl hash structure:
[962]15keyword key = value1[,value2,...]
16
17The key could be also default, in which case it will be used as a default value if no more precise content is given for the key.
18
[2252]19Each value is detailed below giving the nature of its use (Mandatory or Optional - only used for certain feature), the value of the key (could be the project, an OS name, default, ...), the value of the parameter field and its format, the default configuration file in which it should be defined (home $HOME/.pbrc.yml, conf /etc/pb/pb.yml or /usr/local/etc/pb/pb.yml, VE vepath/.pbrc.yml, VM vmpath/.pbrc.yml, or project project.yml) and an example of use.
[985]20
[962]21=head1 OPTIONS
22
23=over 4
24
[1517]25=item B<addrepo>
26
27 Nature: Optional
[1702]28 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
[1517]29 Value: comma separated list of URLs that point to repository files, or packages to install. The values may not include substitutions.
30 Conffile: project
31 Example: addrepo centos-5-x86_64 = file:///prj/extras.repo,http://mirror.centos.org/centos/5.8/extras/x86_64/RPMS/chrpath-0.13-3.el5.centos.x86_64.rpm
32
[1702]33=item B<cachedir>
34
35 Nature: Optional
36 Key: pb project: rpmbootstrap|pbmkbm|pb
37 Value: Directory to cache temporary content for the relevant pb project.
38 Conffile: pb
39 Example: cachedir rpbootstrap = /var/cache/rpmbootstrap
40
[1386]41=item B<checkexclude>
42
43 Nature: Optional
44 Key: package (as provided in defpkgdir or extpkgdir)
[1507]45 Value: comma separated list of OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch) that are excluded from the checkssh command (no build made for them). The OS name is generaly used here.
[1386]46 Conffile: project
47 Example: checkexclude pkg1 = centos,lsb,solaris
48
[1374]49=item B<cpandir>
50
51 Nature: Optional
52 Key: project (as defined in the -p option or PBPROJ environment variable)
53 Value: CPAN Pause directory to upload new modules
54 Conffile: pb
55 Example: cpandir default = incoming
56
57=item B<cpanpasswd>
58
59 Nature: Optional
60 Key: project (as defined in the -p option or PBPROJ environment variable)
61 Value: CPAN Pause user's password
62 Conffile: home
63 Example: cpanpasswd default = mycomplicatedpwd
64
65=item B<cpanpause>
66
67 Nature: Optional
68 Key: project (as defined in the -p option or PBPROJ environment variable)
69 Value: CPAN Pause site to upload new modules
70 Conffile: pb
71 Example: cpanpause default = pause.perl.org
72
73=item B<cpansubdir>
74
75 Nature: Optional
76 Key: project (as defined in the -p option or PBPROJ environment variable)
77 Value: CPAN Pause subdirectory in the user's area to upload into
78 Conffile: pb
79 Example: cpansubdir default = mydir
80
81=item B<cpanurl>
82
83 Nature: Optional
84 Key: project (as defined in the -p option or PBPROJ environment variable)
85 Value: CPAN Pause URL to activate the upload mecanism
86 Conffile: pb
87 Example: cpanurl default = http://pause.perl.org/pause/authenquery
88
89=item B<cpanuser>
90
91 Nature: Optional
92 Key: project (as defined in the -p option or PBPROJ environment variable)
93 Value: CPAN Pause user
94 Conffile: home
95 Example: cpanuser default = XXX
96
[989]97=item B<defpkgdir>
[962]98
[989]99 Nature: Mandatory
100 Key: project (as defined in the -p option or PBPROJ environment variable)
[1507]101 Value: comma separated list of packages built by default in this project. When not using any package name as a parameter to pb commands, this list will be used.
[989]102 Conffile: project
103 Example: defpkgdir mondorescue = mondo,mindi NB: a default value is not really meaningful.
[962]104
[1066]105=item B<delivery>
106
107 Nature: Optional
108 Key: project (as defined in the -p option or PBPROJ environment variable)
109 Value: directory where to deliver packages once built for ftp/web access.
110 Conffile: project
111 Example: delivery mondorescue = prod
112
[1903]113=item B<dockeropt>
114
115 Nature: Optional
116 Key: project (as defined in the -p option or PBPROJ environment variable)
117 Value: List of the options to call docker with
118 Conffile: project
119 Example: dockeropt default = --bip=172.16.42.1/16
120
[1900]121=item B<dockerregistry>
122
[2003]123 Nature: Optional
[1900]124 Key: project (as defined in the -p option or PBPROJ environment variable)
[2003]125 Value: name of the docker registry to interact with if any
[1900]126 Conffile: project
127 Example: dockerregistry mondorescue = localhost:5900/mondorescue
128
[2092]129=item B<dockerrepository>
130
131 Nature: Optional
132 Key: project (as defined in the -p option or PBPROJ environment variable)
133 Value: name of the docker repository to interact with if any. It is mandatory if no dockerregistry is defined.
134 Conffile: project
135 Example: dockerrepository mondorescue = localhost:5000/mondorescue
136
[962]137=item B<extpkgdir>
138
[989]139 Nature: Optional
140 Key: project (as defined in the -p option or PBPROJ environment variable)
[1507]141 Value: comma separated list of packages built in addition in this project. When using the all package name as a parameter to pb commands, this list will be used, in addition to the defpkgdir list.
[989]142 Conffile: project
143 Example: extpkgdir mondorescue = mondo-doc,mindi-mindibusybox
[962]144
145=item B<filteredfiles>
146
[989]147 Nature: Optional
148 Key: package (as provided in defpkgdir or extpkgdir)
[1507]149 Value: comma separated list of files that will be filtered using the macro system from pb, during the creation of the compressed source tar files for this package. Their path is relative to the directory containing the package.
[989]150 Conffile: project
151 Example: filteredfiles mindi = rootfs/sbin/init,mindi,install.sh,doc/mindi.8
[962]152
[1507]153=item B<ftp_proxy>
154
155 Nature: Optional
156 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
157 Value: string indicating the proxy to use
158 Conffile: pb
159 Example: ftp_proxy default = http://example.com:3128/
160
161=item B<http_proxy>
162
163 Nature: Optional
164 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
165 Value: string indicating the proxy to use
166 Conffile: pb
167 Example: http_proxy default = http://example.com:3128/
168
[2234]169=item B<https_proxy>
170
171 Nature: Optional
172 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
173 Value: string indicating the proxy to use
174 Conffile: pb
175 Example: https_proxy default = http://example.com:3128/
176
[1408]177=item B<logcmd>
178
179 Nature: Mandatory
[1702]180 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
[1408]181 Value: internal (the application then handles the logging of what it finds useful) or the name of an application to launch to log context (e.g. sos, cfg2html, ...).
182 Conffile: pb
[1702]183 Example: logcmd mageia = sos
[1408]184
185=item B<logcmds>
186
187 Nature: Optional
[1702]188 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
[1507]189 Value: In case the B<logcmd> command is internal, a comma separated list of the commands whose trace execution is to be captured in order to log context.
[1408]190 Conffile: pb
[1702]191 Example: logcmds mageia = mount,lsmod,esxcfg-module -l,df -T
[1408]192
193=item B<logfiles>
194
195 Nature: Optional
[1702]196 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
[1507]197 Value: In case the B<logcmd> command is internal, a comma separated list of the files to capture in order to log context.
[1408]198 Conffile: pb
[1702]199 Example: logfiles mageia = /etc/raidtab,/proc/cmdline,/proc/swaps
[1408]200
201=item B<logopt>
202
203 Nature: Optional
[1702]204 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
[1408]205 Value: In case the B<logcmd> command is not internal, the options of the B<logcmd> application to launch to log context
206 Conffile: pb
[1953]207 Example: logopt mageia = --all
[1408]208
209=item B<mkbmbootcmds>
210
211 Nature: Mandatory
212 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
[1507]213 Value: comma separated list of commands to be copied from the original OS to the target boot media tree (works recursively for directory creation on the target). Their actual path is deduced from the PATH variable.
[1408]214 Conffile: pb
215 Example: mkbmbootcmds linux = perl,awk,gawk,dd,grep,uname
216
217=item B<mkbmbootdirs>
218
219 Nature: Mandatory
220 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
[1507]221 Value: comma separated list of directories to be copied from the original OS to the target boot media tree (works recursively on the target).
[1408]222 Conffile: pb
223 Example: mkbmbootdirs linux = /etc/ssh,/etc/udev,/etc/mdadm
224
225=item B<mkbmbootfiles>
226
227 Nature: Mandatory
228 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
[1507]229 Value: comma separated list of files to be copied from the original OS to the target boot media tree (works recursively for directory creation on the target).
[1408]230 Conffile: pb
231 Example: mkbmbootfiles linux = /etc/mdadm.conf,/etc/raidtab,/etc/modprobe.conf
232
233=item B<mkbmkerneldir>
234
235 Nature: Mandatory
236 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
237 Value: path of the directory containing your kernel.
238 Conffile: pb
239 Example: mkbmkerneldir linux = /boot
240
241=item B<mkbmkernelfile>
242
243 Nature: Optional
244 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
245 Value: full path of the your kernel.
246 Conffile: pb
247 Example: mkbmkernelfile linux = /boot/vmlinuz-specific
248
249=item B<mkbmkernelnamere>
250
251 Nature: Mandatory
252 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
253 Value: Perl Regular Expression allowing to find OS kernel names in the B<kerneldir> directory.
254 Conffile: pb
255 Example: mkbmkerneldir linux = ^linu|^vmlinu|^xen
256
257=item B<mkbmtargetdirs>
258
259 Nature: Mandatory
260 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
[1507]261 Value: comma separated list of empty directory paths to be created on the target boot media.
[1408]262 Conffile: pb
263 Example: mkbmtargetdirs linux = /tmp,/dev
264
[962]265=item B<namingtype>
266
[989]267 Nature: Optional
268 Key: package (as provided in defpkgdir or extpkgdir)
269 Value: perl, if packages are CPAN perl modules that need to be named respecting the distribution perl convention (perl-Name for rpm, libname-perl for deb)
270 Conffile: project
271 Example: namingtype ProjectBuilder = perl
[962]272
273=item B<osambiguous>
274
[989]275 Nature: Optional
276 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). In that case, should be an OS name.
[1507]277 Value: comma separated list of distributions which use the same file name in /etc for different distributions (ex: /etc/redhat-release for redhat, rhel, mandriva,...). Cf: B<osrelambfile>
[989]278 Conffile: pb
279 Example: osambiguous debian = debian,ubuntu
[962]280
[1109]281=item B<oschkcmd>
282
283 Nature: Optional
284 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
285 Value: package checker tool.
286 Conffile: pb
287 Example: oschkcmd deb = /usr/bin/lintian
288
289=item B<oschkopt>
290
291 Nature: Optional
292 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
293 Value: package checker tool options.
294 Conffile: pb
295 Example: oschkcmd rpm = -i
296
[1126]297=item B<oscmd>
298
299 Nature: Mandatory
300 Key: tool (pb or rpmbootstrap)
301 Value: come separated list of commands that are mandatory on the underlying system
302 Conffile: pb
303 Example: oscmd pb = tar,ls
304
305=item B<oscmdopt>
306
307 Nature: Mandatory
308 Key: tool (pb or rpmbootstrap)
309 Value: come separated list of commands that are optional on the underlying system
310 Conffile: pb
311 Example: oscmd pb = svn2cl,svn,cvs
312
[962]313=item B<oscodename>
314
[989]315 Nature: Optional
316 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). In that case, should be an os-ver.
317 Value: code name. Mostly useful for debian and ubuntu, due to debootstrap.
318 Conffile: pb
319 Example: oscodename debian-5.0 = lenny
[962]320
321=item B<osfamily>
322
[989]323 Nature: Mandatory
324 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). In that case, should be an os.
325 Value: OS family name (used to group similar distribution for handling)
326 Conffile: pb
327 Example: osfamily debian = du
[962]328
[1111]329=item B<osins>
330
331 Nature: Optional
332 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
333 Value: OS command to lauch in order to automatically install packages on it.
334 Conffile: pb
335 Example: osins fedora = sudo yum -y install
336
[962]337=item B<osmindep>
338
[989]339 Nature: Optional
340 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). NB: a default value is highly interesting here.
[1507]341 Value: comma separated list of packages needed before setupvm|ve can be run. Install them with your distribution in VM or automatically in VE when possible.
[989]342 Conffile: pb
343 Example: osmindep default = perl,sudo,wget,tar,make,gzip
[962]344
345=item B<osnover>
346
[989]347 Nature: Optional
348 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
349 Value: true|false. True means that this OS has no need to keep the version
350 Conffile: pb
351 Example: osnover gentoo = true
[962]352
[1367]353=item B<ospatchcmd>
354
355 Nature: Optional
356 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
357 Value: package patch command. For RPM is implicit.
358 Conffile: pb
359 Example: ospatchcmd deb = /usr/bin/patch
360
361=item B<ospatchopt>
362
363 Nature: Optional
364 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
365 Value: package patch options.
366 Conffile: pb
367 Example: ospatchcmd deb = -s -p1
368
[1192]369=item B<ospathcmd-*>
370
371 Nature: Optional
372 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
373 Value: Full path name of the command mentioned after the '-' for the relative OS
374 Conffile: pb
375 Example: ospathcmd-halt solaris = /usr/sbin/halt, ospathcmd-halt default = /sbin/halt
376
[962]377=item B<osperldep>
378
[989]379 Nature: Optional
380 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
[1507]381 Value: comma separated list of perl modules needed by pb and not provided in a package format for the relative OS, and that will be installed from CPAN in your VM/VE.
[989]382 Conffile: pb
383 Example: osperldep rhel-5 = Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail
[962]384
385=item B<osperlver>
386
[989]387 Nature: Mandatory (for each module mentioned in B<osperldep>)
388 Key: Perl Module (as defined in B<osperldep>)
389 Value: Version of the perl module that needs to be found on CPAN.
390 Conffile: pb
391 Example: Date-Manip = 5.54
[962]392
[1133]393=item B<ospkg>
394
395 Nature: Optional (Mandatory if pbinstalltype is pkg)
396 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
[1507]397 Value: comma separated list of packages that have to be installed in order for pb to be operational in the VE|VM
[1133]398 Conffile: pb
399 Example: ospkg rhel-5 = project-builder
400
[962]401=item B<ospkgdep>
402
[989]403 Nature: Optional
404 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
[1507]405 Value: comma separated list of packages that are needed by pb and should be installed automatically in the VM/VE during the setupvm|ve phasis by pb.
[989]406 Conffile: pb
407 Example: ospkgdep rhel-5 = wget,make,ntp,patch,perl-DateManip
[962]408
409=item B<osrelambfile>
410
[989]411 Nature: Mandatory (per OS mentioned in B<osambiguous>)
412 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). Should be the OS name here.
413 Value: full path name of the ambiguous file describing that distribution, as well as some others. All the distributions mentioned here should also be mentioned with their ambiguous other distribution in the B<osambiguous> parameter.
414 Conffile: pb
415 Example: osrelambfile debian = /etc/debian_version
[962]416
417=item B<osrelexpr>
418
[989]419 Nature: Mandatory (per OS mentioned in B<osrelambfile> and B<osrelfile>)
420 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
421 Value: the perl regular expression used to parse the B<osrelambfile> in order to extract from it the version of the distribution (in parenthesis to allow its usage as $1 by perl)
422 Conffile: pb
[962]423osrelexpr rhel = Red Hat (?:Enterprise Linux|Linux Advanced Server) .*release ([0-9.]+).* \(
[989]424 Example:
[962]425
426=item B<osrelfile>
427
[989]428 Nature: Mandatory
429 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). Should be the OS name here.
430 Value: full path name of the file describing non-ambiguously that distribution. There should be a bijection between the file and the distribution name.
431 Conffile: pb
432 Example: osrelfile fedora = /etc/fedora-release
[962]433
434=item B<osremovedotinver>
435
[989]436 Nature: Optional
437 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
438 Value: true|false. If true, then no '.' (dot) character is kept in the version name of that OS.
439 Conffile: pb
440 Example: osremovedotinver redhat = true
[962]441
[1133]442=item B<osrepo>
443
444 Nature: Optional (Mandatory if pbinstalltype is pkg)
445 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
[1508]446 Value: comma separated list of packages, yum repo or apt sources.list files to be added to the VE|VM to support package installation of pb
[1133]447 Conffile: pb
448 Example: osrepo rpm = ftp://ftp.project-builder.org/$ddir/$dver/pb.repo
449
[1276]450=item B<ossha>
451
452 Nature: Optional (Mandatory if rpm type of package)
453 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
454 Value: sha algorithm used br createrepo
455 Conffile: pb
456 Example: ossha fedora-10 = sha1
457
[1716]458=item B<ossudoersmode>
459
460 Nature: Mandatory
461 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
462 Value: suffix that will be used in the name of the packages created. By default, concatenation of OS name and version.
463 Conffile: pb
464 Example: ossudoersmode novell = 640
465
[962]466=item B<ossuffix>
467
[989]468 Nature: Optional
469 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
470 Value: suffix that will be used in the name of the packages created. By default, concatenation of OS name and version.
471 Conffile: pb
472 Example: ossuffix mandriva = mdv
[962]473
474=item B<ostype>
475
[989]476 Nature: Mandatory
477 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
478 Value: build type grouping packages family. This is used internaly by pb to make various handling depending on that build type.
479 Conffile: pb
480 Example: ostype rh = rpm, ostype md = rpm, ostype novell = rpm
[962]481
482=item B<osupd>
483
[989]484 Nature: Optional
485 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
[1111]486 Value: OS command to lauch in order to automatically update th VM|VE
[989]487 Conffile: pb
[1111]488 Example: osupd fedora = sudo yum -y update
[962]489
[1544]490=item B<ossueminorrel>
491
492 Nature: Mandatory
493 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
494 Value: Should that OS distinguish between its minor version, considering them as different versions or not. Typically for CentOS where .x versions make incompatible changes.
495 Conffile: pb
496 Example: ossueminorrel centos = true
497
[2285]498=item B<pbadditionalgpg>
[1544]499
[2285]500 Nature: Optional
501 Key: project (as defined in the -p option or PBPROJ environment variable)
502 Value: GPG Key (hexadecimal) list of values separated by ',' that needs to be exported for this project. Useful when changing GPG keys and keeping old packages signed with the former key, use that field to give the value of that former key
503 Conffile: project
504 Example: pbadditionalgpg pb = 0x141B9FF237DB9883
505
[962]506=item B<pbconfurl>
507
[989]508 Nature: Mandatory
509 Key: project (as defined in the -p option or PBPROJ environment variable)
510 Value: B<pb URL> giving access to where the pb configuration dir is stored. Under that directory you have the same tree infrastructure as the upstream project, and under the pb packaging infra, including the project configuration file. Cf: man
511 Conffile: home|project
512 Example: pbconfurl fossology = svn+ssh://user@svn.project-builder.org/mondo/svn/pb/projects/fossology/pbconf, cvs+ssh://:ext:user@linuxcoe.cvs.sourceforge.net:/cvsroot/linuxcoe/pbconf
[962]513
514=item B<pbdefdir>
515
[989]516 Nature: Optional
517 Key: project (as defined in the -p option or PBPROJ environment variable)
518 Value: local directory under which every pb related operation will take place. if not defined then /var/cache. A default value is highly interesting here. If you want to use VMs/VEs, then use $ENV{'HOME'} to make it portable to it.
519 Conffile: home
520 Example: pbdefdir default = $ENV{'HOME'}/local/pb/projects
[962]521
[1526]522=item B<pbgpgcheck>
523
524 Nature: Optional
525 Key: project (as defined in the -p option or PBPROJ environment variable)
[1556]526 Value: Whether the repository file should be generated specifying that gpg checking of the packages is on. Note that failures to sign packages is tolerated by default, which means that signatures can fail making the repository file generated not work. The default is to require gpg checks (value is 1)
[1526]527 Conffile: project
528 Example: pbgpgcheck Lintel = 0
529
[1109]530=item B<pbinstalltype>
531
532 Nature: Mandatory
533 Key: project (as defined in the -p option or PBPROJ environment variable)
534 Value: file or pkg. Indicates how pb will be installed during the setupve|vm phase in the virtual environment|machine, using CPAN files or upstream packages. Only the dev team needs to use file as packages do not yet exist for it. Or when no repository exists to pull project-builder.org from.
535 Conffile: pb
536
[962]537=item B<pbml>
538
[989]539 Nature: Optional (Mandatory if using announce command)
540 Key: project (as defined in the -p option or PBPROJ environment variable)
541 Value: white space separated list of e-mail adresses used to send announces with the pb announce option.
542 Conffile: project
543 Example: pbml pb = pb-announce@project-builder.org pb-devel@project-builder.org
[962]544
545=item B<pbpackager>
546
[989]547 Nature: Mandatory
548 Key: project (as defined in the -p option or PBPROJ environment variable)
549 Value: Firstname Name and e-mail address of the person packaging the software.
550 Conffile: project
551 Example: pbpackager pb = Bruno Cornec <bruno@project-builder.org>
[962]552
[1126]553=item B<pbparallel>
554
555 Nature: Optional
556 Key: tool (pb or rpmbootstrap)
557 Value: number of processes to execute in parallel. By default use the number of cores.
558 Conffile: pb
559 Example: pbparallel pb = 12
560
[1278]561=item B<pbpassfile>
562
563 Nature: Optional
564 Key: project (as defined in the -p option or PBPROJ environment variable)
565 Value: File containing the GPG passphrase that is used to sign packages
566 Conffile: home
567 Example: pbpassfile pb = /users/me/secret/passfile
568
569=item B<pbpasspath>
570
571 Nature: Optional
572 Key: project (as defined in the -p option or PBPROJ environment variable)
[1545]573 Value: The directory under which will be found your secret GPG key file.
[1278]574 Conffile: home
575 Example: pbpasspath pb = /home/me/.gnupg
576
577=item B<pbpassphrase>
578
579 Nature: Optional
580 Key: project (as defined in the -p option or PBPROJ environment variable)
581 Value: The GPG passphrase that is used to sign packages. Putting it in your conf file has security implications.
582 Conffile: home
583 Example: pbpassphrase pb = TheSecretPassPhrase
584
[2079]585=item B<pbpbr>
586
587 Nature: Optional
588 Key: project (as defined in the -p option or PBPROJ environment variable)
589 Value: whatever. As soon as this is defined, then that project is known as using pbr for source epansion.
590 Conffile: project
591 Example: pbpbr python-redfish = 1
592
[962]593=item B<pbprojdir>
594
[989]595 Nature: Optional
596 Key: project (as defined in the -p option or PBPROJ environment variable)
597 Value: local directory under which the project is locally exported. NB: a default value is highly interesting here. By default pbdefdir/projectname
598 Conffile: home
599 Example: pbprojdir mondorescue = $ENV{'HOME'}/local/mondorescue
[962]600
601=item B<pbrepo>
602
[989]603 Nature: Mandatory
604 Key: project (as defined in the -p option or PBPROJ environment variable)
605 Value: URL of the server hosting the upstream tar file.
606 Conffile: project
607 Example: pbrepo mondorescue = ftp://ftp.mondorescue.org
[962]608
[1597]609=item B<pbshowsudo>
610
611 Nature: Optional
612 Key: project (as defined in the -p option or PBPROJ environment variable)
613 Value: false (by default), meaning that sudo commands executed with pb_system won't be shown in details, but that the associated comment will be used. For security cncerns, you may want to turn it to true in order to see what pb does with sudo to be safe. Turned on by debug flag.
614 Conffile: home
615 Example: pbshowsudo mondorescue = true
616
[962]617=item B<pbsmtp>
618
[989]619 Nature: Optional (Mandatory if using the announce command)
620 Key: project (as defined in the -p option or PBPROJ environment variable)
621 Value: FQDN of the mail server to use to send announces. NB: a default value is highly interesting here.
622 Conffile: home
623 Example: pbsmtp mondorescue = localhost
[962]624
625=item B<pbsockscmd>
626
[989]627 Nature: Optional
628 Key: project (as defined in the -p option or PBPROJ environment variable)
629 Value: name of the command to use to socksify network calls. NB: a default value is highly interesting here.
630 Conffile: home
631 Example: pbsockscmd default = tsocks
[962]632
[1606]633=item B<pbstoponerr>
634
635 Nature: Optional
636 Key: project (as defined in the -p option or PBPROJ environment variable)
637 Value: false (by default), meaning that commands giving errors will not stop execution of the pb job. For quicker error solving, you may want to turn it to true in order to stop at the first error. Be aware that project-builder.org is not robust enough to work fully correctly with this on. Especially some commands may in a justified way error out, and you still want the process to go on.
638 Conffile: home
639 Example: pbstoponerr mondorescue = true
640
641
[2284]642=item B<pbprojurl>
[985]643
[989]644 Nature: Optional
645 Key: project (as defined in the -p option or PBPROJ environment variable)
[2284]646 Value: B<pbprojurl> giving access to where the project is stored. Normaly provided by the project, but could be overloaded for specific authentication information in the home configuration file or when using a DVCS
[989]647 Conffile: home|project
[2284]648 Example: pbprojurl linuxcoe = cvs+ssh://:ext:user@linuxcoe.cvs.sourceforge.net:/cvsroot/linuxcoe, pbprojurl pb = svk:////local/pb
[985]649
[1545]650=item B<pbusesshagent>
651
652 Nature: Mandatory
653 Key: project (as defined in the -p option or PBPROJ environment variable)
654 Value: false means that you want pb to create a dedicated SSH key pair to dialog with VM|RM and false that you prefer to use an existing SSH Agent instead and existing keys
655 Conffile: pb
656 Example: pbusesshagent default = false
657
[962]658=item B<pbwf>
[985]659
[989]660 Nature: Optional
661 Key: project (as defined in the -p option or PBPROJ environment variable)
662 Value: whatever. As soon as this is defined, then that project is known as not well formed (have a subdirectory in its tar file under which all sources are put named project-version). This should be reported upstream to the project. tar files generated by project-builder to not suffer from that. This is valid when packaging for tar files and not CMS.
663 Conffile: project
664 Example: pbwf afio = 1
[985]665
[962]666=item B<pkgtag>
[985]667
[989]668 Nature: Optional
669 Key: package (as provided in defpkgdir or extpkgdir)
670 Value: Tag that needs to be used in package name (on rpm: name-ver-tag.arch.rpm). Useful when different from the project version B<projtag> and when republishing a package due to package build modification (not code).
671 Conffile: project
672 Example: pkgtag mindi-busybox = 2
[985]673
[962]674=item B<pkgver>
[985]675
[989]676 Nature: Optional
677 Key: package (as provided in defpkgdir or extpkgdir)
678 Value: Version that needs to be used in package name (on rpm: name-ver-tag.arch.rpm). Useful when different from the project version B<projver>.
679 Conffile: project
680 Example: pkgver mindi-busybox = 1.7.3
[985]681
[1525]682=item B<projcomponent>
683
684 Nature: Optional
685 Key: project (as defined in the -p option or PBPROJ environment variable)
686 Value: The component in the distribution repository, e.g. main for debian/ubuntu free software, (or non-free, contrib) or contrib for mandriva non core component e.g.
687 Conffile: project
688 Example: projcomponent Lintel = main
689
[962]690=item B<projtag>
[986]691
[989]692 Nature: Mandatory
693 Key: project (as defined in the -p option or PBPROJ environment variable)
694 Value: tag that will be used for all packages names (on rpm: name-ver-tag.arch.rpm) in the project. Each package can overwrite it using B<pkgtag>.
695 Conffile: project
696 Example: projtag mondorescue = 1
[986]697
[962]698=item B<projver>
[986]699
[989]700 Nature: Mandatory
701 Key: project (as defined in the -p option or PBPROJ environment variable)
702 Value: version that will be used for all packages names (on rpm: name-ver-tag.arch.rpm) in the project. Each package can overwrite it using B<pkgver>.
703 Conffile: project
704 Example: projver mondorescue = 2.2.9
[986]705
706=item B<rbsconf>
707
[989]708 Nature: Optional
709 Key: project (as defined in the -p option or PBPROJ environment variable)
710 Value: for mock it's the configuration directory. For rinse it's its configuration file. For rpmbootstrap it's not used yet.
711 Conffile: ve
712 Example: rbsconf default = /etc/mock, rbsconf default = /etc/pb/pb-rinse.conf
[986]713
714=item B<rbsb4pi>
715
[989]716 Nature: Optional
717 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
718 Value: for mock it's not used. For rinse it's the script to call before doing installation (in order change the mirror location). For rpmbootstrap it's not used yet.
719 Conffile: ve
720 Example: rbsb4pi centos = /home/rinse/bin/before-post-install.sh
[986]721
[1507]722=item B<rbsmirrorsrv>
723
724 Nature: Optional
725 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
726 Value: URL for the mirror server for setting up a virtual environment
727 Conffile: ve
728 Example: rbsmirrorsrv debian = http://mirrors1.kernel.org/
729
[1802]730=item B<rbsmirrorupd>
731
732 Nature: Optional
733 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
734 Value: Relative path wrt B<rbsmirrorsrv> where updates are located
735 Conffile: ve
736 Example: rbsmirrorupd mageia = ../updates
737
[1027]738=item B<rbsopt>
739
740 Nature: Optional
741 Key: tool used for rpm based VE. Could be one of rpmbootstrap, rinse, mock, ...
742 Value: Additional option to pass to the command
743 Conffile: ve
744 Example: rbsopt rpmbootstrap = -k
745
[987]746=item B<rbspi>
747
[989]748 Nature: Optional
749 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
750 Value: for mock it's not used. For rinse it's the script to call after doing installation for customization. For rpmbootstrap it's the script to call after doing installation for customization.
751 Conffile: ve
[1027]752 Example: rbspi centos = /home/rinse/bin/post-install.sh
[987]753
[1176]754=item B<rmhost>
755
756 Nature: Mandatory
757 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
758 Value: IP address or name of the Remote Machine running the OS mentioned in the key, accessed through ssh.
759 Conffile: rm
760 Example: rmhost default = localhost - rmhost hpux-11.3-ia64 = 10.10.10.10 - rmhost mandriva-2010.2-x86_64 = machine1.domain.name
761
762=item B<rmlist>
763
764 Nature: Mandatory
765 Key: project (as defined in the -p option or PBPROJ environment variable)
[1507]766 Value: list of comma separated OS (under the form of os-ver-arch). The corresponding machines running these distributions are given in the rmpool parameter.
[1176]767 Conffile: rm
768 Example: rmlist default = mandriva-2010.2-i386,fedora-14-i386,rhel-6-i386,rhel-5-i386,pensuse-11.3-i386,sles-11-i386,gentoo-nover-i386,debian-5.0-i386,ubuntu-10.10-i386,solaris-10-i386,mandriva-2010.2-x86_64,fedora-14-x86_64,rhel-6-x86_64,rhel-5-x86_64,opensuse-11.3-x86_64,sles-11-x86_64,gentoo-nover-x86_64,debian-5.0-x86_64,ubuntu-10.10-x86_64,solaris-10-x86_64,hp-ux-11.3-ia64,rhel-5-ia64
769
770=item B<rmlogin>
771
772 Nature: Mandatory
773 Key: project (as defined in the -p option or PBPROJ environment variable)
774 Value: account name to use on the Remote Machine to build packages. Communication is done with ssh.
775 Conffile: rm
776 Example: rmlogin default = pb
777
778=item B<rmmonport>
779
780 Nature: Optional
781 Key: project (as defined in the -p option or PBPROJ environment variable)
782 Value: TCP port that is used to dialog with the monitor of the Remote Machine, to pass orders.
783 Conffile: rm
784 Example: rmmonport default = 4444
785
786=item B<rmntp>
787
788 Nature: Optional
789 Key: project (as defined in the -p option or PBPROJ environment variable)
[1714]790 Value: NTP server to contact for time accuracy with B<ospathcmd-ntpdate> before building.
[1176]791 Conffile: rm
792 Example: rmntp default = 1.pool.ntp.org
793
794=item B<rmpath>
795
796 Nature: Mandatory
797 Key: project (as defined in the -p option or PBPROJ environment variable)
798 Value: path where to find configuration file for Remote Machines management.
799 Conffile: rm
800 Example: rmpath default = /home/remote
801
802=item B<rmport>
803
804 Nature: Mandatory
[1216]805 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
[1176]806 Value: port number to use to communicate with the RM using the SSH protocol. This localport is redirected to the port 22 of the RM.
807 Conffile: rm
808 Example: rmport pb = 2222,rmport mondorescue = 2223
809
810=item B<rmtmout>
811
812 Nature: Optional
813 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
[1217]814 Value: Time in seconds to wait before interacting with the RM. This may correspond to the time the RM takes to boot.
[1176]815 Conffile: rm
[1217]816 Example: rmtmout default = 10
[1176]817
818=item B<rmtype>
819
820 Nature: Mandatory
821 Key: project (as defined in the -p option or PBPROJ environment variable)
822 Value: ssh. For the moment, only ssh is supported as a communication means with RM.
823 Conffile: rm
824 Example: rmrtype default = ssh
825
[1216]826=item B<sshdir>
[1176]827
[1216]828 Nature: Mandatory
829 Key: project (as defined in the -p option or PBPROJ environment variable)
830 Value: dirname into which packages are uploaded on the B<sshhost> machine.
831 Conffile: project
832 Example: sshdir mondorescue = /pub/mondorescue
833
834=item B<sshhost>
835
836 Nature: Mandatory
837 Key: project (as defined in the -p option or PBPROJ environment variable)
838 Value: hostname to connect to in order to deliver packages to the repository server.
839 Conffile: project
840 Example: sshhost mondorescue = ftp.mondorescue.org
841
842=item B<sshlogin>
843
[1507]844 Nature: Optional
[1216]845 Key: project (as defined in the -p option or PBPROJ environment variable)
[1507]846 Value: login to use when connecting to the repository server B<sshhost> for package delivery. whoami result by default
[1216]847 Conffile: project
848 Example: sshlogin mondorescue = mylogin
849
850=item B<sshport>
851
[1507]852 Nature: Optional
[1216]853 Key: project (as defined in the -p option or PBPROJ environment variable)
[1507]854 Value: port to use when connecting to the repository server B<sshhost> for package delivery. 22 by default.
[1216]855 Conffile: project
856 Example: sshport mondorescue = 22
857
[962]858=item B<supfiles>
[986]859
860Not used yet.
861
[962]862=item B<testver>
[986]863
[989]864 Nature: Optional
865 Key: project (as defined in the -p option or PBPROJ environment variable)
866 Value: true (meaning this is a test version, whose tag will be generated automatically, based on 0+date in order to allow regular updates, and still be inferior to tag 1 of the official version, and delivered under the test subdirectory of the ftp server). By default false.
867 Conffile: project
868 Example: testver mondorescue = true
[986]869
[962]870=item B<vedebtype>
[986]871
[989]872 Nature: Mandatory
873 Key: project (as defined in the -p option or PBPROJ environment variable)
874 Value: debootstrap (no other tool to create deb distro based chroot)
875 Conffile: ve
876 Example: vedebtype default = debootstrap
[986]877
[962]878=item B<velist>
[986]879
[989]880 Nature: Mandatory
881 Key: project (as defined in the -p option or PBPROJ environment variable)
[1507]882 Value: list of comma separated OS (under the form of os-ver-arch).
[989]883 Conffile: ve
884 Example: velist default = centos-4-i386,centos-5-i386,centos-4-x86_64,centos-5-x86_64,debian-5.0-i386,debian-5.0-x86_64,lsb-4.0.1-i386,lsb-4.0.1-x86_64
[986]885
[962]886=item B<velogin>
[986]887
[989]888 Nature: Mandatory
889 Key: project (as defined in the -p option or PBPROJ environment variable)
890 Value: account name to use in the VE to build packages.
891 Conffile: ve
892 Example: velogin default = pb
[986]893
[962]894=item B<ventp>
[986]895
[989]896 Nature: Optional
897 Key: project (as defined in the -p option or PBPROJ environment variable)
[1714]898 Value: NTP server to contact for time accuracy with B<ospathcmd-ntpdate> before building.
[989]899 Conffile: ve
900 Example: ventp default = 1.pool.ntp.org
[986]901
[962]902=item B<vepath>
[986]903
[989]904 Nature: Mandatory
905 Key: project (as defined in the -p option or PBPROJ environment variable)
906 Value: path where to find VEs. Ve will be created and used under that path. For each VE os-ver-arch, it will create a subdirectory tree os/ver/arch below that point.
907 Conffile: ve
908 Example: vepath default = /home/rpmbootstrap
[986]909
[962]910=item B<verebuild>
[987]911
[989]912 Nature: Optional
913 Key: project (as defined in the -p option or PBPROJ environment variable)
914 Value: true|false. True means that the VE should be rebuild before usage.
915 Conffile: ve
[1215]916 Example: verebuild default = true
[987]917
[962]918=item B<verpmtype>
[987]919
[989]920 Nature: Mandatory
921 Key: project (as defined in the -p option or PBPROJ environment variable)
922 Value: rpmbootstrap|rinse|mock (different tools to create a chroot environment for RPM based distributions. rpmbootstrap comes with pb. the 2 others are separate projects).
923 Conffile: ve
924 Example: verpmtype default = rpmbootstrap
[987]925
[962]926=item B<vesnap>
[988]927
[989]928 Nature: Optional
929 Key: project (as defined in the -p option or PBPROJ environment variable)
930 Value: true|false. True means that the snapshot of the VE should be used before call to the VE. This snapshot consists of a compressed tar pf the VE. Which means that you will always start from a known state, resulting of a former snapshot operation on the VE. Also speeds up a lot the VM launch operation.
931 Conffile: ve
932 Example: vesnap default = true
[988]933
[962]934=item B<vetype>
[986]935
[989]936 Nature: Mandatory
937 Key: project (as defined in the -p option or PBPROJ environment variable)
[1900]938 Value: chroot|schroot|docker. There are two different ways of launching a Virtual Environment activity in pb. For the moment only chroot and docker have been tested.
[989]939 Conffile: ve
[2156]940 Example: vetype default = chroot
[988]941
[1153]942=item B<vmbuildtm>
943
944 Nature: Optional
945 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). Default value is set to vmtmout
946 Value: Time in seconds to wait before killing the VM if SSH port already used. This should corresponds to the time to send files, build the project and get packages in the VM.
947 Conffile: project
948 Example: vmbuildtm default = 600,vmbuildtm mandriva-2009.0-x86_64 = 1200
949
[1072]950=item B<vmcmd>
951
952 Nature: Mandatory
953 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). NB: a default value is highly interesting here.
954 Value: Command to call to launch the VM emulator. It can contain some options. Another way to pass options to the VM manager command launcher is by using the PBVMOPT environment variable, which comes in addition to the option vmopt.
955 Conffile: vm
956 Example: vmcmd default = /usr/bin/kvm
957
[962]958=item B<vmhost>
[988]959
[989]960 Nature: Mandatory
[1216]961 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
[989]962 Value: hostname to connect to in order to reach the VM through ssh. Generally redirected from a port on localhost.
963 Conffile: vm
964 Example: vmhost default = localhost
[988]965
[962]966=item B<vmlist>
[986]967
[989]968 Nature: Mandatory
969 Key: project (as defined in the -p option or PBPROJ environment variable)
[1507]970 Value: list of comma separated OS (under the form of os-ver-arch).
[989]971 Conffile: vm
972 Example: vmlist default = asianux-2-i386,asianux-3-i386,mandrake-10.1-i386,mandrake-10.2-i386,mandriva-2006.0-i386,mandriva-2007.0-i386,mandriva-2007.1-i386,mandriva-2008.0-i386,mandriva-2008.1-i386,mandriva-2009.0-i386,mandriva-2009.1-i386,mandriva-2010.0-i386,redhat-7.3-i386,redhat-9-i386,fedora-4-i386,fedora-5-i386,fedora-6-i386,fedora-7-i386,fedora-8-i386,fedora-9-i386,fedora-10-i386,fedora-11-i386,fedora-12-i386,rhel-2.1-i386,rhel-3-i386,rhel-4-i386,rhel-5-i386,suse-10.0-i386,suse-10.1-i386,suse-10.2-i386,opensuse-10.3-i386,opensuse-11.0-i386,opensuse-11.1-i386,opensuse-11.2-i386,sles-9-i386,sles-10-i386,sles-11-i386,gentoo-nover-i386,debian-3.1-i386,debian-4.0-i386,debian-5.0-i386,ubuntu-6.06-i386,ubuntu-7.04-i386,ubuntu-7.10-i386,ubuntu-8.04-i386,ubuntu-8.10-i386,ubuntu-9.04-i386,ubuntu-9.10-i386,solaris-10-i386,asianux-2-x86_64,asianux-3-x86_64,mandriva-2007.0-x86_64,mandriva-2007.1-x86_64,mandriva-2008.0-x86_64,mandriva-2008.1-x86_64,mandriva-2009.0-x86_64,mandriva-2009.1-x86_64,mandriva-2010.0-x86_64,fedora-6-x86_64,fedora-7-x86_64,fedora-8-x86_64,fedora-9-x86_64,fedora-10-x86_64,fedora-11-x86_64,fedora-12-x86_64,rhel-3-x86_64,rhel-4-x86_64,rhel-5-x86_64,suse-10.2-x86_64,opensuse-10.3-x86_64,opensuse-11.0-x86_64,opensuse-11.1-x86_64,opensuse-11.2-x86_64,sles-10-x86_64,sles-11-x86_64,gentoo-nover-x86_64,debian-4.0-x86_64,debian-5.0-x86_64,ubuntu-7.04-x86_64,ubuntu-7.10-x86_64,ubuntu-8.04-x86_64,ubuntu-8.10-x86_64,ubuntu-9.04-x86_64,ubuntu-9.10-x86_64,solaris-10-x86_64
[986]973
[962]974=item B<vmlogin>
[987]975
[989]976 Nature: Mandatory
977 Key: project (as defined in the -p option or PBPROJ environment variable)
978 Value: account name to use in the VM to build packages. Communication is done with ssh.
979 Conffile: vm
980 Example: vmlogin default = pb
[987]981
[1153]982=item B<vmmem>
983
984 Nature: Optional
[1216]985 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
[1153]986 Value: Memory size in MB to allocate to the VM.
987 Conffile: vm
988 Example: vmmem default = 512
989
[962]990=item B<vmmonport>
[988]991
[989]992 Nature: Optional
993 Key: project (as defined in the -p option or PBPROJ environment variable)
994 Value: TCP port that is used to dialog with the monitor of the VM, to pass orders such as snapshot. Not really operational yet.
995 Conffile: vm
996 Example: vmmonport default = 4444
[988]997
[962]998=item B<vmntp>
[987]999
[989]1000 Nature: Optional
1001 Key: project (as defined in the -p option or PBPROJ environment variable)
[1714]1002 Value: NTP server to contact for time accuracy with B<ospathcmd-ntpdate> before building.
[989]1003 Conffile: vm
1004 Example: vmntp default = 1.pool.ntp.org
[987]1005
[962]1006=item B<vmopt>
[988]1007
[989]1008 Nature: Optional
1009 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). NB: a default value is highly interesting here.
1010 Value: list of options to pass to the VM manager command launcher for that distribution. Another way to pass options to the VM manager command launcher is by using the PBVMOPT environment variable, which comes in addition to his option.
1011 Conffile: vm
1012 Example: vmopt default = -m 384 -daemonize,vmopt mandriva-2009.0-i386 = -m 256 -daemonize -no-kvm
[988]1013
[962]1014=item B<vmpath>
[987]1015
[989]1016 Nature: Mandatory
1017 Key: project (as defined in the -p option or PBPROJ environment variable)
1018 Value: path where to find VMs. They will be created and used under that path. For each VM os-ver-arch, it will create a os-ver-arch.qemu file below that point.
1019 Conffile: vm
1020 Example: vmpath default = /home/qemu
[987]1021
[962]1022=item B<vmport>
[988]1023
[989]1024 Nature: Mandatory
1025 Key: project (as defined in the -p option or PBPROJ environment variable)
1026 Value: port number to use to communicate with the VM using the SSH protocol. This localport is redirected to the port 22 of the VM.
1027 Conffile: vm
1028 Example: vmport pb = 2222,vmport mondorescue = 2223
[988]1029
[962]1030=item B<vmsize>
[988]1031
[989]1032 Nature: Mandatory
[1216]1033 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
[989]1034 Value: Size of the VM to create when using the newvm command of pb.
1035 Conffile: vm
1036 Example: vmsize default = 7G
[988]1037
[962]1038=item B<vmsnap>
[988]1039
[989]1040 Nature: Optional
1041 Key: project (as defined in the -p option or PBPROJ environment variable)
1042 Value: true|false. True means that the snapshot of the VM called pb should be used. Which means that you will always start from a known state, resulting of a former snapshot operation on the VM. Also speeds up a lot the VM launch operation.
1043 Conffile: vm
1044 Example: vmsnap default = true
[988]1045
[962]1046=item B<vmtmout>
[988]1047
[989]1048 Nature: Optional
1049 Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). NB: a default value is highly interesting here.
[1153]1050 Value: Time in seconds to wait before interacting with the VM. This should correspond to the time the VM takes to boot.
[989]1051 Conffile: vm
1052 Example: vmtmout default = 180,vmtmout mandriva-2009.0-x86_64 = 500
[988]1053
[962]1054=item B<vmtype>
[988]1055
[989]1056 Nature: Mandatory
1057 Key: project (as defined in the -p option or PBPROJ environment variable)
1058 Value: qemu|kvm. For the moment, only QEMU or KVM are supported as virtualization technologies.
1059 Conffile: vm
[1953]1060 Example: vmtype default = kvm
[988]1061
[962]1062=item B<webdir>
1063
[989]1064 Nature: Optional
1065 Key: project (as defined in the -p option or PBPROJ environment variable)
[1115]1066 Value: Target directory containing the web content in the project that should be delivered when using the sbx|cms2webssh|pkg command of pb.
[989]1067 Conffile: project
1068 Example: webdir mondorescue = website
[988]1069
[1216]1070=item B<websshdir>
1071
1072 Nature: Optional (when not using *2webssh commands)
1073 Key: project (as defined in the -p option or PBPROJ environment variable)
1074 Value: dirname into which content is uploaded on the B<websshhost> machine.
1075 Conffile: project
1076 Example: websshdir mondorescue = /var/www/html
1077
1078=item B<websshhost>
1079
1080 Nature: Optional (when not using *2webssh commands)
1081 Key: project (as defined in the -p option or PBPROJ environment variable)
1082 Value: hostname to connect to in order to deliver content to the Web server.
1083 Conffile: project
1084 Example: websshhost mondorescue = www.mondorescue.org
1085
1086=item B<websshlogin>
1087
1088 Nature: Optional (when not using *2webssh commands)
1089 Key: project (as defined in the -p option or PBPROJ environment variable)
1090 Value: login to use when connecting to the Web server B<websshhost> for content delivery.
1091 Conffile: project
1092 Example: websshlogin mondorescue = mylogin
1093
1094=item B<websshport>
1095
1096 Nature: Optional (when not using *2webssh commands)
1097 Key: project (as defined in the -p option or PBPROJ environment variable)
1098 Value: port to use when connecting to the Web server B<websshhost> for content delivery.
1099 Conffile: project
1100 Example: websshport mondorescue = 22
1101
[1117]1102=back
[989]1103
[1117]1104=head1 OTHER PARAMETERS
[1517]1105
1106=over 4
1107
[1117]1108=item B<pb_URL>
[1517]1109
[1117]1110=item B<pb_directory_desc>
[1517]1111
[1117]1112=item B<pb_environment_variables>
[1517]1113
1114=back
[1528]1115
1116=head1 COPYRIGHT
1117
[2032]1118 (c) B. Cornec 2007-2016
[1953]1119 Eric Anderson's changes are (c) Copyright 2012 Hewlett Packard
1120 Provided under the Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) Creative Common License
[1528]1121
1122=cut
Note: See TracBrowser for help on using the repository browser.