Issue #7917 has been updated by Daniel Pittman.

Status changed from In Topic Branch Pending Merge to Code Insufficient

Puppet apply can be used for any number of things, including one-shot 
modifications to a system.  Dropping all the data from regular runs just 
because someone ran something through it seems risky: your database server 
would stop being a database server until the next full run, which is probably 
not what you want.

I am pretty sure this is an unresolvable problem, because we have a single 
piece of data (classes.txt) that is trying to represent something much more 
dynamic, the set of applicable classes (or, perhaps, successfully applied 
classes) of the machine at a point in time.

Making this optional, or writing to a separate file, would be much more 
acceptable.
----------------------------------------
Bug #7917: Puppet apply runmode should write classes.txt file
https://projects.puppetlabs.com/issues/7917

Author: Jeff McCune
Status: Code Insufficient
Priority: Normal
Assignee: 
Category: settings
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


# Overview #
The classes.txt file is only written when running Puppet in the agent run mode.

It would be useful for integration with MCollective filtering if this
file were also written when running Puppet the stand alone apply run
mode.

<pre>
# The file in which puppet agent stores a list of the classes
# associated with the retrieved configuration.  Can be loaded in
# the separate `puppet` executable using the `--loadclasses`
# option.
# The default value is '$statedir/classes.txt'.
classfile = /var/lib/puppet/state/classes.txt
</pre>

This would be useful with MCollective's configuration setting of:

    classesfile = /var/lib/puppet/state/classes.txt

# Impact Data #

This is just my own personal observation.  Nobody has actually asked
for this as far as I know.


-- 
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