Issue #7917 has been updated by R.I. Pienaar.

Keen to see a solution found for this.  I am not sure if its viable but could 
the apply application just by default not write it as now but only write the 
classes file when specifically given a path in the config file or command line?

Failing that the extra command line option Deepak propose would be fine, rather 
have a solution that none at all.  At the moment I had to write a custom 
application to do this.
----------------------------------------
Bug #7917: Puppet apply runmode should write classes.txt file
https://projects.puppetlabs.com/issues/7917

Author: Jeff McCune
Status: Needs Decision
Priority: Normal
Assignee: 
Category: settings
Target version: 
Affected Puppet version: 2.7.0
Keywords: apply classes.txt classes mcollective agent puppet.conf conf main
Branch: https://github.com/puppetlabs/puppet/pull/35


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

At least one community member has requested this feature.  (See comments below).

This ticket is important for mcollective integration with "puppet apply."


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