13 Commits
Author SHA1 Message Date
William Douglas 7b752b5ff3 Update cert generation process
With the latest urllib3 the CN match is no longer used for hostname
verification and instead the use of subjectAltName is required. With
openssl 3.3.1 this is needed to be handled with both an additional
parameter when generating the cert/request and also some new
configuration for the ssl.cnf. It is also necessary to have extensions
copied so the SAN information is preserved down the cert chain.

Signed-off-by: William Douglas <william.douglas@intel.com>
2024-07-11 05:41:37 -07:00
George T Kramer 999632937b Supply more sane SSL certificate defaults
Want to enable spinning up a development environment quickly.

Increasing the countryName_max SSL configuration did not allow a country
name of 'Example Country Code' to be used when generating a certificate.

Prefer to revert back to the original value for countryName_max and
supply shorter parameters for certificate generation.

Change challengePassword_max to be consistent with the other limits.

Signed-off-by: George T Kramer <george.t.kramer@intel.com>
2019-11-20 16:02:59 -08:00
George T Kramer 2db86c73a5 Better group parameters
Want to group FQDNs and master/slave pairs

Signed-off-by: George T Kramer <george.t.kramer@intel.com>
2019-11-07 18:33:26 -08:00
George T Kramer 915e1fc512 Remove duplicated KOJI_MOUNT_DIR parameter
Signed-off-by: George T Kramer <george.t.kramer@intel.com>
2019-11-07 18:33:24 -08:00
George T Kramer 85452e2af4 Make setup for koji NFS mounting easier
When koji builder and koji master are hosted on different machines, NFS
mounting is needed to connect the services.  Make this process more
smooth to minimize manual editing of files.  Namely, change the top
directory that koji looks at.  If on the master, this is on the local
file system.  If on the builder not on the master, this is also on the
local file system, but is backed by a NFS mount in a different location.

Signed-off-by: George T Kramer <george.t.kramer@intel.com>
2019-03-04 17:36:19 -08:00
George T Kramer d33200af07 Update copyright for 2019 2019-03-04 17:00:20 -08:00
George T Kramer 66d8fff4b4 Isolate user-facing parameters 2019-03-04 17:00:20 -08:00
George T Kramer 9fcbf230a4 Deploy all DevOps services for development
A deployment of a "koji" server consists of additional services that
support development beyond koji itself.  These include
git/cgit/gitolite, a mash containing the current snapshot of the
packages in koji, and an upstreams package sources cache.

Because these are required for integration with a DevOps workflow, they
are not included by default in the ansible playbook.
2019-03-04 17:00:20 -08:00
George T Kramer d79ad7d8ca Quote all parameter dollar signs
Signed-off-by: George T Kramer <george.t.kramer@intel.com>
2018-11-13 10:30:45 -08:00
William Douglas 66d652e20d Use external koji repo
Expect most uses to be downstream so add an external koji repo by
default.
2018-11-07 17:59:03 -08:00
George T Kramer d3a608059b Parameterize kojid capacity
Because the kojid capacity is difficult and error-prone to calculate
automatically, let the user define this.  Default the kojid capacity to
what is listed in the pagure documentation.

Signed-off-by: George T Kramer <george.t.kramer@intel.com>
2018-11-07 17:47:12 -08:00
George T Kramer ff3cf3fe71 Make external repository usage optional
Making external repository usage optional based on how it's defined or
not defined in parameter.sh so users do not need to edit any script
besides this one.

Signed-off-by: George T Kramer <george.t.kramer@intel.com>
2018-10-25 12:51:35 -07:00
William Douglas a1ac13f792 Initial koji setup and configuration with ansible on Clear 2018-10-22 13:46:38 -07:00