From b3519dd48cebfcdbf1dea4b42e8857e21e6f05a2 Mon Sep 17 00:00:00 2001 From: Nick Walker Date: Thu, 24 Mar 2016 14:07:16 -0700 Subject: [PATCH] Move stash profile out to its own 'profile' module Prior to this commit, there was a stash profile in the site dir of this control-repo. After this commit, the profile has been moved to it's own repo where it can be used more generally and not tightly coupled to this repository. --- Puppetfile | 4 ++++ site/profile/manifests/stash.pp | 28 ---------------------------- 2 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 site/profile/manifests/stash.pp diff --git a/Puppetfile b/Puppetfile index 3eaee22..02e2c31 100644 --- a/Puppetfile +++ b/Puppetfile @@ -48,3 +48,7 @@ mod 'rampup_profile_puppetmaster', mod 'rampup_profile_gitlab', :git => 'https://github.com/PuppetLabs-RampUpProgram/RampUp_profile_gitlab', :branch => 'master' + +mod 'rampup_profile_stash', + :git => 'https://github.com/PuppetLabs-RampUpProgram/RampUp_profile_stash', + :branch => 'master' diff --git a/site/profile/manifests/stash.pp b/site/profile/manifests/stash.pp deleted file mode 100644 index 18b0468..0000000 --- a/site/profile/manifests/stash.pp +++ /dev/null @@ -1,28 +0,0 @@ -class profile::stash { - - class { 'java' : - version => present, - } -> - - class { 'postgresql::globals': - manage_package_repo => true, - version => '9.4', - }-> - class { 'postgresql::server': } -> - - postgresql::server::db { 'stash': - user => 'stash', - password => postgresql_password('stash', 'password'), - } -> - - class { 'stash': - javahome => '/etc/alternatives/java_sdk', - #dev.mode grants a 24-hour license for testing - java_opts => '-Datlassian.dev.mode=true', - } - - file { '/opt/puppetlabs/bin/stash_mco.rb': - source => 'puppet:///modules/r10k/stash_mco.rb', - } - -}