I'm working on salt-stack for setting up multiple machines, I wanted to ask how can we deploy rpms(placed at a custom location in master) on to the minions? I already have an idea of how can we install packages using top.sls file and name of the package that needs to be installed on minions but what I'm looking for is to deploy my custom rpms on to the minions from master.
How to deploy custom rpms on to salt-minion?
557 views Asked by numan sheikh At
1
There are 1 answers
Related Questions in VERSION-CONTROL
- Setting up the version control of .dotfiles while the .config is connected to a forked repo
- How can i redirect pull request from main branch to another branch
- Visual Studio 2022 convert spaces to tabs on checkout and back to spaces on checkin
- Handle workspace/monorepo with different deployments
- P4 change ownership through command line
- gitignore for Unity VR project does not work
- Different SDK for specific build
- Sourcetree GUI : Why main branch is behind another branch? Is it normal?
- Strongly Connected Components Using Kosaraju Algorithm
- How to use git-credential-gopass with git send-email?
- Run Robot in Jenkinsfile does not fetch the correct test.robot file from Github
- Git Hub not showing my Organization's Repositories in Android Studio
- Sourcetree caches old branches that no longer exist on github. I do not want this
- How to retrieve Inference image location for my Sagemaker pytorch custom model for Model registry
- I have an error with my Material UI react-swipeable-views in TypeScript
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)
There are two ways to approach this:
Option 1:
Define the list of RPMs in a pillar file:
Then in an SLS file:
Option 2:
Copy the directory containing the RPMs (
salt://rpmsin below example is relative tofile_roots) to target machine and userpmcommand to install (with wildcard):Installing with
rpmcommand requires extra check for return codes as it returns non-zero (2) when RPM is already installed.