Last active
September 27, 2017 21:40
-
-
Save glarizza/2d74c88d5bf4c3b43038c73833ce7088 to your computer and use it in GitHub Desktop.
Puppet stuff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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