Skip to content

Instantly share code, notes, and snippets.

@jvestrum
Created July 8, 2015 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jvestrum/061feaea8d6063173d22 to your computer and use it in GitHub Desktop.
Save jvestrum/061feaea8d6063173d22 to your computer and use it in GitHub Desktop.
synccreatehomeusers:
salt.state:
- tgt: 'hpc-pi-mensae.example.com'
- sls:
- hpc-groups
- hpc-users-createhome
synclocalusers:
salt.state:
- tgt_type: nodegroup
- tgt: 'localusers'
- sls:
- hpc-groups
- hpc-users
syncyp:
salt.state:
- tgt: 'hpc-serv-a.example.com'
- require:
- salt: synclocalusers
- sls:
- ypmake
$ sudo -i salt-run state.orch orch.usersync
[ERROR ] Run failed on minions: hpc-ar-17.example.com, hpc-serv-a.example.com
Failures:
hpc-ar-17.example.com:
Data failed to compile:
----------
No matching sls found for 'hpc-groups' in env 'base'
hpc-serv-a.example.com:
Data failed to compile:
----------
No matching sls found for 'hpc-users' in env 'base'
hpc-beta-mensae.example.com_master:
----------
salt_|-synccreatehomeusers_|-synccreatehomeusers_|-state:
----------
__run_num__:
0
changes:
----------
comment:
States ran successfully. No changes made to hpc-pi-mensae.example.com.
duration:
11835.856
name:
synccreatehomeusers
result:
True
start_time:
15:47:47.926823
salt_|-synclocalusers_|-synclocalusers_|-state:
----------
__run_num__:
1
changes:
----------
comment:
Run failed on minions: hpc-ar-17.example.com, hpc-serv-a.example.com
Failures:
?[01;31mhpc-ar-17.example.com:?[0m
?[01;31mData failed to compile:?[0m
?[01;31m----------
No matching sls found for 'hpc-groups' in env 'base'?[0m
?[01;31mhpc-serv-a.example.com:?[0m
?[01;31mData failed to compile:?[0m
?[01;31m----------
No matching sls found for 'hpc-users' in env 'base'?[0m
duration:
46701.695
name:
synclocalusers
result:
False
start_time:
15:47:59.766000
salt_|-syncyp_|-syncyp_|-state:
----------
__run_num__:
2
__sls__:
orch.usersync
changes:
----------
comment:
One or more requisite failed: orch.usersync.synclocalusers
result:
False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment