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

Genisys temp inventory generation #59

Merged
merged 28 commits into from
Feb 21, 2024

Conversation

HenrithicusGreenson
Copy link
Collaborator

@HenrithicusGreenson HenrithicusGreenson commented Feb 16, 2024

This PR replaces the old Inventory.py file with GenisysInventory.py, which generates a file containing arbitrary information about a client that is collected as the client boots and runs the "firstboot" script which curls a JSON file that this class receives and adds to the file specified in the configuration file.

It also logs a unique hostname for the client (default of "genisys" + int), which will be assigned to the host through a different system.

@HenrithicusGreenson HenrithicusGreenson marked this pull request as ready for review February 18, 2024 18:37
documentation/example.yml Outdated Show resolved Hide resolved
genisys/server/genisysinventory.py Show resolved Hide resolved
genisys/server/genisysinventory.py Outdated Show resolved Hide resolved
genisys/server/http.py Outdated Show resolved Hide resolved
genisys/server/http.py Outdated Show resolved Hide resolved
@HenrithicusGreenson HenrithicusGreenson merged commit 6abdc25 into main Feb 21, 2024
10 checks passed
@HenrithicusGreenson HenrithicusGreenson deleted the genisys-temp-inventory-generation branch February 21, 2024 16:49
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

Successfully merging this pull request may close these issues.

Update server component to update temporary "genisys inventory" instead of ansible inventory
4 participants