control-repo/site/profile/manifests/stash.pp

29 lines
621 B
ObjectPascal
Raw Normal View History

2015-08-25 23:51:42 +00:00
class profile::stash {
class { 'java' :
version => present,
2015-10-30 20:50:10 +00:00
} ->
2015-08-25 23:51:42 +00:00
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':
2015-10-30 20:50:10 +00:00
javahome => '/etc/alternatives/java_sdk',
2015-08-25 23:51:42 +00:00
#dev.mode grants a 24-hour license for testing
2015-10-30 20:50:10 +00:00
java_opts => '-Datlassian.dev.mode=true',
2015-08-25 23:51:42 +00:00
}
file { '/opt/puppetlabs/bin/stash_mco.rb':
source => 'puppet:///modules/r10k/stash_mco.rb',
}
}