17601: fix hardcoded cluster name in example
[arvados-formula.git] / test / salt / states / examples / arvados / shell / cron / add-login-sync.sls
index 353ac6acbd9455ddc006a70c022ad122f69ddd5a..fdcf59982805335c3bdd3933924f7d4a70a785fc 100644 (file)
@@ -47,7 +47,7 @@ examples-arvados-shell-cron-add-login-sync-add-{{ vm }}-get-vm_uuid-cmd-run:
     - require:
       - cmd: examples-arvados-shell-cron-add-login-sync-add-resources-virtual-machines-{{ vm }}-record-cmd-run
     - unless:
-      - /bin/grep -qE "fixme-2x53u-[a-z0-9]{15}" /tmp/{{ vm }}
+      - /bin/grep -qE "[a-z0-9]{5}-2x53u-[a-z0-9]{15}" /tmp/{{ vm }}
 
   # There's no direct way to query the scoped_token for a given virtual_machine
   # so we need to parse the api_client_authorization list through some jq
@@ -68,7 +68,7 @@ examples-arvados-shell-cron-add-login-sync-add-{{ vm }}-get-scoped_token-cmd-run
     - require:
       - cmd: examples-arvados-shell-cron-add-login-sync-add-{{ vm }}-get-vm_uuid-cmd-run
     - unless:
-      - test -s /tmp/sctk-{{ vm }}
+      - test -s /tmp/sctk{{ vm }}
 
 examples-arvados-shell-cron-add-login-sync-add-{{ vm }}-arvados-host-cron-env-present:
   cron.env_present: