https://www.puppet.com/community logo
Join Slack
Powered by
# voxpupuli
  • r

    root-expert

    04/28/2022, 7:32 AM
    bastelfreak: As for the service, I think i tried that in the past and it didn't work. I think we need something like https://pkg.go.dev/github.com/kardianos/service
  • r

    root-expert

    04/28/2022, 7:32 AM
    At least that's what a used in a custom made webhook i'm using 😛
  • v

    VoxBot

    04/28/2022, 7:44 AM
    o/ Hey friends! Just for information I am about to leave for a full month of vacations away from $HOME & computers with access to internet in the range [very_limeted..none_at_all].
  • v

    VoxBot

    04/28/2022, 7:45 AM
    I will probably show up from time to time for limited duration, so do not count on me for anything very serious :-D
  • r

    root-expert

    04/28/2022, 7:46 AM
    Have fun smortex!
    😁 1
  • v

    VoxBot

    04/28/2022, 7:46 AM
    I should be back en track in June, once I have catch up with the infinite pile of mail ;-)
  • v

    VoxBot

    04/28/2022, 7:50 AM
    dhollinger https://gist.github.com/sahaqaa/3a97ea5101ebaaeb30a5ed0a548b45e8
  • v

    VoxBot

    04/28/2022, 7:51 AM
    ^^ the error with "orchestrator" set to false (not commented out)
  • r

    root-expert

    04/28/2022, 8:12 AM
    https://drive.google.com/file/d/1c_60grFWacNqL9NPpB1xBA9th6PbXTzf/view?usp=sharing try out this binary and post the error again
  • v

    VoxBot

    04/28/2022, 8:12 AM
    sure, thank you
  • r

    root-expert

    04/28/2022, 8:12 AM
    Also, your server is protected with username and password, hope you enter those credentials when you hit the api
  • v

    VoxBot

    04/28/2022, 8:14 AM
    I do enter those credentials in Bitbucket webhook section as:
  • v

    VoxBot

    04/28/2022, 8:14 AM
    https://puppet:puppet@puppet5-prod-webhook.XXXXX.XXXXX/api/v1/r10k/environment
  • r

    root-expert

    04/28/2022, 8:20 AM
    👍
  • v

    VoxBot

    04/28/2022, 8:20 AM
    Ok, i see error:
  • v

    VoxBot

    04/28/2022, 8:20 AM
    [GIN-debug] Listening and serving HTTP on :8088
  • v

    VoxBot

    04/28/2022, 8:20 AM
    ERRO[0065] failed to execute local command
    [r10k deploy environment test_webhook --config=/etc/puppetlabs/r10k/r10k.yaml -v -m --generate-types]
    with error:
    exit status 1
    `environment: illegal option -- m
  • v

    VoxBot

    04/28/2022, 8:20 AM
    `
  • v

    VoxBot

    04/28/2022, 8:20 AM
    [GIN] 2022/04/28 - 081914 | 500 | 298.146437ms | 18.246.31.230 | POST "/api/v1/r10k/environment"
  • v

    VoxBot

    04/28/2022, 8:20 AM
    ERRO[0065] failed to execute local command
    [r10k deploy environment test_webhook --config=/etc/puppetlabs/r10k/r10k.yaml -v -m --generate-types]
    with error:
    exit status 1
    `environment: illegal option -- m
  • v

    VoxBot

    04/28/2022, 8:20 AM
    `
  • v

    VoxBot

    04/28/2022, 8:20 AM
    [GIN] 2022/04/28 - 081915 | 500 | 273.776585ms | 18.246.31.230 | POST "/api/v1/r10k/environment"
  • v

    VoxBot

    04/28/2022, 8:20 AM
    ERRO[0066] failed to execute local command
    [r10k deploy environment test_webhook --config=/etc/puppetlabs/r10k/r10k.yaml -v -m --generate-types]
    with error:
    exit status 1
    `environment: illegal option -- m
  • v

    VoxBot

    04/28/2022, 8:20 AM
    `
  • v

    VoxBot

    04/28/2022, 8:20 AM
    [GIN] 2022/04/28 - 081916 | 500 | 272.001987ms | 18.246.31.230 | POST "/api/v1/r10k/environment"
  • v

    VoxBot

    04/28/2022, 8:20 AM
    Out of curiosity I just tried to run this command:
  • v

    VoxBot

    04/28/2022, 8:20 AM
    # r10k deploy environment test_webhook --config=/etc/puppetlabs/r10k/r10k.yaml -v -m --generate-types
  • v

    VoxBot

    04/28/2022, 8:20 AM
    environment: illegal option -- m
  • r

    root-expert

    04/28/2022, 8:22 AM
    Same issue as https://github.com/voxpupuli/webhook-go/pull/19
  • r

    root-expert

    04/28/2022, 8:22 AM
    Same issue as https://github.com/voxpupuli/webhook-go/pull/19
1...161718...647Latest