Issue #10538 has been updated by Josh Cooper.
Status changed from Unreviewed to Rejected
Hi Ian,
`puppet apply` without any arguments will use the environment and modulepath
from puppet.conf:
<pre>
$ puppet apply -e 'notice("$settings::modulepath, $settings::environment")'
notice: Scope(Class[main]): /path/to/my/modules, development
</pre>
It does not use the `manifest` property as that is a puppet master setting. And
since a manifest was not specified on the command line, `puppet apply` will
block reading from stdin for a manifest to be entered interactively. This
behavior has been this way for a long time, at least since 2.6.0. If you'd
really like to be able to specify the manifest n the configuration file, I
recommend bringing it up on the puppet users group.
----------------------------------------
Feature #10538: Puppet apply should use settings from puppet.conf in lieu
command line arguments
https://projects.puppetlabs.com/issues/10538
Author: Ian Brandt
Status: Rejected
Priority: Normal
Assignee:
Category: executables
Target version:
Affected Puppet version: 2.7.6
Keywords:
Branch:
It would be great if "puppet apply" would use the environment, modulepath and
manifest settings from puppet.conf instead of having to specify them on the
command line each time.
I know puppet.conf is being read from the default config dir when running
puppet apply because the command fails if I introduce a syntax error in the
file, but if I don't specify a manifest file as a command line argument puppet
apply just sits there without returning or producing any output.
My puppet.conf looks like:
[user]
environment = development
[development]
modulepath = /path/to/my/modules
manifest = /path/to/my/manifests/site.pp
--
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.