From 68c4f48a59ec4128d39f86c032d78550283fece7 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Wed, 4 Feb 2026 15:55:27 +0100 Subject: [PATCH] OP#414 add smylink --- manifests/main/files.pp | 5 +++++ templates/app.ini.erb | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/manifests/main/files.pp b/manifests/main/files.pp index 6691ce5..f6153cd 100644 --- a/manifests/main/files.pp +++ b/manifests/main/files.pp @@ -17,6 +17,11 @@ class confdroid_gitea::main::files ( source => "${ga_dl_url}/${ga_dl_version}/gitea-${ga_dl_version}-linux-amd64", } + file { '/usr/local/bin/gitea': + ensure => 'link', + target => "${ga_opt_dir}/gitea", + } + file { $ga_config_file: ensure => 'file', owner => $ga_user, diff --git a/templates/app.ini.erb b/templates/app.ini.erb index c628d42..daa9b13 100644 --- a/templates/app.ini.erb +++ b/templates/app.ini.erb @@ -25,5 +25,7 @@ DISABLE_SSH = <%= @ga_disable_ssh %> SSH_PORT = <%= @ga_ssh_port %> SSH_LISTEN_PORT = <%= @ga_ssh_port %> LFS_START_SERVER = <%= @ga_start_lfs %> -START_SSH_SERVER = <%= @ga_start_ssh_server %> +START_SSH_SERVER = <%= @ga_start_ssh %> + +