git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/site/profile/manifests/stash.pp
diff options
context:
space:
mode:
authormail_redacted_for_web 2015-11-24 11:16:51 -0800
committermail_redacted_for_web 2015-11-24 11:16:51 -0800
commitafc9a358f30c51029d7a37122d4adfcc2add88a6 (patch)
tree655439e13d1cee28e254d6d92da6f13c4c5aa670 /site/profile/manifests/stash.pp
parent869a5c3aa974b53e2f7f4c8fd8ab01fab0420f6d (diff)
parent7e40513c531d98015101367baf5d480d7ea6d2e3 (diff)
downloadcontrol-repo-template-afc9a358f30c51029d7a37122d4adfcc2add88a6.tar.bz2
Merge branch 'production' of https://github.com/npwalker/control-repo into merge_npwalker_control_repo
Diffstat (limited to 'site/profile/manifests/stash.pp')
-rw-r--r--site/profile/manifests/stash.pp28
1 files changed, 28 insertions, 0 deletions
diff --git a/site/profile/manifests/stash.pp b/site/profile/manifests/stash.pp
new file mode 100644
index 0000000..18b0468
--- /dev/null
+++ b/site/profile/manifests/stash.pp
@@ -0,0 +1,28 @@
+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',
+ }
+
+}