projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
godard: enable persistent journald storage. rt#7049
[mirror/dsa-puppet.git]
/
modules
/
roles
/
manifests
/
dgit_browse.pp
diff --git
a/modules/roles/manifests/dgit_browse.pp
b/modules/roles/manifests/dgit_browse.pp
index
9c7457c
..
72ceebd
100644
(file)
--- a/
modules/roles/manifests/dgit_browse.pp
+++ b/
modules/roles/manifests/dgit_browse.pp
@@
-1,16
+1,19
@@
class roles::dgit_browse {
class roles::dgit_browse {
- #ssl::service { 'browse.dgit.debian.org':
- # notify => Service['apache2'],
- #}
+ ssl::service { 'browse.dgit.debian.org':
+ notify => Exec['service apache2 reload'],
+ key => true,
+ }
package { 'cgit': ensure => installed, }
package { 'cgit': ensure => installed, }
+ package { 'python-pygments': ensure => installed, }
+ package { 'python-chardet': ensure => installed, }
file { '/etc/cgitrc':
source => 'puppet:///modules/roles/dgit/cgitrc',
}
file { '/etc/apache2/conf-enabled/cgit.conf':
ensure => absent,
file { '/etc/cgitrc':
source => 'puppet:///modules/roles/dgit/cgitrc',
}
file { '/etc/apache2/conf-enabled/cgit.conf':
ensure => absent,
- notify
=> Service['apache2
'],
+ notify
=> Exec['service apache2 reload
'],
}
apache2::site { '010-browse.dgit.debian.org':
}
apache2::site { '010-browse.dgit.debian.org':