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

Unified Diff: modules/nagios/manifests/client.pp

Issue 29469617: #1634 - Update file resource syntax in module nagios (Closed)
Patch Set: For comment number 2 Created June 21, 2017, 9:59 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 | modules/nagios/manifests/server.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/nagios/manifests/client.pp
===================================================================
--- a/modules/nagios/manifests/client.pp
+++ b/modules/nagios/manifests/client.pp
@@ -7,7 +7,7 @@
])
file {'/etc/nagios/nrpe.cfg':
- mode => 644,
+ mode => '0644',
owner => root,
group => root,
content => template('nagios/nrpe.cfg.erb'),
@@ -25,14 +25,14 @@
ensure => present,
owner => root,
group => root,
- mode => 0440,
+ mode => '0440',
source => 'puppet:///modules/nagios/sudoers',
require => Package['sudo'],
}
file {'/usr/lib/nagios/plugins/check_bandwidth':
ensure => present,
- mode => 755,
+ mode => '0755',
owner => root,
group => root,
source => 'puppet:///modules/nagios/check_bandwidth',
@@ -44,7 +44,7 @@
file {'/usr/lib/nagios/plugins/check_connections':
ensure => present,
- mode => 755,
+ mode => '0755',
owner => root,
group => root,
source => 'puppet:///modules/nagios/check_connections',
@@ -53,7 +53,7 @@
file {'/usr/lib/nagios/plugins/check_memory':
ensure => present,
- mode => 755,
+ mode => '0755',
owner => root,
group => root,
source => 'puppet:///modules/nagios/check_memory',
« no previous file with comments | « no previous file | modules/nagios/manifests/server.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld