aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/client.pp2
-rw-r--r--manifests/server.pp10
2 files changed, 6 insertions, 6 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index c9193c9..d27b556 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -74,7 +74,7 @@ class backupninja::client {
true: {
file { "${backupninja::client::real_keydestination}":
ensure => directory,
- mode => 700, owner => $key_owner, group => $key_group,
+ mode => 0700, owner => $key_owner, group => $key_group,
}
file { "${backupninja::client::real_keydestination}/id_${key_type}":
source => "${key_store}/${real_user}_id_${key_type}",
diff --git a/manifests/server.pp b/manifests/server.pp
index a4f09a4..c04137a 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -15,12 +15,12 @@ class backupninja::server {
group { "backupninjas":
ensure => "present",
- gid => 700
+ gid => 0700
}
file { "$real_backupdir":
ensure => "directory",
- mode => 710, owner => root, group => "backupninjas"
+ mode => 0710, owner => root, group => "backupninjas"
}
User <<| tag == "backupninja-$real_backupserver_tag" |>>
@@ -66,7 +66,7 @@ class backupninja::server {
@@file { "$real_dir":
ensure => directory,
- mode => 750, owner => $user, group => 0,
+ mode => 0750, owner => $user, group => 0,
tag => "$real_backuptag",
}
case $installuser {
@@ -75,7 +75,7 @@ class backupninja::server {
true: {
@@file { "${real_ssh_dir}":
ensure => directory,
- mode => 700, owner => $user, group => 0,
+ mode => 0700, owner => $user, group => 0,
require => File["$real_dir"],
tag => "$real_backuptag",
}
@@ -83,7 +83,7 @@ class backupninja::server {
}
@@file { "${real_ssh_dir}/${real_authorized_keys_file}":
ensure => present,
- mode => 644, owner => 0, group => 0,
+ mode => 0644, owner => 0, group => 0,
source => "$real_backupkeys/${user}_id_rsa.pub",
require => File["${real_ssh_dir}"],
tag => "$real_backuptag",