On 10/4/13 1:39 PM, Deepak Giridharagopal wrote:

So, "puppet agent --test --environment production" fails to create
resources findable via REST (and in fact removes them if they're
present), but "puppet apply foo.pp" (with foo.pp containing the
statements above) makes them findable (and they show up in
nagios_hosts.cfg on the nagios server).

PuppetDB will only return resources for nodes which it haven't been
marked inactive...is it possible that's happened for some of your nodes?
Hitting http://localhost:8080/v2/nodes on your puppetdb server should
dump out everything puppetdb knows about your hosts, including when they
were deactivated (or null if they've not been deactivated).
All the nodes show up via the URL above with null deactivation dates.

David Thompson
Waisman Center Brain Imaging and Behavior Lab
1500 Highland Ave. Room T133
Madison, WI 53705-2280
(608) 265-6608
dthompson (at) waisman (dot) wisc (dot) edu

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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 14 of 14 | next ›
Discussion Overview
grouppuppet-users @
postedOct 1, '13 at 3:51p
activeOct 8, '13 at 2:21p



site design / logo © 2023 Grokbase