git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormail_redacted_for_web 2016-03-24 14:07:16 -0700
committermail_redacted_for_web 2016-03-24 14:07:16 -0700
commitb3519dd48cebfcdbf1dea4b42e8857e21e6f05a2 (patch)
treeea493c5fcbe965c7379ea806d83f217388023242
parentff6f140529b646e09fb66952abfbe6fa7b4cc746 (diff)
downloadcontrol-repo-template-b3519dd48cebfcdbf1dea4b42e8857e21e6f05a2.tar.bz2
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.
-rw-r--r--Puppetfile4
-rw-r--r--site/profile/manifests/stash.pp28
2 files changed, 4 insertions, 28 deletions
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',
- }
-
-}