Now sure what you want to achieve here?!?!? If those are different modules or something you can move that as a variable in facter and then run the puppet agent by overriding the fact at runtime
Something like this FACTER_MYENVPROPERTY="7.3" puppet agent -t FACTER_MYENVPROPERTY="trunk" puppet agent -t FACTER_MYENVPROPERTY="RC" puppet agent -t then you can have conditional code around the global "myenvproperty" as a variable. But please give more info for your particular usecase so we can better help you. -- Nikola On Mon, Jul 08, 2013 at 05:54:22AM -0700, Kamal Ahmed wrote: > Hi, > > how can i parameterize puppet command line run, to be able to use the same > host, and have multiple subversion branches being updated / managed by the > same puppet agent, depending on what i specify on the command line as an > argument > > so i can have 3 subversion branches: > > 1. 7.3 > 2. trunk > 3. RC > > currently each one is hardcoded , what i would like to do is to be able to : > > puppet agent 7.3 --test - to update 7.3 > > puppet agent trunk --test - to update trunk > > puppet agent RC --test - to update trunk > > > Thanks, > -Kamal. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.