Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class profile::r10k_webhook {
- class { 'r10k::webhook::config':
- enable_ssl => true,
- protected => true,
- notify => Service['webhook'],
- }
- class { 'r10k::webhook':
- require => Class['r10k::webhook::config'],
- }
- git_webhook { 'web_post_receive_webhook':
- ensure => present,
- webhook_url => 'https://puppet:puppet@server.domain.com:8088/payload',
- token => hiera('gitlab_api_token'),
- project_name => 'puppet/puppet-control',
- server_url => 'https://gitlab.domain.com',
- disable_ssl_verify => true,
- provider => 'gitlab',
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement