Hello,

This is very simple "but hey, it works!" ( c ) ( tm )

You can put something like this on your Vagrantfile

  mypuppet_args =""
  mypuppet_args ="--test" if ARGV[0] == "provision"

and use mypuppet_args as variable.

Alvaro.

On Sat, Sep 19, 2015 at 4:48 AM,  <[email protected]> wrote:
> I am setting up a vagrant testbed for our puppet repo. I want to pass no
> arguments to puppet_args on initial 'vagrant up' but pass '--test' on
> subsequent 'vagrant provision' as I would like to see the diffs of my
> changes. I don't want to see the diffs on initial provisioning because
> there's so much spam there... I just want to be able to verify that the
> changes I do produce the changes I think it should. Is this possible?
>
> Stig
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in violation
> of those guidelines may result in your removal from this mailing list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/d58b9cf6-351d-4f7e-94b0-b870c0ec3dee%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0eytoEdyBgq3BDxMBmwPjmdiC4D1%3DTo5OwnorpOQ2m81vQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to