Skip to content
This repository has been archived by the owner on Jan 24, 2020. It is now read-only.

Create ServerPuppetdbData class #60

Closed
5 tasks
eefahy opened this issue Jul 21, 2017 · 1 comment
Closed
5 tasks

Create ServerPuppetdbData class #60

eefahy opened this issue Jul 21, 2017 · 1 comment
Assignees
Milestone

Comments

@eefahy
Copy link
Contributor

eefahy commented Jul 21, 2017

  • create a .run instance method to load_data
  • create_or_find_by the Server object based on the fqdn
    • load hostname
    • load ip
    • load / create fields for other attributes
This was referenced Jul 21, 2017
@eefahy eefahy added this to the v1.0 milestone Jul 21, 2017
@tallenaz tallenaz self-assigned this Jul 21, 2017
tallenaz added a commit that referenced this issue Jul 25, 2017
@tallenaz
Copy link
Contributor

with the puppetdb gem, this gets everything with role::basenode, need to figure out how to transform it into a list of certnames:

p.request('resources', ['and', ['=', 'type', 'Class'], ['=', 'title', 'Role::Basenode']])

tallenaz added a commit that referenced this issue Jul 25, 2017
tallenaz added a commit that referenced this issue Jul 25, 2017
tallenaz added a commit that referenced this issue Jul 26, 2017
tallenaz added a commit that referenced this issue Jul 26, 2017
tallenaz added a commit that referenced this issue Jul 26, 2017
tallenaz added a commit that referenced this issue Jul 26, 2017
tallenaz added a commit that referenced this issue Jul 26, 2017
tallenaz added a commit that referenced this issue Jul 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants