Issue #8417 has been updated by Marc Fournier.

Nigel Kersten wrote:
> like:
> 
> `puppet agent --test --noop --no-storeconfigs`
> 
> ? 
> 
> That should work now I believe.
> 
> Or do you still want to collect, but not to export?

The use-case where I would have found this useful:

 * install a new node, configure it using puppet, but don't have it monitored 
or backuped yet (meaning some resources mustn't get exported to the central 
monitoring/backup servers)
 * have people manually do some stuff on it, such as deploy their application, 
copy data on it, etc
 * once it's ready, put it in production, meaning among other things: apply the 
resources it has exported on the central monitoring/backup servers.

Does `--no-storeconfigs` also prevent `@@resources` from being stored in 
`storeconfigs_backend` ? Or does it only prevent `<<| |>>` operators from 
working ? Your comment suggests the latter. My use-case would need the former 
too, I guess.

But I wouldn't want to hijack this ticket. Maybe Andrew and Gabriel had 
something else in mind ?

Thanks, and have a nice WE !
----------------------------------------
Bug #8417: Exported resources is exporting to the database with --noop flag
https://projects.puppetlabs.com/issues/8417#change-67743

Author: Andrew Thompson
Status: Re-opened
Priority: Normal
Assignee: eric sorenson
Category: exported resources
Target version: 
Affected Puppet version: 2.6.4
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to