Issue #1411 has been updated by lludwig.

The use case for this is puppet can be used to replace shell scripts.  People 
who want to use puppet, yet don't want to setup all of the options needed to 
use puppet features (ie puppetd & puppetmaster)

Passing command line options give some flexibility to recipes that 
puppetd/puppetmaster can set might be able to set in the 'node' which couldn't 
be used with just puppet.

----------------------------------------
Feature #1411: puppet command line options for running recipes
http://reductivelabs.com/redmine/issues/show/1411

Author: lludwig
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Keywords: 
Complexity: Unknown
Patch: None
Affected version: 0.24.4


I propose that puppet (not puppetd or puppetmaster) allows command line options 
to set variables within the recipe.  IE.

<pre>
% puppet --var1=foo --var2=bar
</pre>

Which then is accessible within the recipe:

<pre>

case $var1 {
    "foo": ....
}

package { "$var2":
    ensure => installed,
}
</pre>

Any reserved options (ie --help --debug, etc.) cannot be used.


----------------------------------------
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://reductivelabs.com/redmine/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