Overview on how to use RSpec-Puppet.
Per Tim Sharpe, "RSpec-Puppet tests are there to test the behaviour of Puppet when it compiles your manifests into a catalogue of Puppet resources."
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| # All Vagrant configuration is done here. The most common configuration | |
| # options are documented and commented below. For a complete reference, | |
| # please see the online documentation at vagrantup.com. |
Overview on how to use RSpec-Puppet.
Per Tim Sharpe, "RSpec-Puppet tests are there to test the behaviour of Puppet when it compiles your manifests into a catalogue of Puppet resources."
| #! /bin/sh | |
| # If we don't have a HEAD, then this is the first commit and we can't do any of this | |
| git show > /dev/null 2>&1 | |
| if [ $? -ne 0 ]; then exit 0; fi | |
| # first stash any on-disk changes so we're actually validating | |
| # what's staged to be committed and not just what's on disk. | |
| git diff --full-index --binary > /tmp/stash.$$ | |
| git stash -q --keep-index |
This document is to serve as a running tally of how the revised version of the Weblogic module abrader/weblogic can be improved upon to provide:
Each GMS system supports the idea of groups differently.
| Function | GitHub | GitLab | Stash |
|---|---|---|---|
| git_groupteam | Organization -> Team -> Members | Groups -> Team Members | Groups -> Members |
| git_deploy_keys | Support only for repository level deploy keys only | Project deploy key support only | Support for both project and repository level deploy keys |
| git_webhook | Organizational and respository level webhook support | Project webhook support only | Support for repository level webhooks only |
| #! /bin/sh | |
| if (( $# != 1 )); then | |
| echo "Call this script with the name of the environment" | |
| echo "Example: ${0} production" | |
| exit 1 | |
| fi | |
| ENVROOT='/etc/puppetlabs/code/environments' | |
| GITDIR="${ENVROOT}/${1}/.git" |