Giter VIP home page Giter VIP logo

bolt-vanagon's Introduction

Bolt Vanagon Project

This project uses vanagon to generate installable packages for Puppet Bolt.

Not all Bolt dependencies are configured here:

  • Dependencies shared between this and other Puppet vanagon projects are loaded from puppet-runtime's bolt-runtime and pe-bolt-server projects.
  • Dependencies specific to Bolt are configured in this project.

Updating rubygem versions

A script has been provided to help updating versions of existing gems. Run as

./generate.rb /path/to/bolt/Gemfile.lock

It will skip gems that are not currently managed (i.e. don't have a rubygem-*.rb file) to avoid adding gems provided by bolt-runtime or that are unneeded. New gems must be manually added, which can be as simple as touch configs/components/rubygem-<newgem>.rb.

Gems that have not yet been mirrored internally will also not be updated. The script will provide the command to run to update them in the release-new HipChat room. For example

Could not update foo, please mirror with: !mirrorsource https://rubygems.org/downloads/foo-0.0.1.gem

After mirroring gems, rerun the script to update their component configs.

Run the project

bundle install
bundle exec build puppet-bolt el-7-x86_64

If the packaging works, it will place a package in the output/ folder.

bolt-vanagon's People

Contributors

adreyer avatar austb avatar bastelfreak avatar beechtom avatar binford2k avatar caseywilliams avatar donoghuc avatar e-gris avatar impl avatar iristyle avatar isaac-hammes avatar jackie-kinsler avatar jpogran avatar justinstoller avatar lucywyman avatar mcdonaldseanp avatar mikaelsmith avatar mwaggett avatar nicklewis avatar puppetlabs-jenkins avatar randomnoun7 avatar rileynewton avatar sarameisburger avatar scbjans avatar speedofdark avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bolt-vanagon's Issues

Add dependencies for network modules

Use Case

When I use bolt with the Cisco IOS module I need to manually install the net-ssh-telnet gem by running /opt/puppetlabs/bolt/bin/gem install --user-install net-ssh-telnet. This isn't a great user experience - it causes friction for new users of the module (as reported by early users of the module). It would help on boarding new users if dependent gems are included in the bolt dependencies meaning their installation is done on behalf of customers.

Describe the Solution You Would Like

It would be great if the following gems could be included in the bolt package.

  • net-ssh-telnet - required by the Cisco IOS module
  • cisco_node_utils - required by the Cisco Nexus module
  • builder - required by the PANOS module

Describe Alternatives You've Considered

Even better, but probably a lot more involved would be to add gem dependencies into module metadata, and automatically download/install the required gems.

A different approach could be to allow installing additional gems into a cache directory in the user's home directory.

Additional Context

This was previously https://tickets.puppetlabs.com/browse/BOLT-1377

Powershell module for Bolt includes a function with restricted characters

Describe the Bug

When loading the the Bolt PowerShell module I receive a warning that it contains functions with restricted charaters. Specifically bolt-inventory-pdb

WARNING: Some imported command names contain one or more of the following restricted characters: # , ( ) {{ }} [ ] & - / \ $ ^ ; : " ' < > | ? @ ` * % + = ~
VERBOSE: The command name 'bolt-inventory-pdb' from the module 'PuppetBolt' contains one or more of the following restricted characters: # , ( ) { } [ ] & - / \ $ ^ ; : " ' < > | ? @ ` * % + = ~
VERBOSE: Importing function 'bolt-inventory-pdb'.

Expected Behavior

No warnings should be thrown

Steps to Reproduce

Import-Module "C:\Program Files\Puppet Labs\Bolt\share\Powershell\Modules\PuppetBolt\PuppetBolt.psd1"

Environment

  • Version1.41.0
  • Platform WIndows 10 x64 1903

Additional Context

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.