Commit 2d0b9a3e authored by Pietro's avatar Pietro

change permissions to octals.

parent a41f5cf4
......@@ -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}",
......
......@@ -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",
......
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