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

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

Issue 29469639: #1634 - Update file resource syntax in module trac (Closed)
Patch Set: Created June 20, 2017, 5:14 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/trac/manifests/init.pp
===================================================================
--- a/modules/trac/manifests/init.pp
+++ b/modules/trac/manifests/init.pp
@@ -16,7 +16,7 @@
file {$fcgi_config_dir:
ensure => directory,
owner => 'root',
- mode => 755,
+ mode => '755',
require => Package['nginx'],
}
@@ -138,14 +138,14 @@
ensure => present,
source => 'puppet:///modules/trac/trac.ini',
owner => 'trac',
- mode => 644,
+ mode => '644',
}
file {'/home/trac/robots.txt':
ensure => 'present',
source => 'puppet:///modules/trac/robots.txt',
owner => 'trac',
- mode => 644,
+ mode => '644',
}
file {"trac_performance_fix_py":
@@ -153,7 +153,7 @@
path => '/usr/local/lib/python2.7/dist-packages/trac_performance_fix.py',
source => 'puppet:///modules/trac/trac_performance_fix.py',
owner => 'root',
- mode => 644,
+ mode => '644',
}
@@ -184,7 +184,7 @@
file {"${trac::fcgi_config_dir}/${name}.conf":
ensure => file,
owner => 'root',
- mode => 644,
+ mode => '644',
content => template('trac/fcgi.conf.erb'),
require => File[$trac::fcgi_config_dir],
notify => Service['nginx'],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld