Issue #8417 has been updated by eric sorenson.

Status changed from Re-opened to Needs More Information
Assignee changed from eric sorenson to Gabriel Filion

Gabriel, the point is the resources get exported completely independently of 
the client connecting, because the export happens on the server, at the time 
the catalog is compiled, whereas the noop/enforce switch is a function of the 
agent. Doing a `puppet master --compile node.example.com` will cause the 
resources to be written to the database without any client connection.

#5239 is relevant because environment-aware export and collect would give you 
control over the resource visibility, as John Bollinger suggests in [note 
13](#note-13) -- which seems to be the crux of the thing: it's not whether the 
resource is exported from the no-op host, it's whether it get collected and 
used when you don't want it to. Does that sound right?

----------------------------------------
Bug #8417: Exported resources is exporting to the database with --noop flag
https://projects.puppetlabs.com/issues/8417#change-95350

* Author: Andrew Thompson
* Status: Needs More Information
* Priority: Normal
* Assignee: Gabriel Filion
* Category: exported resources
* Target version: 
* Affected Puppet version: 3.2.3
* Keywords: ntbf
* Branch: 
----------------------------------------
When I run puppet with the noop flag resources are being exported to the
db.

I would expect it to simulate the transaction with the db...

This is causing things like nagios host resources being creating before the 
plugins get there, so I get invalid alerts.

-Andrew


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to