spuder / puppet-gitlab

A puppet module to install gitlab 7
Apache License 2.0
36 stars 44 forks source link

custom_appearances_helper - initial implementation #125

Closed janbraiins closed 9 years ago

janbraiins commented 9 years ago

Hi,

would you include the following class that allows customizations of the sign-in page? I have find out that the extra_sign_in_text option:

The new class simply deploys a custom appearance helper (I deploy it simply after the main gitlab class) as follows:

  class { 'gitlab' : 
    puppet_manage_config            => true,
    puppet_manage_backups           => true,
    puppet_manage_packages          => false,
    gitlab_branch                   => '7.8.2',
    external_url                    => 'http://gitlab.example.org',
  } ->
  class { 'gitlab::custom_appearances_helper':
    brand_title => 'Braiins GitLab',
    brand_image => 'http://www.gravatar.com/avatar/4d358f7a202bff084b04851eee7f957b?s=200',
  }

I know this maybe a bit controversial as it makes the CE edition branded. The comfort of setting this up is still not as good as in the enterprise edition so it shouldn't matter that much.

Let me know, if you don't like it - I would create a separate module for it or leave it in my separate branch. I just still think it wonderfully extends your modules functionality.

Best regards,

Jan

spuder commented 9 years ago

Module transitioned to here: https://github.com/vshn/puppet-gitlab