Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected token #51

Open
ghost opened this issue May 16, 2019 · 0 comments
Open

unexpected token #51

ghost opened this issue May 16, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented May 16, 2019

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',
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants