puppet-prod/site/profiles/manifests/gitea/init.pp
Ben Vincent 4bd3310ea8 feat: refacter gitea profile
- move more data to hiera
- change how the custom_configuration is made
2024-06-01 17:16:37 +10:00

29 lines
716 B
Puppet

# profiles::gitea::init
class profiles::gitea::init (
String $lfs_jwt_secret = '',
Hash $root = {},
Hash $server = {},
Hash $database = {},
Hash $repository = {},
Hash $session = {},
Hash $lfs = {},
Hash $ui = {},
) {
include profiles::nginx::simpleproxy
class { 'gitea':
ensure => '1.22.0',
checksum => 'a31086f073cb9592d28611394b2de3655db515d961e4fdcf5b549cb40753ef3d',
custom_configuration => {
'' => $root,
server => $server,
database => $database,
repository => $repository,
session => $session,
lfs => $lfs,
ui => $ui,
},
}
}