Skip to content
New issue

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

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

Already on GitHub? # to your account

doesn't work with foreman 1.21 - yield empty results. #95

Open
Gyges-of-lydia opened this issue Apr 4, 2019 · 1 comment
Open

doesn't work with foreman 1.21 - yield empty results. #95

Gyges-of-lydia opened this issue Apr 4, 2019 · 1 comment

Comments

@Gyges-of-lydia
Copy link

example -
fb = Foreman('https://example.foreman.my_org.com', (creds.forman_user, creds.forman_pass))
fb.hosts.index(500)

give nothing.

@schlitzered
Copy link

trz adding "api_version=2" when creating the foreman client instance. you maybe also have to add "use_cache=False"

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants