updated gitea state
This commit is contained in:
parent
ad3cbfae87
commit
30765d1ac4
@ -1,12 +1,14 @@
|
||||
---
|
||||
gitea:
|
||||
release_url: https://dl.gitea.io/gitea
|
||||
workingdir: /var/lib/gitea
|
||||
binfile: /var/lib/gitea/gitea
|
||||
configfile: /var/lib/gitea/custom/conf/app.ini
|
||||
user: git
|
||||
group: git
|
||||
version: "1.0.2"
|
||||
arch: "amd64"
|
||||
os: linux
|
||||
arch: amd64
|
||||
config:
|
||||
global:
|
||||
app_name: Gitea - Git with a cup of tea
|
||||
@ -23,6 +25,7 @@ gitea:
|
||||
path: data/gitea.db
|
||||
repository:
|
||||
root: /var/lib/gitea/gitea-repositories
|
||||
default_branch: master
|
||||
server:
|
||||
domain: git.example.com
|
||||
http_addr: "::"
|
||||
|
@ -18,10 +18,10 @@ git:
|
||||
gitea-bin:
|
||||
file.managed:
|
||||
- name: {{ gitea.workingdir }}/gitea
|
||||
- source: "https://dl.gitea.io/gitea/{{ gitea.version }}/gitea-{{ gitea.version }}-linux-{{ gitea.arch }}"
|
||||
- source_hash: "https://dl.gitea.io/gitea/{{ gitea.version }}/gitea-{{ gitea.version }}-linux-{{ gitea.arch }}.sha256"
|
||||
- source: "{{ gitea.release_url }}/{{ gitea.version }}/gitea-{{ gitea.version }}-{{ gitea.os }}-{{ gitea.arch }}"
|
||||
- source_hash: "{{ gitea.release_url }}/{{ gitea.version }}/gitea-{{ gitea.version }}-{{ gitea.os }}-{{ gitea.arch }}.sha256"
|
||||
- user: git
|
||||
- group: git
|
||||
- mode: 750
|
||||
- require:
|
||||
- git
|
||||
- git
|
||||
|
@ -3,11 +3,9 @@
|
||||
{%- set os_family_map = salt['grains.filter_by']({
|
||||
'Debian': {},
|
||||
'Suse': {},
|
||||
'Arch': { },
|
||||
'RedHat': { },
|
||||
}
|
||||
, grain="os_family"
|
||||
, merge=salt['pillar.get']('gitea:lookup'))
|
||||
'Arch': {},
|
||||
'RedHat': {},
|
||||
}, grain="os_family", merge=salt['pillar.get']('gitea:lookup'))
|
||||
-%}
|
||||
{%- do defaults.gitea.update(os_family_map) -%}
|
||||
|
||||
@ -16,4 +14,4 @@
|
||||
default=defaults.gitea,
|
||||
merge=True
|
||||
)
|
||||
-%}
|
||||
-%}
|
||||
|
Loading…
Reference in New Issue
Block a user