manage user membership
This commit is contained in:
parent
539a6232f8
commit
bcf9dbc7bd
1 changed files with 11 additions and 1 deletions
|
@ -218,7 +218,17 @@ class md_publisher(Array $allow_clients=['any'], $keyname=undef, String $dir="/v
|
||||||
}
|
}
|
||||||
|
|
||||||
class md_repo_server($hostname) {
|
class md_repo_server($hostname) {
|
||||||
class {'sunet::gitolite': } ->
|
ensure_resource('sunet::system_user', 'www-data', {
|
||||||
|
username => 'www-data',
|
||||||
|
group => 'www-data',
|
||||||
|
managehome => false,
|
||||||
|
shell => '/bin/bash'
|
||||||
|
})
|
||||||
|
class {'sunet::gitolite': }
|
||||||
|
sunet::snippets::add_user_to_group { 'add_www_data_to_git':
|
||||||
|
username => 'www-data',
|
||||||
|
group => 'git'
|
||||||
|
} ->
|
||||||
sunet::docker_run {'gitweb':
|
sunet::docker_run {'gitweb':
|
||||||
image => 'docker.sunet.se/gitweb',
|
image => 'docker.sunet.se/gitweb',
|
||||||
imagetag => 'latest',
|
imagetag => 'latest',
|
||||||
|
|
Loading…
Add table
Reference in a new issue