aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/server.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index 157827a..ea7d327 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -113,7 +113,7 @@ class backupninja::server {
}
}
else {
- File <| title == "$real_dir" |> {
+ File["$real_dir"] {
tag +> "$real_backuptag",
}
}
@@ -130,7 +130,7 @@ class backupninja::server {
}
}
else {
- File <| title == "$real_ssh_dir" |> {
+ File["$real_ssh_dir"] {
tag +> "$real_backuptag",
}
}
@@ -148,7 +148,7 @@ class backupninja::server {
}
}
else {
- File <| title == "${real_ssh_dir}/${real_authorized_keys_file}" |> {
+ File["${real_ssh_dir}/${real_authorized_keys_file}"] {
tag +> "$real_backuptag",
}
}
@@ -165,7 +165,7 @@ class backupninja::server {
}
}
else {
- Ssh_authorized_key <| title == "$real_user" |> {
+ Ssh_authorized_key["$real_user"] {
tag +> "$real_backuptag",
}
}
@@ -187,7 +187,7 @@ class backupninja::server {
}
}
else {
- User <| title == "$real_user" |> {
+ User["$real_user"] {
tag +> "$real_backuptag",
}
}
@@ -208,7 +208,7 @@ class backupninja::server {
}
}
else {
- User <| title == "$real_user" |> {
+ User["$real_user"] {
tag +> "$real_backuptag",
}
}