[Puppet_for_the_win] Having a lot of trouble setting up the dev environment

28 views
Skip to first unread message

glenn....@gmail.com

unread,
Nov 11, 2013, 7:32:19 AM11/11/13
to puppe...@googlegroups.com
I'd like to do some work on the tasks to build the Puppet for Windows MSI installer but I'm having a lot of trouble setting up the development environment for it.
 
* I've downloaded and extracted the Puppet Win Builder and according to the README there should be a BUILD.CMD. But there's only a BUILD_Example.  So do I need to create my own Build.CMD? Surely I can use the same one as the CI server for Puppet.
 
* I had a play and while I can start the build process (git cloning etc.) it was failing to compile the WIX MSI becuase it was missing the mcollective daemon.bat.  I searched the Puppet and MCollective repos and for the life of me, I can't find this file.  I know it exists somewhere because it's in the Windows PE 3.1.0 MSI
 
* I'm pretty sure I don't understand how config files work.  I can see pe2.5.yaml, pe2.6 and pe2.7 but where are the config files pe3.0 and pe3.1 in puppet_for_the_win (https://github.com/puppetlabs/puppet_for_the_win)?  Can anyone help my understand where these configs are?
 
Side note - I've just seen Josh Cooper's pull request (https://github.com/puppetlabs/puppet_for_the_win/pull/59/files) which changes A LOT of the README file so I'll try those instructions and hopefully I'll get a compile happening but I'm still not sure about the config files.
 
Thanks,
  Glenn.
 

Rob Reynolds

unread,
Nov 11, 2013, 12:58:07 PM11/11/13
to puppe...@googlegroups.com, mcollect...@googlegroups.com
Hi Glenn,

 Yes the puppetwinbuilder probably needs reworked to something that is more usable by the community. It downloads a collection of tools and sometimes it gets finicky about working on a workstation.


If you are wanting to build for PE, you may want to copy one of those existing pe yaml files and set it similar to the one above. The yaml files are no longer used for the automated builds so they will likely be cleaned up with a few example ones left over time.  

As far as the MCO file, I believe it was just removed so that reference will need to be updated and removed from puppet.wxs - https://github.com/puppetlabs/puppet_for_the_win/blob/master/wix/puppet.wxs#L214. At the current time I would consider that part broken and subject to fix.  Cross-posting to mcollective-users to increase awareness about the issue surrounding the removal of the daemon.bat file.



--
You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/d7cd6f30-bbe7-4ddb-8b94-1a94d95a0127%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Rob Reynolds
Developer, Puppet Labs

Join us at PuppetConf 2014September 23-24 in San Francisco

Matthaus Owens

unread,
Nov 11, 2013, 1:08:13 PM11/11/13
to puppe...@googlegroups.com, mcollect...@googlegroups.com

Rob Reynolds

unread,
Nov 11, 2013, 1:27:41 PM11/11/13
to puppe...@googlegroups.com, mcollect...@googlegroups.com
My bad. I guess I read some incorrect information somewheres... :(



Reply all
Reply to author
Forward
0 new messages