Could you help me (tell the example) with my task: At the minion during highstate I want to execute a state (get some IP) at Saltstack's master. Then return this result to the minion and create a grain with this value. I've tried a lot of options, but I can't do it. I'll be very grateful for any help.
Transfer value from master to minion (after reactor's triggered from minion)
94 views Asked by fireman777 At
1
There are 1 answers
Related Questions in SALT-STACK
- How to define the output of salt status
- Salt-Stack minions behind proxy and AD Authentication
- Salt stack state management and continuous deployment
- Unable to get pillars in salt runner
- suppress summary from salt-call but show warnings and errors
- Issues Executing Script with SaltStack Reactor for Auto-Authentication
- Issues with rsync.synchronized in SaltStack Not Syncing Directory Content
- Run a salt state from one salt minion on another minion
- Creating multiple salt-engine process in rhel
- SaltStack mongo_return not working with mongo AUTH
- Salt SLS remove last octect of IP address from grain
- Why does salt-syndic throw a TransportWarning about an unclosed transport on startup?
- How to Run a SaltStack Script as a Non-root User on a Salt Master Host?
- How to sync every file under /srv/salt from Salt Master to Salt Syndic
- saltstack docker_container.running gving module docker has no attribute APIClient
Related Questions in SALT-CLOUD
- Can the salt-cloud EC2 provider use temporary credentials issued by AWS Security Token Service (STS)?
- SaltStack - Beacons not monitoring the files
- SaltStack - Unable to update mine_function
- SaltStack - Custom grains for Windows VM
- Salt-Cloud: Minion installation on Windows doesn't work
- how to append data to a config file from a pillar in salt
- Is Salt Cloud still supported for GCE
- Need help fixing salt stack code to copy file from s3 bucket
- execute a function on master in saltstack salt .sls file and run on a minion
- How to deploy custom rpms on to salt-minion?
- How to copy file from Salt-Minion [Windows] to Salt-Master. "cp.push module not working"
- Saltstack cloud.map with Bash variables
- How should one configure or install salt-cloud to use the Saltstack py3 repository to install the minion instead of the distribution (apt) repository?
- Transfer value from master to minion (after reactor's triggered from minion)
- how to define cmd.run to execute on a specify minion in a state file
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
One way to do this is:
If the IP you are talking about though doesn't change often, then it probably should be served as a pillar instead of a grain.