Giter Club home page Giter Club logo

pe-stash-vagrant-stack's Introduction

PE Stash Vagrant Stack

The stash-server VM is setup to install stash in developer mode which is a 24-hour license. If you remove that flag you have to get an evaluation license key which will last 30 days. You may want to do that if you have something long standing to test.

http://blogs.atlassian.com/2014/11/automating-stash-deployments/

You can reach the Stash UI on port 7990

username: admin password: admin

The goal of the stack is to facilitate testing and understanding of how to use setup r10k with stash.

The stack automates installation of the webhook on the puppet-master with some puppet code in site.pp. It also places the script that should be run from the stash post receive hook in /opt/puppet/sbin on the stash server.

If you are attempting to replicate this setup here are the steps that you'll need to complete that this stack takes care of for you.

  1. Copy this script from the r10k module onto the stash server.
  1. You'll want to classify your master node with the following code

The final steps to setup the post receive hook are manual.

  1. Install the following stash plugin
  1. Make sure your ssh key is setup for root on the puppet master and you've configured it for your stash user
  1. Configure a post-receive hook on your control repo
  1. You can confirm it all works by tailing the webhook logs while pushing a change to your control repo
  • tail -f -n 0 /var/log/webhook/*.log

Other Notes

This is based on the puppet-debugging-kit.

https://github.com/Sharpie/puppet-debugging-kit

pe-stash-vagrant-stack's People

Contributors

mootpt avatar npwalker avatar sharpie avatar tylerpace avatar

Stargazers

 avatar  avatar  avatar  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.