
Refactor askbot module: - deployment source from git instead of pip - separate init / install / config code - break site config into celeryd / cron / http / log / ssl / static parts - support of Ubuntu Precise 12.04LTS / Trusty 14.04LTS Notice: don't approve this patch until puppet run is enabled on ask.o.o because it breaks the production site. (need to refactor the related system-config ask.pp too) Depends-On: Iaa8488a3d7ab8b121404ac1ac39bd1620a868727 Change-Id: I560c24c3b09e4a8d09b23afa619a4cf361601cbe
14 lines
294 B
Puppet
14 lines
294 B
Puppet
# == Class: askbot::site::static
|
|
# This class describes askbot site static files
|
|
class askbot::site::static (
|
|
$site_root,
|
|
) {
|
|
file { "${site_root}/static":
|
|
ensure => directory,
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => '0755',
|
|
require => File[$site_root],
|
|
}
|
|
}
|