Issue #1411 has been updated by luke. Status changed from Unreviewed to Rejected
You can already do this using facter: <pre> facter_var1=foo facter_var2=bar puppet ~/bin/test.pp </pre> ---------------------------------------- Feature #1411: puppet command line options for running recipes http://reductivelabs.com/redmine/issues/show/1411 Author: lludwig Status: Rejected 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 -~----------~----~----~----~------~----~------~--~---
