
Lets make our puppet-lint job happy again. Change-Id: I68b8aca27a00bad3b63ac0b9d447ac347d1d7aad Signed-off-by: Paul Belanger <pabelanger@redhat.com>
43 lines
1008 B
Puppet
43 lines
1008 B
Puppet
#if you want to install app_site with glare support via pip, memcache installed on localhost
|
|
$vhost_name = $::fqdn
|
|
$without_glare = false
|
|
$glare_server = "${vhost_name}:9494"
|
|
$memcache_server = '127.0.0.1:11211'
|
|
$use_ssl = false
|
|
|
|
if $use_ssl {
|
|
$glare_url = "https://${glare_server}"
|
|
}else{
|
|
$glare_url = "http://${glare_server}"
|
|
}
|
|
|
|
#installation with importing assets
|
|
$import_assets = true
|
|
|
|
class { '::apps_site':
|
|
without_glare => $without_glare,
|
|
}
|
|
|
|
class { '::apps_site::plugins::glare':
|
|
use_ssl => $use_ssl,
|
|
memcache_server => $memcache_server,
|
|
vhost_name => $vhost_name,
|
|
}
|
|
|
|
class { '::apps_site::wsgi::apache':
|
|
use_ssl => $use_ssl,
|
|
servername => $vhost_name,
|
|
}
|
|
|
|
class { '::apps_site::catalog':
|
|
import_assets => $import_assets,
|
|
domain => $vhost_name,
|
|
glare_url => $glare_url,
|
|
memcache_server => $memcache_server,
|
|
}
|
|
|
|
Class['::apps_site']
|
|
-> Class['::apps_site::plugins::glare']
|
|
-> Class['::apps_site::wsgi::apache']
|
|
-> Class['::apps_site::catalog']
|