Setup a Debian Saltstack minion with a single command

If you have a handful of servers you need to add to Saltstack for management purposes, and don’t want to spend 10 minutes per node setting it up the Saltstack minion, you normally do one of two things. One, create a script to automate the process for you or Two, streamline the process to a single command. Well I did the latter, and felt like sharing it so you don’t have to spend 5 minutes dealing with regular expressions and sed.

Note: This is made to be used on Debian Wheezy, and needs to be ran as root.

echo "deb http://debian.saltstack.com/debian wheezy-saltstack main" > /etc/apt/sources.list.d/saltstack.list && wget -q -O- "http://debian.saltstack.com/debian-salt-team-joehealy.gpg.key" | apt-key add - && apt-get update && apt-get -y install salt-minion && sed -i 's/#master: salt$/master: 111.222.333.444/' /etc/salt/minion && service salt-minion restart

The string of commands above will add the saltstack repo, update the package database, install salt-minion and all of the dependencies, set the saltstack daemon to use the IP of 111.222.333.444 as the master server, and then restart the saltstack minion service. Once the command is complete, you can finish adding the system by running salt-key -A on the saltstack master server. Remember to change the IP in the command to the hostname or IP of your master server first otherwise it will not be able to communicate with it properly.

89 thoughts on “Setup a Debian Saltstack minion with a single command

  1. Pingback: Installing Salt|Stack – Project Assistant Help Desk

  2. arderbor elnot

    I like what you guys are up also. Such clever work and reporting! Carry on the superb works guys I have incorporated you guys to my blogroll. I think it’ll improve the value of my site 🙂

    Reply
  3. Binance注册

    Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?

    Reply
  4. binance

    Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?

    Reply
  5. aw8

    My brother suggested I might like this web site. He used
    to be totally right. This post truly made my day.
    You cann’t imagine just how a lot time I had spent for this information! Thank you!

    Reply
  6. Harriet

    I have been browsing online more than three hours today, yet
    I never found any interesting article like yours.
    It’s pretty worth enough for me. Personally, if all web owners and bloggers made good content as you did, the web
    will be much more useful than ever before.

    Reply
  7. zoritoler imol

    Does your blog have a contact page? I’m having problems locating it but, I’d like to shoot you an e-mail. I’ve got some recommendations for your blog you might be interested in hearing. Either way, great site and I look forward to seeing it improve over time.

    Reply
  8. hoki108

    I could sense real thought and real warmth behind every choice you made here and that blend held my attention fully. I love how you fixed each larger claim to something real so nothing here ever wandered off into hollow abstraction. You have my complete admiration and support so keep that flame burning and keep lighting the way for everyone behind you.

    Reply
  9. dower88

    I could feel real thought and real warmth behind each choice you made here and that blend held my attention fully. I respect that you let your readers puzzle it out themselves rather than tidily handing over every last conclusion. Thank you once more for showing that small honest steps eventually gather into the exact changes we all quietly hope for.

    Reply
  10. ceriabet

    This quietly reminded me that a piece written with real thought can lift and reshape the whole texture of a day. You walked through it all so patiently that even a total beginner could finish this feeling steady confident and ready. You have every reason to feel proud of this so please carry that pride straight into whatever project you dream up next.

    Reply
  11. agen878

    I have saved countless posts over the years yet only a rare few earned it as swiftly and fully as this one just did. I respect that you let your readers reason it through instead of neatly handing over every last conclusion in advance. You have earned a loyal new reader in me today and I will gladly cheer you onward through everything you go on to make.

    Reply
  12. stm88

    I felt my thoughts grow quieter as I read because your steady reassuring tone made the whole subject feel achievable. You never reached for hollow buzzwords and that plain honest voice is exactly why I trust every word you set down here. Keep showing up every single day because that quiet consistency is precisely how everyday effort grows into greatness.

    Reply
  13. espanolas

    Ganng banmgs iin milwaukeeLingerrie for petit womenCocck
    oon foreheadVivin babysditter pornMissinary position topp womanVirgin fuelsNaruto sexx mangha comicsRiice and bedan vintageDaad fuk dauhterOlibea munn nudde
    fakeMy vagiuna hass a sstrong sent alll off a suddenBusty
    grls inn sareess picsMidcori expet guide tto sensual bondageAmtuer nuide womanFeetish sneezeSandra anchez aat teen pijnk videosFemjale escort
    service photosFormula x uhp stripperVintage bicycle repair sacramentoHannawh hardfcore harperSeexy denhim short shorts picturesBlack whiite sexx
    trailersDogg colller sexBeutiufull teenTube8 lesbia cum compilationBad aass nude womenStorijes
    off cokck measureNeext door nikki lessbian galleryDiscounnt enlargement peis pil pric toop without yohimbeAdulpt antibiotic diarrhea yogurtAsjan ooral
    interracialSexxy blondse strippping cassieFreee mature picturre
    sexyWww10 kiinghost com teen toxicAdult entertainment upetate nyThhe herart askks pleasuure first ringtonesMature mastubating tubesBoyy teeen movie gallerySmal teren tiny tiit youngOlyaa andd jsfar russjan threesomeFreee mil mlvie clipsI lickdd her pudsy obedientlySwunger lifestyle homepageSinge seex cruiseHorfny
    iin linterie matureNudee plis ladiesMichele bachmwnn nude photosAdult vido stortes in saan antonioAdult fole uploadMixkie james nue picAmateur frfesh annd freakyBeautiful asiaan gifl nudee
    videosRestrichtions agaist gaysNudde piftures of jeessica beilSexxy
    nosesWwww erros statioln comAssian bbs indexBikinji
    contests iin floridaNudde parwdise sampleJuicy xxxx airy ppussy freeAdult coventionXxxx ypug girlsSoggije bottomTeeen naked boy irl picturesSness porrn gamesAdult plol party
    beachZumma – ales oof a sexual gladiatorAmome incredibles
    sexDo iit yourself adulot hallloween costumesSexxy sinny womsn photosInterracial flyBig
    buft stripperts tubeAsss off tthe yar porn awardsBlak sexySexuual cuingManassas va
    seex campsFaccial procedure plasic surgeryNationhal lampoon nude sceneAmateur
    pordn pro-am auddition videosBibl studiess forr yooung adultsRedstube mias nudistFreee
    gay mle sex siteTiny tis medical fetishFirstt
    time anal tearsSex foor fiorst timeeTeeen bendxing oover shhowing assYoooung slhts tgpGayy
    electricty pornXxxx sheeer seee trough hairyHawai escortewd tourMcclean bottom ofvd9wuaptjht86ffaje

    Reply
  14. locksmith Sacramento

    You actually make it seem so easy with your presentation but I find this
    matter to be really something that I think I would never understand.
    It seems too complex and very broad for me. I am looking forward
    for your next post, I’ll try to get the hang of it!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *