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

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

Issue 29469594: #1634 - Update file resource syntax in module discourse (Closed)
Patch Set: For comment number 2 Created June 21, 2017, 10:07 a.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/discourse/manifests/init.pp
===================================================================
--- a/modules/discourse/manifests/init.pp
+++ b/modules/discourse/manifests/init.pp
@@ -71,21 +71,21 @@
file {'/opt/discourse':
ensure => directory,
- mode => 755,
+ mode => '0755',
owner => discourse,
group => www-data
}
file {['/opt/discourse/tmp', '/opt/discourse/tmp/pids']:
ensure => directory,
- mode => 755,
+ mode => '0755',
owner => discourse,
group => www-data,
require => Exec['fetch-discourse']
}
file {'/opt/discourse/config/discourse.conf':
- mode => 600,
+ mode => '0600',
owner => discourse,
group => www-data,
content => template('discourse/discourse.conf.erb'),
@@ -94,7 +94,7 @@
}
file {'/usr/local/bin/init-discourse':
- mode => 0755,
+ mode => '0755',
owner => root,
group => root,
source => 'puppet:///modules/discourse/init-discourse'
@@ -113,7 +113,7 @@
ensure => present,
owner => root,
group => root,
- mode => 0440,
+ mode => '0440',
source => 'puppet:///modules/discourse/sudoers',
require => User['discourse']
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld