gitlab: Hook nginx configuration files into SR system
authorKirill Smelkov <kirr@nexedi.com>
Fri, 8 Jan 2016 09:57:05 +0000 (12:57 +0300)
committerKirill Smelkov <kirr@nexedi.com>
Sun, 17 Jan 2016 21:39:30 +0000 (00:39 +0300)
commit45127f6d8559b86007dab7a1a1a5a817067a2c20
tree10cea459aecfbb1aa2b45fdc6b129115cc97d24f
parent61544d87b2d331e462f420a0e75615476169d609
gitlab: Hook nginx configuration files into SR system

Like with Rails configuration files, hook nginx configuration files into
SR / instance build process; rename *.erb -> *.in and add our header.

The templates are still not valid - a lot of erb code is left there -
we'll slapos'ify it incrementally in the following patches.

/cc @kazuhiko, @jerome
software/gitlab/instance-gitlab.cfg.in
software/gitlab/instance.cfg.in
software/gitlab/software.cfg
software/gitlab/template/nginx-gitlab-http.conf.in [moved from software/gitlab/template/nginx-gitlab-http.conf.erb with 97% similarity]
software/gitlab/template/nginx.conf.in [moved from software/gitlab/template/nginx.conf.erb with 80% similarity]