Skip to content

mmornati/mcollective-windows-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mcollective-windows-builder

Builder script to create a Windows Package for MCollective project (http://docs.puppetlabs.com/mcollective/).

This builder requirs:

Configuration

Before to start your build you should check if all parameters in the Rakefile are correct for your build environment. All the parameters are at the beginning of the file:

# set constant values:
LIB_FOLDER = File.expand_path('./lib')
INSTALL_FOLDER = File.expand_path('./install')
ISCC = "C:/Programmi/Inno Setup 5/iscc.exe"
ISS_FILE = "#{INSTALL_FOLDER}/Setup.iss"

APP_TITLE = "Marionette Collective"
EXE_NAME = "mcollective"
EXE_BASENAME = "mcollective"
APP_VERSION = "2.3.2"

The two most important variables are:

  • ISCC: with the path to the InnoSetup exe file
  • APP_VERSION: With the version you are trying to build

Prepare the build

  • You have to download the Mcollective sources you need to package for windows (http://downloads.puppetlabs.com/mcollective/).
  • Then extract the tgz package download in the desired location.
  • Copy the Rakefile into the sources root folder
  • Copy the install_gems.bat file into /bin subfolder
  • Execute Rake

Operation Executed during the build

The build procedure will then start and it accomplishes this tasks:

  • Download all required gem dependencies
  • Create an InnoSetup build script
  • Execute InnoSetup packaging MCollective sources and gems

About

Builder script to create a Windows Package for MCollective project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published