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

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

Issue 29469597: #1634 - Update file resource syntax in module downloadserver (Closed)
Patch Set: Created June 20, 2017, 4:50 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/downloadserver/manifests/init.pp
===================================================================
--- a/modules/downloadserver/manifests/init.pp
+++ b/modules/downloadserver/manifests/init.pp
@@ -40,7 +40,7 @@
file {'/var/www':
ensure => directory,
owner => hg,
- mode => 0644
+ mode => '0644'
}
exec { "fetch_downloads":
@@ -55,7 +55,7 @@
File {
owner => root,
group => root,
- mode => 0644,
+ mode => '0644',
}
nginx::hostconfig{$domain:
@@ -95,20 +95,20 @@
ensure => directory,
require => User['rsync'],
owner => rsync,
- mode => 0600;
+ mode => '0600';
}
file {'/home/rsync/.ssh/id_rsa':
ensure => file,
owner => rsync,
- mode => 0400,
+ mode => '0400',
source => 'puppet:///modules/private/rsync@downloads.adblockplus.org'
}
file {'/home/rsync/.ssh/id_rsa.pub':
ensure => file,
owner => rsync,
- mode => 0400,
+ mode => '0400',
source => 'puppet:///modules/private/rsync@downloads.adblockplus.org.pub'
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld