Git Product home page Git Product logo

puppet-runtime's Introduction

puppet-runtime

The puppet-runtime exists to build vendored components for Puppet projects and distribute them as a tarball for reuse. Runtime projects are built with vanagon, a packaging utility.

Available components include curl, openssl, ruby, and more - see the configs/components directory for a full list. Individual projects in the configs/projects directory include subsets of these components. These projects may be built for platforms listed in the configs/platforms directory.

Build instructions

To build a puppet-runtime project:

  • Ruby and bundler must be installed
  • You must have root ssh access to a VM to build on

First, install the gem dependencies:

$ bundle install

Next, if you are building on infrastructure outside of Puppet, you will need to modify some package dependency names in the configs directory. Any references to pl-gcc, pl-cmake, pl-yaml-cpp, etc. in these files will need to be changed to refer to equivalent installable packages on your target platform. In many cases, you can drop the pl- prefix and ensure that CXX or CC environment variables are what they should be.

Next, determine which of the runtime projects in this repository you need to build. This will depend on the target repository that consumes your finished runtime. In some cases, there is only one runtime project available (runtime-pdk, for example, is the only runtime for the PDK). In other cases, the runtime project to build may depend on the branch of the target repository that consumes the runtime. For example, puppet-agent is developed on multiple git branches; You should select the runtime project that matches the target branch (for instance, you would build agent-runtime-5.3.x for use with puppet-agent's 5.3.x branch). See the configs/projects directory for a full list of options.

You can build the project using vanagon like this:

$ bundle exec build <project-name> <platform> <target-vm>

Where:

  • project-name is the name of the runtime project to build (from configs/projects)
  • platform is the name of a platform supported by vanagon and configured in the configs/platforms directory
  • target-vm is the hostname of the VM you will build on. You must have root ssh access configured for this host, and it must match the target platform.

puppet-runtime's People

Contributors

ariaxli avatar beechtom avatar bmjen avatar bobosilavictor avatar caseywilliams avatar ciprianbadescu avatar cthorn42 avatar donoghuc avatar dorin-pleava avatar ekinanp avatar gabrielnagy avatar geoffnichols avatar gimmyxd avatar iristyle avatar joshcooper avatar luchihoratiu avatar lucywyman avatar mcdonaldseanp avatar mhashizume avatar mihaibuzgau avatar mikaelsmith avatar nicklewis avatar nmburgan avatar rodjek avatar sarameisburger avatar scotje avatar scottgarman avatar sebastian-miclea avatar speedofdark avatar tvpartytonight avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.