Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P5758
hiera_lookup example
Active
Public
Actions
Authored by
hashar
on Jul 18 2017, 10:22 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F8795104: hiera_lookup example
Jul 18 2017, 10:22 PM
2017-07-18 22:22:52 (UTC+0)
Subscribers
None
hashar@deployment-puppetmaster02:/var/lib/git/operations/puppet$ ./utils/hiera_lookup -v --fqdn=deployment-tin.deployment-prep.eqiad.wmflabs realm
DEBUG: 2017-07-18 22:22:24 +0000: Looking up realm
DEBUG: 2017-07-18 22:22:24 +0000: Fetching http://labs-puppetmaster-eqiad.wikimedia.org:8100/v1/deployment-prep/node/deployment-tin.deployment-prep.eqiad.wmflabs
DEBUG: 2017-07-18 22:22:24 +0000: Looking up realm
DEBUG: 2017-07-18 22:22:24 +0000: Fetching https://wikitech.wikimedia.org/w/api.php?action=query&prop=revisions&format=json&rvprop=ids&titles=Hiera:Hosts/deployment-tin
WARN: 2017-07-18 22:22:24 +0000: Page Hiera:Hosts/deployment-tin is non-existent
DEBUG: 2017-07-18 22:22:24 +0000: Fetching https://wikitech.wikimedia.org/w/api.php?action=query&prop=revisions&format=json&rvprop=content&titles=Hiera:Hosts/deployment-tin
DEBUG: 2017-07-18 22:22:24 +0000: Page Hiera:Hosts/deployment-tin is non-existent, setting defaults {}
DEBUG: 2017-07-18 22:22:24 +0000: Fetching https://wikitech.wikimedia.org/w/api.php?action=query&prop=revisions&format=json&rvprop=ids&titles=Hiera:Deployment-prep/host/deployment-tin
DEBUG: 2017-07-18 22:22:24 +0000: Fetching https://wikitech.wikimedia.org/w/api.php?action=query&prop=revisions&format=json&rvprop=content&titles=Hiera:Deployment-prep/host/deployment-tin
DEBUG: 2017-07-18 22:22:24 +0000: Fetching https://wikitech.wikimedia.org/w/api.php?action=query&prop=revisions&format=json&rvprop=ids&titles=Hiera:Deployment-prep
DEBUG: 2017-07-18 22:22:25 +0000: Fetching https://wikitech.wikimedia.org/w/api.php?action=query&prop=revisions&format=json&rvprop=content&titles=Hiera:Deployment-prep
DEBUG: 2017-07-18 22:22:25 +0000: Looking up realm
DEBUG: 2017-07-18 22:22:25 +0000: Loading info from labs/hosts/deployment-tin for realm
DEBUG: 2017-07-18 22:22:25 +0000: The source is: labs/hosts/deployment-tin
DEBUG: 2017-07-18 22:22:25 +0000: Cannot find datafile /var/lib/git/operations/puppet/hieradata/labs/hosts/deployment-tin.yaml, skipping
DEBUG: 2017-07-18 22:22:25 +0000: Searching for realm in
DEBUG: 2017-07-18 22:22:25 +0000: Loading info from labs/deployment-prep/host/deployment-tin for realm
DEBUG: 2017-07-18 22:22:25 +0000: The source is: labs/deployment-prep/host/deployment-tin
DEBUG: 2017-07-18 22:22:25 +0000: Searching for realm in /var/lib/git/operations/puppet/hieradata/labs/deployment-prep/host/deployment-tin.yaml
DEBUG: 2017-07-18 22:22:25 +0000: Loading file /var/lib/git/operations/puppet/hieradata/labs/deployment-prep/host/deployment-tin.yaml
DEBUG: 2017-07-18 22:22:25 +0000: Loading info from labs/deployment-prep/common for realm
DEBUG: 2017-07-18 22:22:25 +0000: The source is: labs/deployment-prep/common
DEBUG: 2017-07-18 22:22:25 +0000: Searching for realm in /var/lib/git/operations/puppet/hieradata/labs/deployment-prep/common.yaml
DEBUG: 2017-07-18 22:22:25 +0000: Loading file /var/lib/git/operations/puppet/hieradata/labs/deployment-prep/common.yaml
DEBUG: 2017-07-18 22:22:25 +0000: Loading info from labs for realm
DEBUG: 2017-07-18 22:22:25 +0000: The source is: labs
DEBUG: 2017-07-18 22:22:25 +0000: Searching for realm in /var/lib/git/operations/puppet/hieradata/labs.yaml
DEBUG: 2017-07-18 22:22:25 +0000: Loading file /var/lib/git/operations/puppet/hieradata/labs.yaml
DEBUG: 2017-07-18 22:22:25 +0000: Found realm in labs
labs
hashar@deployment-puppetmaster02:/var/lib/git/operations/puppet$
Event Timeline
hashar
created this paste.
Jul 18 2017, 10:22 PM
2017-07-18 22:22:52 (UTC+0)
hashar
mentioned this in
T170944: RFC: What to do about wikitech per-project puppet config?
.
Jul 18 2017, 10:28 PM
2017-07-18 22:28:46 (UTC+0)
Log In to Comment