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

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

Issue 29469621: #1634 - Update file resource syntax in module nginx (Closed)
Patch Set: Created June 20, 2017, 5:02 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/nginx/manifests/init.pp
===================================================================
--- a/modules/nginx/manifests/init.pp
+++ b/modules/nginx/manifests/init.pp
@@ -58,7 +58,7 @@
File {
owner => root,
group => root,
- mode => 0644,
+ mode => '0644',
}
Exec {
@@ -91,7 +91,7 @@
@file {'/etc/nginx/dhparam.pem':
ensure => 'present',
- mode => 0600,
+ mode => '0600',
notify => Service['nginx'],
require => Package['nginx'],
source => 'puppet:///modules/private/dhe_rsa_export.pem',
@@ -122,7 +122,7 @@
if !defined(File["/etc/nginx/${certificate}"]) {
file {"/etc/nginx/${certificate}":
ensure => file,
- mode => 0400,
+ mode => '0400',
notify => Service['nginx'],
before => File["/etc/nginx/sites-available/${domain}"],
require => Package['nginx'],
@@ -133,7 +133,7 @@
if !defined(File["/etc/nginx/${private_key}"]) {
file {"/etc/nginx/${private_key}":
ensure => file,
- mode => 0400,
+ mode => '0400',
notify => Service['nginx'],
before => File["/etc/nginx/sites-available/${domain}"],
require => Package['nginx'],
@@ -236,7 +236,7 @@
Service['nginx'] <~ Class['ssh']
file {'/usr/share/nginx/html/50x.html':
- mode => 0644,
+ mode => '0644',
owner => 'root',
require => Package['nginx'],
source => 'puppet:///modules/nginx/50x.html',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld