Fix run function

This commit is contained in:
Sven Seeberg 2020-02-01 22:33:28 +01:00
parent 1d85bcb871
commit fa896264bf
Signed by: sven.seeberg
GPG Key ID: 29559DD5A83806B5
1 changed files with 3 additions and 2 deletions

View File

@ -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.