Commit 1778b850 authored by chris's avatar chris

manifests: File mode must be string

parent 5268a87c
......@@ -12,6 +12,6 @@ define backupninja::cron(
content => template('backupninja/backupninja.cron.erb'),
owner => root,
group => root,
mode => 0644
mode => '0644'
}
}
......@@ -135,7 +135,7 @@ define backupninja::duplicity( $order = 90,
content => template('backupninja/dup.conf.erb'),
owner => root,
group => root,
mode => 0600,
mode => '0600',
require => File["${backupninja::configdir}"]
}
......
......@@ -28,7 +28,7 @@ define backupninja::labelmount($order = 10,
content => template('backupninja/labelmount.conf.erb'),
owner => root,
group => root,
mode => 0600,
mode => '0600',
require => File["${backupninja::configdir}"]
}
......@@ -37,7 +37,7 @@ define backupninja::labelmount($order = 10,
content => template('backupninja/umount.conf.erb'),
owner => root,
group => root,
mode => 0600,
mode => '0600',
require => File["${backupninja::configdir}"]
}
......@@ -48,7 +48,7 @@ define backupninja::labelmount($order = 10,
content => template('backupninja/labelmount.handler'),
owner => root,
group => root,
mode => 0755,
mode => '0755',
require => Package[backupninja]
}
......@@ -56,7 +56,7 @@ define backupninja::labelmount($order = 10,
content => template('backupninja/umount.handler'),
owner => root,
group => root,
mode => 0755,
mode => '0755',
require => Package[backupninja]
}
}
......@@ -37,7 +37,7 @@ define backupninja::maildir(
content => template('backupninja/maildir.conf.erb'),
owner => root,
group => root,
mode => 0600,
mode => '0600',
require => File["${backupninja::configdir}"]
}
}
......@@ -32,7 +32,7 @@ define backupninja::mysql(
content => template('backupninja/mysql.conf.erb'),
owner => root,
group => root,
mode => 0600,
mode => '0600',
require => File["${backupninja::configdir}"]
}
}
......@@ -21,7 +21,7 @@ define backupninja::pgsql(
content => template('backupninja/pgsql.conf.erb'),
owner => root,
group => root,
mode => 0600,
mode => '0600',
require => File["${backupninja::configdir}"]
}
}
......@@ -97,7 +97,7 @@ define backupninja::rdiff( $order = 90,
content => template('backupninja/rdiff.conf.erb'),
owner => root,
group => root,
mode => 0600,
mode => '0600',
require => File["${backupninja::configdir}"]
}
......
......@@ -117,7 +117,7 @@ define backupninja::rsync( $order = 90,
content => template('backupninja/rsync.conf.erb'),
owner => root,
group => root,
mode => 0600,
mode => '0600',
require => File["${backupninja::configdir}"]
}
......
......@@ -21,7 +21,7 @@ class backupninja::server (
file { $backupdir:
ensure => $backupdir_ensure,
mode => 0710, owner => root, group => "backupninjas",
mode => '0710', owner => root, group => "backupninjas",
require => $backupdir_ensure ? {
'directory' => undef,
default => File["$backupdir_ensure"],
......@@ -37,7 +37,7 @@ class backupninja::server (
file { "/usr/local/bin/checkbackups":
ensure => "present",
source => "puppet:///modules/backupninja/checkbackups.pl",
mode => 0755, owner => root, group => root,
mode => '0755', owner => root, group => root,
}
cron { checkbackups:
......@@ -80,7 +80,7 @@ class backupninja::server (
if !defined(File["$dir"]) {
@@file { "$dir":
ensure => directory,
mode => 0750, owner => $user, group => 0,
mode => '0750', owner => $user, group => 0,
tag => "$backuptag",
}
}
......@@ -91,7 +91,7 @@ class backupninja::server (
if !defined(File["$ssh_dir"]) {
@@file { "${ssh_dir}":
ensure => directory,
mode => 0700, owner => $user, group => 0,
mode => '0700', owner => $user, group => 0,
require => [User[$user], File["$dir"]],
tag => "$backuptag",
}
......@@ -116,7 +116,7 @@ class backupninja::server (
if !defined(File["${ssh_dir}/${authorized_keys_file}"]) {
@@file { "${ssh_dir}/${authorized_keys_file}":
ensure => present,
mode => 0644, owner => 0, group => 0,
mode => '0644', owner => 0, group => 0,
source => "${backupkeys}/${user}_id_${keytype}.pub",
require => File["${ssh_dir}"],
tag => "$backuptag",
......
......@@ -19,7 +19,7 @@ define backupninja::sh($order = 50,
content => template('backupninja/sh.conf.erb'),
owner => root,
group => root,
mode => 0600,
mode => '0600',
require => File["${backupninja::configdir}"]
}
}
......@@ -22,7 +22,7 @@ define backupninja::svn($order = 20,
content => template('backupninja/svn.conf.erb'),
owner => root,
group => root,
mode => 0600,
mode => '0600',
require => File["${backupninja::configdir}"]
}
}
......@@ -39,7 +39,7 @@ define backupninja::sys($order = 30,
content => template('backupninja/sys.conf.erb'),
owner => root,
group => root,
mode => 0600,
mode => '0600',
require => File["${backupninja::configdir}"]
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment