Created
January 5, 2014 08:00
-
-
Save chuyskywalker/8265649 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
goofy: | |
- cmd.run: | |
- name: echo hello |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[vagrant@vagrant-centos65 ~]$ time sudo salt-call --local state.highstate | |
[INFO ] Loading fresh modules for state activity | |
[INFO ] Creating module dir '/var/cache/salt/minion/extmods/modules' | |
[INFO ] Syncing modules for environment 'base' | |
[INFO ] Loading cache from salt://_modules, for base) | |
[INFO ] Caching directory '_modules/' for environment 'base' | |
[INFO ] Creating module dir '/var/cache/salt/minion/extmods/states' | |
[INFO ] Syncing states for environment 'base' | |
[INFO ] Loading cache from salt://_states, for base) | |
[INFO ] Caching directory '_states/' for environment 'base' | |
[INFO ] Creating module dir '/var/cache/salt/minion/extmods/grains' | |
[INFO ] Syncing grains for environment 'base' | |
[INFO ] Loading cache from salt://_grains, for base) | |
[INFO ] Caching directory '_grains/' for environment 'base' | |
[INFO ] Creating module dir '/var/cache/salt/minion/extmods/renderers' | |
[INFO ] Syncing renderers for environment 'base' | |
[INFO ] Loading cache from salt://_renderers, for base) | |
[INFO ] Caching directory '_renderers/' for environment 'base' | |
[INFO ] Creating module dir '/var/cache/salt/minion/extmods/returners' | |
[INFO ] Syncing returners for environment 'base' | |
[INFO ] Loading cache from salt://_returners, for base) | |
[INFO ] Caching directory '_returners/' for environment 'base' | |
[INFO ] Creating module dir '/var/cache/salt/minion/extmods/outputters' | |
[INFO ] Syncing outputters for environment 'base' | |
[INFO ] Loading cache from salt://_outputters, for base) | |
[INFO ] Caching directory '_outputters/' for environment 'base' | |
[INFO ] Loading fresh modules for state activity | |
[INFO ] Executing state cmd.run for echo Hello there | |
[INFO ] Executing command 'echo Hello there' in directory '/root' | |
[INFO ] {'pid': 2927, 'retcode': 0, 'stderr': '', 'stdout': 'Hello there'} | |
local: | |
---------- | |
State: - cmd | |
Name: echo Hello there | |
Function: run | |
Result: True | |
Comment: Command "echo Hello there" run | |
Changes: pid: 2927 | |
retcode: 0 | |
stderr: | |
stdout: Hello there | |
Summary | |
------------ | |
Succeeded: 1 | |
Failed: 0 | |
------------ | |
Total: 1 | |
real 1m1.851s | |
user 0m0.996s | |
sys 0m0.226s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
base: | |
'*': | |
- goofy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment