Skip to content

Instantly share code, notes, and snippets.

@glarizza
Last active September 27, 2017 21:40
Show Gist options
  • Save glarizza/2d74c88d5bf4c3b43038c73833ce7088 to your computer and use it in GitHub Desktop.
Save glarizza/2d74c88d5bf4c3b43038c73833ce7088 to your computer and use it in GitHub Desktop.
Puppet stuff
class profile::staging {
class { ‘staging’:
path => ‘/opt/staging’,
}
}
class profile::activemq (
$version = '5.14.3',
) {
include profile::staging
staging::deploy { "apache-activemq-${version}-bin.tar.gz’:
source => "http://archive.apache.org/dist/activemq/apache-activemq/${version}/apache-activemq-${version}-bin.tar.gz”,
target => ‘/opt/‘,
}
}
# Make sure this is in Puppetfile
mod 'staging',
:git => 'https://github.com/voxpupuli/puppet-staging.git',
:ref => 'v2.2.0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment