search for: puppetdbquery

Displaying 11 results from an estimated 11 matches for "puppetdbquery".

2012 Aug 30
4
Trying to setup puppetdbquery on puppet-3.0.0-rc5
I have puppetdbquery working on my puppet-2.7.16 puppet master but I am getting an error when using it with puppet-3.0.0-rc5 https://github.com/dalen/puppet-puppetdbquery This is the error I am getting: err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `start'' for...
2013 May 27
2
Puppetdbquery 1.1.0, now featuring hiera backendception
I just released dalen-puppetdbquery 1.1.0, one cool new feature in this release is a hiera backend. So if you have a puppet class that takes a list of hosts as a parameter you can now fill it using dynamic data from a puppetdb query. No need anymore to modify the module itself or create a wrapper class around it to do the puppetdb q...
2013 Feb 19
1
Functions for PuppetDB
Is this the best option for accessing puppetdb data from modules? http://forge.puppetlabs.com/dalen/puppetdbquery Any other recommendations? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send emai...
2013 Jan 24
5
Searching for Nodes
...uld search for a node by role, but I am lost as how to do this with puppet and classes. Example: I want my load-balancing node to look for all application server nodes and grab their ip address (and hostname ideally). I have setup PuppetDB, and have looked at http://forge.puppetlabs.com/dalen/puppetdbquery but i am having trouble crafting my queries. Is there a way to view all available fields in PuppetDB? I am having trouble getting the curl commands to work. Brian -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussi...
2013 Apr 29
2
checking puppet run status of node A during puppet run of node B
I have some middleware where the successful configuration of node B is dependent on the successful configuration of node A. Node B must pull additional information from node A during its configuration. Is there any built in functionality in puppet for checking the completion status of other nodes? Right now my intent is to write a custom function to query the puppetdb which is storing
2013 May 24
6
Puppet/Nagios/PuppetDB slow performance
Hi all, For months now I''ve been using Puppet with PuppetDB backend to manage my Nagios configs. We now have 1200+ services being checked and including servicedependency, host, hostdependency, command and other Nagios resources being managed, that''s about 3000 resources in total. Unfortunately this means the monitoring server takes about 8 minutes to perform a Puppet run.
2013 May 06
3
Announce: PuppetDB 1.3.0 Available
PuppetDB 1.3.0 is now available for download! This is a backward compatible feature release of PuppetDB. ============= ## Downloads ## ============= Available in native package format at: http://yum.puppetlabs.com and http://apt.puppetlabs.com Puppet module: http://forge.puppetlabs.com/puppetlabs/puppetdb Source (same license as Puppet): http://github.com/puppetlabs/puppetdb/ # Documentation
2013 Oct 07
6
Force Fact within manifest
...to create a SSH key for the system, then to immediately publish this ssh_root_key fact. But given the way it works at the moment it would only occur during the initial phase of the puppet run, so would require two runs before that fact was available and ready for other servers to pick up using puppetdbquery. Does anyone know if this can be forced in some way? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post...
2013 Jan 07
3
Error: Could not retrieve catalog from remote server: execution expired
Hi everyone, I recently ran into an issue where my puppetmaster can''t run puppet on itself. It errors out with the following: Error: Could not retrieve catalog from remote server: execution expired Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run I''m running Puppet 3 with passanger and puppetdb (hsql). I''ve tried restarting
2013 Sep 02
4
puppetdb - getting a list of specific facts for specific hosts?
I''m trying to query puppetdb for a list of hosts maching a certain regex (on hostname) and only returns 2 facts (ipaddress and hostname) I''m trying to follow: http://docs.puppetlabs.com/puppetdb/latest/api/query/tutorial.html and I''m not even quite sure, wether or not, I should use a facts or a nodes, or a resources query ? I get some of the queries to return just
2013 Oct 07
17
Sync data between various PuppetDB instances
Dear all, We have a few reasons to have various PuppetDBs (and Masters, one per cluster) in our datacenter and, eventually, there may be a need to share *only* a few exported resources between clusters, like a few ssh-keys or nagios tests. Is there a mechanism to pull and push some exported resources from one PuppetDB to another? I guess this could be done with the API, but has anybody tried it,