diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-06-05 16:16:54 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-06-05 16:16:54 -0300 |
commit | b17704f7cd7897d100d4ebcf6f068858d626e4a5 (patch) | |
tree | 69808b829d245a008c2efdf36618b20b4fc1c36c | |
parent | 84bf61e693eceecefb9aa3dcf3a3da44cef4a2a2 (diff) | |
download | puppet-backupninja-b17704f7cd7897d100d4ebcf6f068858d626e4a5.tar.gz puppet-backupninja-b17704f7cd7897d100d4ebcf6f068858d626e4a5.tar.bz2 |
Trying another method to override an exported resource if already defined
-rw-r--r-- | manifests/server.pp | 12 |
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", } } |