Hi Rob,

The application event log does not have any information with respect to 
Puppet. There is no log named Puppet. Also when I run the agent from the 
command I get the following message:
"cannot load such file -- facter".
 I have attached the screenshot.

Regards,
Deepak.

On Tuesday, 9 June 2015 00:54:10 UTC+5:30, Rob Reynolds wrote:
>
>
>
> On Mon, Jun 8, 2015 at 2:00 AM, Puppeteer <[email protected] 
> <javascript:>> wrote:
>
>> Hi Melissa,
>>
>> Thanks for you response. That is something that I will look into (pretty 
>> new to all these things). 
>>
>> I got the puppet_for_the_win working by modifying foss-stable.yaml by 
>> including the following lines from foss-4.0-x86.yaml:
>>   mcollective:
>>     :ref: 2.8.1
>>     :repo: git://github.com/puppetlabs/marionette-collective.git
>>
>> After including the above lines I was able to build the MSI and install 
>> it. However the Puppet service does not start. I have attached the message 
>> I get on starting the service. I did not find any logs in the 
>> "c:\ProgramData\puppet" folder or in the event viewer. Any idea why the 
>> service is not starting?
>>
>
> From the image, I would suggest attempting to run puppet by hand and see 
> what you get. It's likely something is missing that Puppet expects to be 
> there for the service.
>
> You can also look in the Application Event Log to see what Puppet may have 
> failed with.
>  
>
>>
>> Regards,
>> Deepak.
>>
>> On Thursday, 4 June 2015 22:04:22 UTC+5:30, Melissa Stone wrote:
>>>
>>>
>>>
>>> On Thu, Jun 4, 2015 at 1:05 AM, Puppeteer <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> I want to create a custom MSI for the puppet agent. Can someone guide 
>>>> me on this. 
>>>> I tried using puppetlabs/puppet_for_the_win but was not successful.
>>>>
>>>
>>> Hey!
>>>
>>> Unfortunately, we have yet to streamline this process for external use. 
>>> You can still roll your own native facter build though. You'll want to use 
>>> the script at 
>>> https://github.com/puppetlabs/facter/blob/master/contrib/facter.ps1. 
>>> You need to run the script on probably a windows 2012 box (64 bit), and I 
>>> would strongly suggest reviewing the script to ensure that we don't do 
>>> anything that's going to mess you up. It's meant to be run on a disposable 
>>> box.
>>>
>>> After that builds, we collect all the built bits and library 
>>> dependencies into the zip archive that the automation in puppet_for_the_win 
>>> looks for. We don't have that automation in a public space, but here's a 
>>> summary of what goes into that archive. This assumes you're building 64 
>>> bit, so if you're building for a 32 bit machine, you'll have to modify it.
>>>
>>> # Move all necessary dll's into facter bindir
>>> "cp /cygdrive/c/tools/mingw64/bin/libgcc_s_seh-1.dll 
>>> /cygdrive/c/tools/mingw64/bin/libstdc++-6.dll 
>>> /cygdrive/c/tools/mingw64/bin/libwinpthread-1.dll 
>>> /home/Administrator/facter/release/bin/"
>>>
>>> # Format everything to prepare to archive it
>>> "mkdir -p /home/Administrator/archive/lib ; cp -r 
>>> /home/Administrator/facter/release/bin /home/Administrator/facter/lib/inc 
>>> /home/Administrator/archive/ ; cp 
>>> /home/Administrator/facter/release/lib/facter.rb 
>>> /home/Administrator/archive/lib/"
>>>
>>> # Zip up the built archives
>>> "7za.exe a -r -tzip facter.zip 
>>> 'C:\\cygwin64\\home\\Administrator\\archive\\*'\"
>>>
>>> Once you have that archive, you can modify the config file you're using 
>>> to point to where that archive can be found. That *should* let the 
>>> automation in puppet_for_the_win work.
>>>
>>> Let me know how that goes!
>>>  
>>>
>>>>
>>>> I used the command:
>>>> rake windows:build AGENT_VERSION_STRING=1.0.0 CONFIG=foss-4.1-x86.yaml
>>>>
>>>> I get the following error: 
>>>>
>>>> curl -O 
>>>> http://builds.puppetlabs.lan/facter/9586d5cd1ee6c18e88506a8f4a8b12f2ee51
>>>> d154/artifacts/windows//facter-2.4.3-1074-g9586d5c-x86.zip
>>>>
>>>> curl: (6) Couldn't resolve host 'builds.puppetlabs.lan'
>>>> rake aborted!
>>>> Command failed with status (6): [curl -O 
>>>> http://builds.puppetlabs.lan/facte...]
>>>>
>>>> Tasks: TOP => windows:msi => windows:wixobj => windows:wxs => 
>>>> windows:stage => w
>>>> indows:checkout => windows:clone
>>>> (See full trace by running task with --trace)
>>>>
>>>> Thanks.
>>>>
>>>> -- 
>>>> 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 [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/puppet-users/d759891a-e50b-4553-a36f-3416f39a88c7%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/puppet-users/d759891a-e50b-4553-a36f-3416f39a88c7%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Melissa Stone
>>> Release Engineer, Puppet Labs
>>> --------------------------------------------------
>>>
>>> *PuppetConf 2015 <http://2015.puppetconf.com/> is coming to Portland, 
>>> Oregon! Join us October 5-9.*
>>> *Register now to take advantage of the Early Adopter discount 
>>> <https://www.eventbrite.com/e/puppetconf-2015-october-5-9-tickets-13115894995?discount=EarlyAdopter>
>>>  *
>>> *—**save $349!*
>>>  
>>  -- 
>> 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 [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/puppet-users/1b766cb5-7056-4052-b498-9918c54b4f85%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/puppet-users/1b766cb5-7056-4052-b498-9918c54b4f85%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Rob Reynolds
> Developer, Puppet Labs
>
> *PuppetConf 2015 <http://2015.puppetconf.com/> is coming to Portland, 
> Oregon! Join us October 5-9.*
> *Register now to take advantage of the Early Adopter discount 
> <https://www.eventbrite.com/e/puppetconf-2015-october-5-9-tickets-13115894995?discount=EarlyAdopter>
>  *
> *—**save $349!*
>  

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/fa0f4fb9-e8cc-45fc-ab70-6f81e09f7ac9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to