Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/trac/manifests/init.pp

Issue 29336585: Issue 3667 - Introduce robots.txt for Trac setups (Closed)
Patch Set: Created Feb. 18, 2016, 1:08 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/trac/files/robots.txt ('k') | modules/trac/templates/fcgi.conf.erb » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/trac/manifests/init.pp
diff --git a/modules/trac/manifests/init.pp b/modules/trac/manifests/init.pp
index c6c04b5e91cfb0aa2ded9f893cb698f3c644250f..7e4eb5ce3322ab712e752361cfcd81492250e377 100644
--- a/modules/trac/manifests/init.pp
+++ b/modules/trac/manifests/init.pp
@@ -127,6 +127,13 @@ class trac(
mode => 644,
}
+ file {'/home/trac/robots.txt':
+ ensure => 'present',
+ source => 'puppet:///modules/trac/robots.txt',
+ owner => 'trac',
+ mode => 644,
+ }
+
define instance (
$config = 'trac/trac.ini.erb',
$description = 'Issue Tracker',
« no previous file with comments | « modules/trac/files/robots.txt ('k') | modules/trac/templates/fcgi.conf.erb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld