gitlab/smtp_settings.rb: Convert/integrate to slapos
authorKirill Smelkov <kirr@nexedi.com>
Thu, 7 Jan 2016 16:05:40 +0000 (19:05 +0300)
committerKirill Smelkov <kirr@nexedi.com>
Sun, 17 Jan 2016 21:39:28 +0000 (00:39 +0300)
commitc64f7ece1cca38a13d9d1fb4a690583a80ae38e4
treeff081419fb92e7c01b00bd670ff25c3bea2af55c
parenta44f5a4335e123a82d156e837fa936eed1aab16d
gitlab/smtp_settings.rb: Convert/integrate to slapos

Convert to slapos SMTP settings for gitlab:

    - convert to jinja2
    - remove support for gitlab CI (we do not support it (yet ?))
    - add handling of `smtp_enable` parameter directly to that file
      ( omnibus handles this parameter externally and just removes
        smtp_settings.rb if it is true )

NOTE smtp_settings.rb contains SMTP password, so it is mode is set to 0600.

/cc @kazuhiko, @jerome
software/gitlab/gitlab-parameters.cfg
software/gitlab/instance-gitlab.cfg.in
software/gitlab/template/smtp_settings.rb.in