Subject: Re: [Puppet Users] manifest for files executable on windows
Btw, I found this link
http://www.wireshark.org/docs/wsug_html_chunked/ChBuildInstallWinInstall.html
"/S runs the installer or uninstaller silently with default values.
Please note: The silent installer won't install WinPCap!"
So you will need to pass /S in your exec, but you will also need to
install winpcap separately. I'm not sure why wireshark doesn't install
winpcap in silent mode. Seems odd.
HTH,
Josh
On Mon, Jul 9, 2012 at 4:56 PM, Josh Cooper <jo...@puppetlabs.com> wrote:
> You will have to google to see how to install wireshark silently. This
> isn't a puppet issue, it's a wireshark installer issue. Figure out
> whatever the argument is, verify you can install wireshark from the
> command line silently, and then tell puppet to use the same
> argument(s).
>
> Josh
>
> On Mon, Jul 9, 2012 at 4:33 PM, Viktoriya Tochilnikova <vt...@yahoo.com> wrote:
>> I have no idea what args I need to specify. Can you be more detailed? Tell
>> me exactly what I need to put into my 'exec' block to make this installer
>> work automatically. Many Thanks!!!!
>> To: Viktoriya Tochilnikova <vt...@yahoo.com>
>> Sent: Monday, July 9, 2012 4:28 PM
>>
>> Subject: Re: [Puppet Users] manifest for files executable on windows
>>
>> This is an issue with the wireshark installer. You'll need to specify
>> the appropriate set of arguments to install wireshark silently.
>>
>> On Mon, Jul 9, 2012 at 4:15 PM, Viktoriya Tochilnikova <vt...@yahoo.com>
>> wrote:
>>> I got it to work, BUT installation of the wireshark is NOT happening
>>> automatically - the agent is popping up the first screen of the installer.
>>> WHY? I am looking for the automated install, without user intervention.
>>> Thanks.
>>>
>>> Viktoriya
>>>
>>>
>>> ________________________________
>>> From: Josh Cooper <jo...@puppetlabs.com>
>>> To: Viktoriya Tochilnikova <vt...@yahoo.com>
>>> Sent: Monday, July 9, 2012 4:03 PM
>>>
>>> Subject: Re: [Puppet Users] manifest for files executable on windows
>>>
>>> Hi Viktoriya,
>>>
>>> On Mon, Jul 9, 2012 at 3:38 PM, Viktoriya Tochilnikova <vt...@yahoo.com>
>>> wrote:
>>>> C:\Windows\system32>puppet agent --test --server qalab2.pertino.com
>>>> err: Could not request certificate: The certificate retrieved from the
>>>> master do
>>>> es not match the agent's private key.
>>>> Certificate fingerprint: 7D:4B:96:E0:FD:80:30:E5:94:AC:77:0E:39:D5:EF:28
>>>> To fix this, remove the certificate from both the master and the agent
>>>> and
>>>> then
>>>> start a puppet run, which will automatically regenerate a certficate.
>>>> On the master:
>>>> puppet cert clean homebasic32.pertino.com
>>>> On the agent:
>>>> rm -f
>>>> C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/homebasic32.pertino.com.p
>>>> em
>>>> puppet agent -t
>>>> Exiting; failed to retrieve certificate and waitforcert is disabled
>>>>
>>>> Viktoriya
>>>>
>>>>
>>>
>>> See http://docs.puppetlabs.com/windows/running.html#security-context.
>>> Basically, the master has already issued a certificate for that
>>> agent's name (the agent running in a non-elevated security context).
>>> You'll need to follow the instructions in the error message to reset
>>> the ssl state.
>>>> To: Josh Cooper <jo...@puppetlabs.com>
>>>> Sent: Monday, July 9, 2012 3:35 PM
>>>>
>>>> Subject: Re: [Puppet Users] manifest for files executable on windows
>>>>
>>>> If I run an agent with Admin privileges, I am getting a cert related
>>>> error.
>>>> It's asking to remove certs on master and agent and generate them again.
>>>> Is
>>>> this safe? Is this expected? Why do certificates work in not-Admin mode?
>>>>
>>>> Thanks,
>>>> Viktoriya
>>>>
>>>>
>>>> ________________________________
>>>> From: Josh Cooper <jo...@puppetlabs.com>
>>>> To: Viktoriya Tochilnikova <vt...@yahoo.com>
>>>> Sent: Monday, July 9, 2012 3:24 PM
>>>>
>>>> Subject: Re: [Puppet Users] manifest for files executable on windows
>>>>
>>>> On Mon, Jul 9, 2012 at 3:16 PM, Viktoriya Tochilnikova <vt...@yahoo.com>
>>>> wrote:
>>>>> I got an error with/without logoutput:
>>>>>
>>>>> C:\Program Files\Puppet Labs\Puppet Enterprise\bin>puppet agent --test
>>>>> --server
>>>>> qalab2.pertino.com
>>>>> info: Caching catalog for homebasic32.pertino.com
>>>>> info: Applying configuration version '1341871910'
>>>>> notice:
>>>>> /Stage[main]//File[C:\Users\vita\Downloads\Wireshark-win32-1.8.0.exe]/en
>>>>> sure: defined content as '{md5}1e791b80e0693e174c6666930b0728a9'
>>>>> err:
>>>>>
>>>>>
>>>>>
>>>>> /Stage[main]//Exec[C:\Users\vita\Downloads\Wireshark-win32-1.8.0.exe]/retur
>>>>> ns: change from notrun to 0 failed: CreateProcess() failed: The
>>>>> requested
>>>>> operat
>>>>> ion requires elevation.
>>>>> notice: Finished catalog run in 5.16 seconds
>>>>> What is wrong now?
>>>>>
>>>>
>>>> On UAC systems, you need to "run as administrator". See
>>>>
>>>> http://docs.puppetlabs.com/windows/running.html#running-other-puppet-tasks