forked from tranquilit/WAPT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwapt-get.ini.tmpl
139 lines (110 loc) · 5.61 KB
/
wapt-get.ini.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[global]
;;;;;;;
; If repo_url is left blank, a DNS query is performed on the dnsdomain zone for a SRV record _wapt._tcp.mydomain.lan
; if several records are returned, the IP in same subnet as host is choosen first if available else other are checked in turn
repo_url=
dbdir = c:\wapt\db
; or more precisely :
; dbpath = c:\wapt\db\waptdb.sqlite
; Enable or disable the automatic install of a Wapt package named like the host's FQDN
; If disabled, administrator can not remotely manage the packages that must be installed.
; If Enabled, the host's packages created by waptconsole are downloaded and applied on the host.
; Host packages are downloaded from a repository located on same http server as main repo,
; wapt append a '-host' at the end of main repo URL to compose the host packages repository URL.
; the Hosts packages repository can be defined explicitely with a section named [wapt-host] in this file
; with the explicit repo_url key.
; By default, use_hostpackages is disabled.
;use_hostpackages = 1
; loglevel : debug info warning critical
;loglevel=warning
; for package development
;private_key=c:\tmp\ko.pem
; for waptsetup ksign build
;private_key_p12=c:\tmp\ko.p12
; default sources location (
default_sources_url=
; https://svn.tranquil.it/sources/%(packagename)s-wapt/trunk/
; where to create templates of packages, or unzip packages to edit
default_sources_root=c:\waptdev
; where to create templates of host packages, or unzip packages for editing hosts
default_sources_root_host=c:\waptdev\hosts
; From where copy templates packages in waptconsole
;templates_repo_url=https://store.wapt.fr/wapt
; default prefix to add to software name when creating package templates
default_package_prefix=tis
; default suffix to add to package name for package development directory
default_sources_suffix=wapt
; command to run for uploading a package to your server (wapt-get upload-package or build-upload)
; if no command is supplied, it is assumed your wapt server is running waptserver and support http upload with POST
; with files encoded
;upload_cmd="C:\Program Files\WinSCP\WinSCP.exe" [email protected] /upload %(filenames)s
; you could put your public authorization key in server's /opt/wapt/.ssh/authorized_keys
; example if you have cygwin :
; create key : c:\cygwin\bin\ssh localhost ssh-keygen
; copy key : c:\cygwin\bin\ssh localhost ssh-copy-id -i ~/.ssh/id_dsa [email protected]
; then with putty (wapt user is assumed as copied wapt files should belong to it)
;upload_cmd="c:\Program Files (x86)\putty\pscp -v -i c:\private\mykey.pem -l wapt %(filenames)s srvwapt.tranquilit.local:/var/www/wapt/
; command to run (deprecated by http upload) : for example to update Packages index.
;after_upload="c:\Program Files (x86)\putty\plink" -v -i c:\private\mykey.pem -l wapt srvwapt.tranquilit.local "python /opt/wapt/wapt-scanpackages.py /var/www/wapt/ -l info"
; define a wapt_server key only if one server is running
; a wapt server support the following url :
; if not present : no waptserver is queried
; if empty : use DNS SRV record _waptserver._tcp.mondomaine.local
;wapt_server=https://wapt.tranquil.it
; for windows task scheduling "wapt-get setup-tasks" to create windows scheduled tasks (when waptservice is not installed)
;waptupgrade_task_period=360
;waptupgrade_task_maxruntime=360
;waptupdate_task_period=30
;waptupdate_task_maxruntime=10
; websocket ping to keep http/1.1 tcp connection up in nat and proxy
;websockets_ping=60
; in case socket.IO connection fails, wait before retrying
;websockets_retry_delay=10
; check every n seconds if wapt-get.ini has changed and reconnect socket.io with new parameters if changed.
;websockets_check_config_interval=5
; for https waptserver / wapt_repo connections : 0 disable/1 enable or path to certificate(s) of the server
;verify_cert = C:\wapt\ssl\server\wapt142.tranquilit.local.crt
;verify_cert = 1
; for tls websockets : check certificate : 1 or disable check 0, if not set waptsockets_verify==verify_cert
;websockets_verify_cert=C:\tranquilit\wapt\ssl\server\wapt142.tranquilit.local.crt
;websockets_verify_cert=1
;;;;;;;;;;;;;;;;;;;;;;;;;;;
; wapt_service configuration. Use windows security by default
; password can be set with command "wapt-get setlocalpassword"
;wapt_user=admin
;wapt_password=5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8
;waptservice_port=8088
;;;;;;;;;
; waptexit
; Enable disable button to cancel upgrade at computer shutdown (waptexit.exe)
;allow_cancel_upgrade=1
;waptservice_timeout=15
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Proxy enable : 1 / disable : 0
;http_proxy=http://user:pwd@host_fqdn:port
;use_http_proxy_for_repo=0
;use_http_proxy_for_server=0
;use_http_proxy_for_templates=0
;repositories=private,tranquilit
;;;;;;;;;;;
; shutdown policy
; to allow large install to complete
;max_gpo_script_wait = 180
;pre_shutdown_timeout = 180
; to avoid deep sleep shutdown instead of full shutdown which prevent waptexit to run properly
;hiberboot_enabled = 0
;;;;;;;;;;;;;;;;;;;;;;;;
; When DNS query is used to lookup wapt_server or repo_url, define explicitely the dnsdomain zone to lookup.
;dnsdomain=tranquilit.local
;;;;;;;;;;;;;;
; enable ssl certificate validation for wapt_server and repo_url https://
; can be activated easily for main repo with command "wapt-get enable-check-certificate"
;verify_cert=c:\wapt\ssl\server\srvwapt.tranquilit.local
[private]
repo_url=http://wapt/wapt
[tranquilit]
repo_url=http://wapt.tranquil.it/wapt
default_source_url=https://dev.tranquil.it/wapt/
;;; explicit repository for host packages (in case this one is centralized for example
;[wapt-host]
;repo_url=https://srvwapt.tranquilit.local/wapt-host