Giter Site home page Giter Site logo

puppet-modules's Introduction

puppet-modules

This repo contains a Puppetfile with modules that I use and support. All of my modules and their dependencies are tracked here. Recommend watching this repo to know when to update.

Dependencies

This module utilizes librarian-puppet-simple.

# gem install -V --no-ri --no-rdoc librarian-puppet-simple

Usage

Clone repo

into /var/local/ghoneycutt-modules on your puppet masters.

git clone https://github.com/ghoneycutt/puppet-modules.git /var/local/ghoneycutt-modules

Add it to your modulepath

Prior to 3.6 this meant the following in your puppet.conf

modulepath = /etc/puppet/modules:/whatever/else:/var/local/ghoneycutt-modules

In 3.6 and later

environmentpath = $confdir/environments
basemodulepath = /var/local/ghoneycutt-modules/modules

Get updates

cd /var/local/ghoneycutt-modules
git pull
./update_puppet_modules.sh

Firewall issues with git protocol?

./update_puppet_modules.sh https

This will use sed to replace git: with https: and then revert the Puppetfile after installation. Useful hack if you have firewall issues that prevent git but allow https and do not want to fork the project simply to change the protocol.

puppet-modules's People

Contributors

ajohnstone avatar ghoneycutt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

puppet-modules's Issues

https/git arguments might not work as expected

Hej @ghoneycutt,

while reading through the update_puppet_modules.sh script I think that passing the httpsor git argument will not work as expected. But I haven't tried it out myself. Here are my unverified findings:

In line 56 it would be needed to test for git instead of https.
In the current implementation it looks like passing https would first convert all links to https and than back to git again.

In line 84 the revert functionality does only test for https and therefore wouldn't revert the Puppetfile when git was used.

We don't use this version of the script nor the replace functionalities therefore I can't test or send a PR to fix it.

phile grüße

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.