abrader-gms icon indicating copy to clipboard operation
abrader-gms copied to clipboard

undefined local variable or method `get_token'

Open vchepkov opened this issue 8 years ago • 3 comments

# puppet --version
4.8.2

When trying to create a git_webhook resource, get an error:

# puppet apply githook.pp
Notice: Compiled catalog for hub.chepkov.lan in environment production in 0.31 seconds
Error: /Stage[main]/Main/Git_webhook[web_post_receive_webhook]: Could not evaluate: undefined local variable or method `get_token' for Git_webhook[web_post_receive_webhook](provider=github):Puppet::Type::Git_webhook::ProviderGithub
Notice: Applied catalog in 0.22 seconds

vchepkov avatar Feb 12 '17 16:02 vchepkov

I also get this

NoodlesNZ avatar Mar 14 '17 03:03 NoodlesNZ

@vchepkov @NoodlesNZ Pretty sure this was fixed in this PR but I'll confirm and release: https://github.com/abrader/abrader-gms/pull/38

abrader avatar Mar 20 '17 16:03 abrader

Thanks @abrader, looks like it works now. Any chance you can bump out a minor/patch release so that the forge version works?

NoodlesNZ avatar Apr 17 '18 02:04 NoodlesNZ