Page MenuHomeDevCentral

D3098.id7907.diff
No OneTemporary

D3098.id7907.diff

diff --git a/_modules/credentials.py b/_modules/credentials.py
--- a/_modules/credentials.py
+++ b/_modules/credentials.py
@@ -198,8 +198,6 @@
def _resolve_vault_path(vault_path):
- vault_path = vault_path.replace("%%node%%", __grains__["id"])
-
for pillar_path, mount_path in __pillar__.get("vault_mount_paths", {}).items():
if vault_path.startswith(pillar_path):
start_position = len(pillar_path)
@@ -248,6 +246,8 @@
if not policy:
policy = "# This policy is intentionally left blank."
+ policy = policy.replace("%%node%%", node)
+
return policy

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 27, 21:34 (18 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2218569
Default Alt Text
D3098.id7907.diff (612 B)

Event Timeline