DevOps Clinic
DevOps Clinic
  • 6
  • 22 870
Salt Project Package Execution Module
Learn how to use the Package Execution module in Salt Project (aka Salt Stack) to patch your systems. Salt Project is a great tool for DevOps and SysAdmin's that will help you with Configuration Management, Automation, CI/CD, and so much more.
Commands that we used in this video:
- salt '*' pkg.list_upgrades
- salt '*' pkg.upgrade name=sudo
- salt '*' pkg.upgrade pkgs='["systemd", "systemd-libs", "systemd-pam", "systemd-rpm-macros", "systemd-udev"]'
- salt '*' pkg.upgrade pkgs='["tzdata", {"curl": "7.76.1-26.el9_3.3"}]'
- salt '*' pkg.upgrade
- salt 'web*' system.reboot
- salt 'db*' system.reboot
GitHub Repo and Documentation Links: github.com/DevOps-Clinic/SaltProjectVideos/
Getting Started with Salt Project Playlist - czcams.com/play/PLzDaW424lWh7ZCdCVUhYvd38ArQarm6ul.html
If you have comments or questions about this video, or if you would like some help with your own Salt configuration, please leave us a comment below.
Salt Project
Salt Stack
Automation
Agile
DevOps
Configuration Management
CI/CD
Continuous Integration
Continuous Delivery/Deployment
Continuous Testing
Immutable Infrastructure
Infrastructure As Code
zhlédnutí: 287

Video

Using Pillars and Grains in Salt Project
zhlédnutí 1,8KPřed rokem
Learn how to use Pillars and Grains in Salt Project (aka Salt Stack). Salt Project is a great tool for DevOps and SysAdmin's that will help you with Configuration Management, Automation, CI/CD, and so much more. Using Pillars and Grains in Salt Project GitHub Repo and Documentation Links: github.com/DevOps-Clinic/SaltProjectVideos/tree/main/ep0005 In this video we learn how to: - query pillars ...
Top File, File Structure, & Pillar Data - Getting Started With Salt Project - Part 4
zhlédnutí 3,2KPřed 2 lety
Learn how to use Salt Project (aka Salt Stack) in our getting started series. Salt Project is a great tool for DevOps and SysAdmin's that will help you with Configuration Management, Automation, CI/CD, and so much more. Start learning Salt Project with a lab on Linode with $100 credit: bit.ly/3tTTeRU * Sponsored by Linode Getting Started With Salt Project - Part 4 - Top File, File Structure, & ...
Configuration Management - Getting Started With Salt Project - Part 3
zhlédnutí 3,2KPřed 2 lety
Learn how to use Salt Project (aka Salt Stack) in our getting started series. Salt Project is a great tool for DevOps and SysAdmin's that will help you with Configuration Management, Automation, CI/CD, and so much more. Start learning Salt Project with a lab on Linode with $100 credit: bit.ly/3tTTeRU * Sponsored by Linode Getting Started With Salt Project - Part 3 - Configuration Management In ...
Remote Task Execution - Getting Started With Salt Project - Part 2
zhlédnutí 3,5KPřed 2 lety
Learn how to use Salt Project (aka Salt Stack) in our getting started series. Salt Project is a great tool for DevOps and SysAdmin's that will help you with Configuration Management, Automation, CI/CD, and so much more. Start learning Salt Project with a lab on Linode with $100 credit: bit.ly/3tTTeRU * Sponsored by Linode Getting Started With Salt Project - Part 2 - Remote Task Execution In thi...
Installing Salt - Getting Started With Salt Project - Part 1
zhlédnutí 11KPřed 2 lety
Learn how to use Salt Project (aka Salt Stack) in our getting started series. Salt Project is a great tool for DevOps and SysAdmin's that will help you with Configuration Management, Automation, CI/CD, and so much more. Start learning Salt Project with a lab on Linode with $100 credit: bit.ly/3tTTeRU * Sponsored by Linode Getting Started With Salt Project - Part 1 - Installing Salt In this vide...

