29 lines
716 B
Puppet
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,
|
|
},
|
|
}
|
|
}
|