Merge "Manage the favicon.ico file for the wiki"
This commit is contained in:
commit
46fe20acc7
@ -45,6 +45,7 @@ class openstack_project::wiki (
|
|||||||
wg_googleanalyticsaccount => $wg_googleanalyticsaccount,
|
wg_googleanalyticsaccount => $wg_googleanalyticsaccount,
|
||||||
wg_sitename => 'OpenStack',
|
wg_sitename => 'OpenStack',
|
||||||
wg_logo => "https://${site_hostname}/w/images/thumb/c/c4/OpenStack_Logo_-_notext.png/30px-OpenStack_Logo_-_notext.png",
|
wg_logo => "https://${site_hostname}/w/images/thumb/c/c4/OpenStack_Logo_-_notext.png/30px-OpenStack_Logo_-_notext.png",
|
||||||
|
favicon_path => '/srv/mediawiki/favicon.ico',
|
||||||
disallow_robots => $disallow_robots,
|
disallow_robots => $disallow_robots,
|
||||||
}
|
}
|
||||||
class { 'memcached':
|
class { 'memcached':
|
||||||
@ -65,6 +66,15 @@ class openstack_project::wiki (
|
|||||||
require => Mysql_backup::Backup_remote['wiki'],
|
require => Mysql_backup::Backup_remote['wiki'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
file { '/srv/mediawiki/favicon.ico':
|
||||||
|
ensure => present,
|
||||||
|
owner => 'root',
|
||||||
|
group => 'root',
|
||||||
|
mode => '0644',
|
||||||
|
source => 'puppet:///modules/openstack_project/status/favicon.ico',
|
||||||
|
require => File['/srv/mediawiki'],
|
||||||
|
}
|
||||||
|
|
||||||
if $bup_user != undef {
|
if $bup_user != undef {
|
||||||
include bup
|
include bup
|
||||||
bup::site { 'ord.rax':
|
bup::site { 'ord.rax':
|
||||||
|
Loading…
Reference in New Issue
Block a user