Komentáře

  • @kayathecloudkid
    @kayathecloudkid Před 25 dny

    Is there a document or cheat sheet with all these commands on how to check versions of apps or install apps, manipulate users, groups, reading files easiy from the master?

  • @EricYspeert
    @EricYspeert Před měsícem

    Your Salt series is much appreciated and got me very interested in the project. Thank you! There is one question I could not find the answer for in the documentation: Is is possible to use the minions to monitor the server to prevent configuration drift? And extending it to auto-mitigation as well? In my searches so far, only Salt seems to have the basic capabilities to (be part of) such a solution.

  • @jmckey
    @jmckey Před 4 měsíci

    Great stuff! Understanding the directory structure on both the master and minion and all the reasons for it is daunting at first, and the docs are not so great at laying that out clearly. So really appreciate this walkthrough with solid examples. Particularly with blending in how grains and pillars come from different sources. Your visual at the beginning was very helpful and I appreciate the time you must have taken to do that.

  • @stevescotter6579
    @stevescotter6579 Před 4 měsíci

    Very useful and clear video, I'll be going through your back catalogue! Thanks ❤

  • @metaram_in
    @metaram_in Před 4 měsíci

    Thank you! Looking forward to the rest of the series.

  • @qumatrex
    @qumatrex Před 4 měsíci

    Hello, is it possible that you make a video about managing Windows using salt?

    • @DevOpsClinic
      @DevOpsClinic Před 4 měsíci

      Definitely. I'll add it to the list.

    • @BucifalulR
      @BucifalulR Před 4 dny

      @@DevOpsClinic That would be really nice indeed. Thank you for the tutorials.

  • @stacyshields8131
    @stacyshields8131 Před 4 měsíci

    Thanks! This’ll be helpful.

  • @juanrebella2589
    @juanrebella2589 Před 5 měsíci

    thanks!

  • @Angelas20
    @Angelas20 Před 5 měsíci

    is there any privilege escalation in saltstack. I want to run salt command as a different user not root. What is the way to do this?

  • @romodachi
    @romodachi Před 6 měsíci

    beautiful

  • @jamesbadham3560
    @jamesbadham3560 Před 6 měsíci

    Has anyone ever used Salt Stack to manage and set/apply values in a web.config file for a Windows IIS server? Any examples of what that looks like?

  • @jamesbadham3560
    @jamesbadham3560 Před 6 měsíci

    This was a great definitive tutorial. Thank you.

  • @Kavyaojhavlogs
    @Kavyaojhavlogs Před 7 měsíci

    Hi, first of all Thank you very much for such a wonderful explanation. I am just wondering if my infra has more than 10k nodes then do I need to install salt minion manually on each instance ?

  • @M35180S
    @M35180S Před 8 měsíci

    You are KING! Want to thank you. Best video of Salt Project! I still have more to watch but keep it up!!

  • @ramamoorthysubramanian6349
    @ramamoorthysubramanian6349 Před 8 měsíci

    Short and useful!

  • @Alexander-kf5tc
    @Alexander-kf5tc Před 9 měsíci

    Thank u much man. Great explonation👍 Preparing for salting my env😉

  • @ruhi203
    @ruhi203 Před 10 měsíci

    Thank you so much :) Excellent video !!

  • @japinto84
    @japinto84 Před 10 měsíci

    Excellent explanation

  • @genejensen4881
    @genejensen4881 Před 11 měsíci

    ☝️ Promo SM

  • @Tanuki-Adventure
    @Tanuki-Adventure Před 11 měsíci

    Thank you for the video. This is exactly what I need for my work right now

  • @MrBeen-
    @MrBeen- Před rokem

    The world needs you Matt! More content pls.

  • @vvhg761
    @vvhg761 Před rokem

    Thanks a lot !

  • @renukanugula762
    @renukanugula762 Před rokem

    We expect more Devops content from you sir. The way of explanation and labs are too good to learn.

  • @renukanugula762
    @renukanugula762 Před rokem

    This really helped me a lot to understand Salt and it's configurations. Thanks a lot!!!!

  • @23ruchika
    @23ruchika Před rokem

    Best tutorial for salt. Please create more such videos on salt.

  • @23ruchika
    @23ruchika Před rokem

    Hoping for more such salt videos

  • @kanishkadas5907
    @kanishkadas5907 Před rokem

    Best tutorial for Salt.

  • @juanrebella2589
    @juanrebella2589 Před rokem

    Thanks!!

  • @IT-geek1815
    @IT-geek1815 Před rokem

    Best sal video that I've seen! Very clear and practical!

  • @ayeshasiddiqa5327
    @ayeshasiddiqa5327 Před rokem

    Hey, I really liked this video. Its really amazing and help full. I just want to ask about the pillars part. What are these and how to use them??

  • @BarelyInfected
    @BarelyInfected Před rokem

    Hey just watched this through, was very helpful. Looking for best practices and how to run in an enterprise environment regarding state management.

  • @jumbobrian
    @jumbobrian Před rokem

    Another great video, showing errors is actually quite useful so we have more context on what's happening, so that was handy

  • @jumbobrian
    @jumbobrian Před rokem

    Great video, good combination of background info and the actual commands/configs you need to get started

  • @techWithNaushad
    @techWithNaushad Před rokem

    Great videos, thank you.

  • @ghitansilviu2389
    @ghitansilviu2389 Před rokem

    So if i understand good. The minion opens the connection to the master , no ?

  • @renixe
    @renixe Před rokem

    These have been super helpful to jumpstart my lab, thank you!

  • @fredh3603
    @fredh3603 Před rokem

    This short series with several create-and-extend approaches really helped me making my very first steps with salt‘s basic structure with the root_files directory, top.sls and its highstates and states. Especially in terms of filesystem hierarchy, .sls- and .conf-files. This was a great addition to the official documentation. I was now able to set up the download and installation of a 3rd party monitoring rpm-file on debian and ubuntu. Unfortunately, I am stuck on the installation of a local rpm (CheckMK-agent, based on nagios) on opensuse/SLES systems. Diving deeper into the salt topic with this series would be appreciated. I personally know that creating these videos is combined with a lot of effort but increasing the scope of these tutorials in this deep diving manner will surely pay off in the long run. I‘ve seen several other channels but for me this was still the most understable and value-adding path. Dear devopsclinic, please continue producing. You are needed right here! :-) BR from germany 🐧

  • @user-ij8cs2jw6y
    @user-ij8cs2jw6y Před rokem

    Thank you for the great video.

  • @nikolasix8795
    @nikolasix8795 Před rokem

    Keep it up!

  • @GertBowker
    @GertBowker Před 2 lety

    I use Ansible almost daily, I love your videos thus far .... question, in ansible you have a hosts file with hosts groups [ ], is salt the same ?

  • @malekmohammadkaraminejad7404

    Amazing

  • @MustafaALShingiti
    @MustafaALShingiti Před 2 lety

    Well done Matt👍

  • @MustafaALShingiti
    @MustafaALShingiti Před 2 lety

    Excellent video, simple and interesting explanation Thank you

  • @jptechnical
    @jptechnical Před 2 lety

    Great video, keep them coming!

  • @jptechnical
    @jptechnical Před 2 lety

    Great video, the getting started videos like this for Salt are lacking IMO. BTW, there is a glitch in the matrix at 17:10, deja vu

  • @ggustafsson
    @ggustafsson Před 2 lety

    I do other stuff like that at work 😁

  • @mukut5ul
    @mukut5ul Před 2 lety

    Great video

  • @yerrysherry135
    @yerrysherry135 Před 2 lety

    For each distribution you make a folder. Some people put code in the state file and using "if" statements to check the Os family. What is the best practice? Do we have to wait until the end to find out what Salt states had been run? In Ansible we see every step. This is easy to follow what the orchestration tool is doing. How works top.sls? If a match is found, it runs those salt states and then continues with the next match? Or is the top.sls first being analyzed and then being executed in sequential way or some parts in parallel. With "require" you can put some dependencies between Salt states. First install a web server, then install some files and at last start the web server daemon. Could you also put dependencies between minion's? ex. first install a database server and then the application server? I like very much your explanations about Salt! I learned a lot. Thank you very much to spend your time in making them!!!!

    • @DevOpsClinic
      @DevOpsClinic Před 2 lety

      If you have something that applies to all distributions, then I would put all the distro related items in that same folder. I use distro specific folders for things that only apply to that specific distro. In all the companies I've worked for, when I haven't used formulas, we usually only ever run a single distro. As for seeing the outcome as it's happening, I've never had an issue with having to wait for it to complete. If I've written all my states and tested them both in my local environment, plus dev, then qa, then finally prod. They rarely break at that point.

    • @DevOpsClinic
      @DevOpsClinic Před 2 lety

      When you run a state.apply with a specific state, it will evaluate everything that needs to happen for that state that you called. So if you call roles.webserver, it's only going to evaluate the /srv/salt/roles/webserver/ or /srv/salt/roles/webserver.sls. Plus it will also evaluate anything that we have "included". Once it figures out all the dependencies, Grains, Pillar, etc and has a plan it will execute the state. If you were to run a state.apply without a specific state it will start at the top.sls and figure out everything that applies to the specific minion. So if a specific minion has both a roles.webserver and roles.database assigned to it, it will figure out all the states, dependencies, Grains, Pillar, etc and once it's all resolved will execute everything. Doing this is called the High State, starting from the top.sls and working your way through everything that applies. Now, let's say you want to install roles.wordpress, roles.nginx, and roles.mysql. But for you to install Wordpress, you need the mysql database installed before hand so you can import the database. You could have a require that makes sure the roles.mysql is always the installed before Nginx and Wordpress, and Nginx before Wordpress. We'll be going through more of these scenarios shortly.

  • @mayal9334
    @mayal9334 Před 2 lety

    i want video every day!!!

    • @DevOpsClinic
      @DevOpsClinic Před 2 lety

      Thanks for watching! We'll have more videos out soon.