diff options
author | mail_redacted_for_web | 2015-08-25 16:51:42 -0700 |
---|---|---|
committer | mail_redacted_for_web | 2015-08-25 16:51:42 -0700 |
commit | 04f3239514f39333e91b88e27908eea916ecfa75 (patch) | |
tree | c8cf24fcad644281e386129889efff0ac971b280 /site | |
parent | 01baf7695aa63041d6639e9422d86ad28e902a90 (diff) | |
download | control-repo-template-04f3239514f39333e91b88e27908eea916ecfa75.tar.bz2 |
add modules for stash and a profile
Diffstat (limited to 'site')
-rw-r--r-- | site/profile/manifests/stash.pp | 28 |
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..b3298e4 --- /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', + } + +} |