Gitlab Community Edition Instance

Skip to content
Snippets Groups Projects
Commit 4d2aa509 authored by Benedikt Wegmann's avatar Benedikt Wegmann Committed by Benedikt Wegmann
Browse files

manifests/openssh_server.pp: GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL

parent 39025b95
Branches puppet-service
No related tags found
No related merge requests found
......@@ -11,6 +11,20 @@ class ubuntu_server::openssh_server($port='22',$groups_only='root',$authorized_k
}
}
file_line{'openssh_server_config_GIT_AUTHOR_NAME':
path => '/etc/ssh/sshd_config',
line => "AcceptEnv GIT_AUTHOR_NAME",
match => '^AcceptEnv GIT_AUTHOR_NAME',
require => Package['openssh-server'],
} ~> Service['ssh']
file_line{'openssh_server_config_GIT_AUTHOR_EMAIL':
path => '/etc/ssh/sshd_config',
line => "AcceptEnv GIT_AUTHOR_EMAIL",
match => '^AcceptEnv GIT_AUTHOR_EMAIL',
require => Package['openssh-server'],
} ~> Service['ssh']
file_line{'openssh_server_config_Port':
path => '/etc/ssh/sshd_config',
line => "Port ${port}",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment