Puppet Class: gitlabr10khook::params
- Inherited by:
-
gitlabr10khook
- Defined in:
- manifests/params.pp
Overview
Class: gitlabr10khook::params vim: set softtabstop=2 ts=2 sw=2 expandtab:
This configures the gitlab-puppet-webhook that will take webhook triggers from gitlab and run r10k on your puppet server it currently only supports the PUSH mechanism
Variables
Authors
Karl Vollmer <karl.vollmer@gmail.com> Copyright
Copyright 2016 Karl Vollmer
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 |
# File 'manifests/params.pp', line 27
class gitlabr10khook::params {
# Install Path
$install = '/opt/gitlab-puppet-webhook'
$release = '0.3'
# Main Preferences
## Port to listen on
$server = {
port => '8080',
### Secret Token (for gitlab)
token => undef,
## Environment Method
### DEPRECATED - Only used with legacy systems, will be removed soon
### Repo / Branch source
method => 'branch',
## Production Environment
### If your production branch is not called 'production', tell us what it is here
prodname => 'production',
### Path to Puppet Environments
envdir => '/etc/puppetlabs/code/environments',
### User to Run the server as
user => undef,
### Group of the User the server runs as
group => undef,
### Path to SSL PEM file (cert + key)
pemfile => undef,
### True to run it as a daemon (will fork off), if false will not detach
daemon => true,
### E-mail server, defaults to localhost
smtpserver => 'localhost',
### From Address on outgoing e-mails
emailfrom => 'gitlabhook@localhost',
### E-mail trigger, only on production / development
emailmethod => 'production',
### Gitlab action to trigger on, only do anything if it's a push
action => 'push',
}
## Logging
$log = {
### Used by Python's logging
filename => '/var/log/gitlab10khook.log',
### Log File max size Default is 50mb
maxsize => '50331648',
### Log Level, Default is WARNING, valid options are CRITICAL,ERROR,WARNING,INFO,DEBUG
level => 'WARNING',
}
$r10k = {
### Config path
config => '/etc/puppetlabs/r10k/r10k.yaml',
binary => '/opt/puppetlabs/puppet/bin/r10k',
}
### For use with systems that need to ssh to other compile masters to deploy code
$multimaster = {
### Multimaster configuration
enabled => false,
### Server List, comma seperated value
servers => undef,
}
## DEPRECATED - Don't learn how to use this....
$legacy = {
## Enabled, defaults to false
enabled => false,
## Path where it should dump the legacy modules
path => 'legacy-modules',
## GIT Clone path, for legacy monolithic repo
gitpath => undef,
}
$footprints = {
## Enable Footprints integration
enabled => false,
## Workspace ID of the project we should publish to
project => undef,
## E-mail Address to send e-mail commands to (API is not implemented)
email => undef,
## Close Status String, the name of the status to switch tickets to when
### We see a FIX #{NUMBER} in the commit message
close => undef,
}
$otrs = {
## Enable OTRS integration
enabled => false,
## To Address for OTRS
email => undef,
}
}
|