Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@saltmaster ~]# salt 'front1' mine.send cmd.run "ls /var/log/" name=varlog
- front1:
- True
- [root@saltmaster ~]# salt 'saltmaster' mine.get 'front1' varlog
- saltmaster:
- ----------
- root@saltmaster ~]# salt 'saltmaster' mine.get 'front1' cmd.run
- saltmaster:
- ----------
- front1:
- ConsoleKit
- VBoxGuestAdditions-uninstall.log
- VBoxGuestAdditions.log
- anaconda.ifcfg.log
- anaconda.log
- anaconda.program.log
- anaconda.storage.log
- anaconda.syslog
- anaconda.yum.log
- atop
- ...
- Just a test, We'd like to name the mine somehow if possible to store more than a single cmd.run( or other functions), for trying to mine specific information from each server
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement