Oh, and "test" is a vagrant-windows specific powershell function
On Sep 15, 2013 4:59 PM, "Reid Vandewiele" <reid@puppetlabs.com> wrote:

> Vagrant-windows uses winrm to communicate. Basically you can behave as if
> you've got powershell.
> On Sep 15, 2013 4:56 PM, "Adrien Thebo" <notifications@github.com> wrote:
>
>> In lib/pe_build/cap/run_install/windows.rb:
>>
>> > +
>> > +    root = File.join('\\\\VBOXSVR\\vagrant', PEBuild::WORK_DIR)
>> > +
>> > +    # The installer will be fed to msiexec. That means the File.join() method
>> > +    # is of limited use since it won't execute on the Windows system
>> > +    installer = File.join(root, archive.to_s).gsub('/', '\\')
>> > +
>> > +    cmd = []
>> > +    cmd << 'msiexec' << '/qn' << '/i' << installer
>> > +
>> > +    cmd << "PUPPET_MASTER_SERVER=#{config.master}"
>> > +    cmd << "PUPPET_AGENT_CERTNAME=#{machine.name}"
>> > +
>> > +    argv = cmd.join(' ')
>> > +
>> > +    on_machine(machine, argv)
>>
>> For the sake of my understanding, does vagrant-windows override the SSH
>> communicator or does it supply a new communicator?
>>
>> —
>> Reply to this email directly or view it on GitHub<https://github.com/adrienthebo/vagrant-pe_build/pull/33/files#r6368613>
>> .
>>
>