abrader-gms
abrader-gms copied to clipboard
unexpected token
I'm getting unexpected token
and I don't know what's wrong. I did everything as documented but doesn't seem to help. Could you please assist? Full errror below.
Error: /Stage[main]/Profile::Puppet::R10k/Git_webhook[github_post_receive]: Could not evaluate: 751: unexpected token at '<html><body>You are being <a href="https://github.com/login">redirected</a>.</body></html>'
class { 'r10k::webhook::config':
enable_ssl => false,
protected => false,
use_mcollective => false,
}
class { 'r10k::webhook':
use_mcollective => false,
user => 'root',
group => 'root',
require => Class['r10k::webhook::config'],
}
git_webhook { 'github-nz_post_receive':
ensure => present,
webhook_url => "https://${::fqdn}:8088/payload",
token => 'TOKEN',
project_name => 'myuser/myrepo',
server_url => 'https://github.com',
disable_ssl_verify => true,
provider => 'github',
}