From fa896264bfe97f0ec492c0261321c5594787f843 Mon Sep 17 00:00:00 2001 From: Sven Seeberg Date: Sat, 1 Feb 2020 22:33:28 +0100 Subject: [PATCH] Fix run function --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 84f3626..6ed3203 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,9 @@ MIT 7. Create Pillar sls files where required with the content, replace the group UUID. Look into the example directory. Hint: you can find the Group UUID with the network tool of the browser by clicking on a group. ``` #!py - from salt_passbolt import fetch_passbolt_passwords - fetch_passbolt_passwords("27b9abd4-af9b-4c9e-9af1-cf8cb963680c") + def run(): + from salt_passbolt import fetch_passbolt_passwords + return fetch_passbolt_passwords("27b9abd4-af9b-4c9e-9af1-cf8cb963680c") ``` 8. In state, reference secrets with their UUID. See the `example/salt/important_secrets/files/secret.conf`. Hint: you can find the secret UUID in the URL of your browser by clicking on the checkbox of a secret.