Jira (PDB-1107) Add Puppet Master host name to node catalog schema

2 views
Skip to first unread message

Eric Zounes (JIRA)

unread,
Jan 9, 2015, 11:38:20 PM1/9/15
to puppe...@googlegroups.com
Eric Zounes created an issue
 
PuppetDB / Improvement PDB-1107
Add Puppet Master host name to node catalog schema
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2015/01/09 8:36 PM
Priority: Normal Normal
Reporter: Eric Zounes

It would be useful to know the host name of the Puppet Master which compiled a node's catalog. This is useful for debugging in multi-master environments. For example, if a catalog on the master "puppet-master2.ops.puppetlabs.net" is compiled for the node "example.ops.puppetlabs.net" the following query could be made:

It would return something like this:

{
  "catalog-environment" : "production",
  "catalog-timestamp" : "2014-12-11T05:05:26.382Z",
  "certname" : "example.ops.puppetlabs.net",
  "compiled-catalog-master":  "puppet-master2.ops.puppetlabs.net",
  "deactivated" : null,
  "facts-environment" : "production",
  "facts-timestamp" : "2014-12-15T23:46:07.107Z",
  "report-environment" : null,
  "report-timestamp" : null
}

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a)
Atlassian logo

Kenneth Barber (JIRA)

unread,
Jan 12, 2015, 9:27:25 AM1/12/15
to puppe...@googlegroups.com
Kenneth Barber updated an issue
 
PuppetDB / New Feature PDB-1107
Change By: Kenneth Barber
Story Points: 2
Issue Type: Improvement New Feature

Eric Zounes (JIRA)

unread,
Feb 3, 2015, 12:54:39 AM2/3/15
to puppe...@googlegroups.com
Eric Zounes updated an issue
Change By: Eric Zounes
It would be useful to know the host name of the Puppet Master which compiled a node's catalog. This is useful for debugging in multi-master environments. For example, if a catalog on the master "puppet-master2.ops.puppetlabs.net" is compiled for the node "example.ops.puppetlabs.net" the following query could be made:

{code} /v4/nodes/example.ops.puppetlabs.net {code}

It would return something like this:
{code}

{
  "catalog-environment" : "production",
  "catalog-timestamp" : "2014-12-11T05:05:26.382Z",
  "certname" : "example.ops.puppetlabs.net",
  "compiled- catalog-master on ":  "puppet-master2.ops.puppetlabs.net",

  "deactivated" : null,
  "facts-environment" : "production",
  "facts-timestamp" : "2014-12-15T23:46:07.107Z",
  "report-environment" : null,
  "report-timestamp" : null
}
{code}

Russell Mull (JIRA)

unread,
May 17, 2017, 2:23:05 PM5/17/17
to puppe...@googlegroups.com
Russell Mull updated an issue
Change By: Russell Mull
Labels: triaged
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Moses Mendoza (JIRA)

unread,
May 18, 2017, 1:46:27 PM5/18/17
to puppe...@googlegroups.com

Claudia Petty (Jira)

unread,
Jun 21, 2023, 10:57:09 AM6/21/23
to puppe...@googlegroups.com
Claudia Petty updated an issue
Change By: Claudia Petty
Labels: new-feature
This message was sent by Atlassian Jira (v8.20.21#820021-sha1:38274c8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages