ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. saltstack
    Log in to post
    • All categories
    • AdamFA

      Automated Provisioning - KVM & CM tools

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion kvm ansible saltstack automation libvirt
      11
      1 Votes
      11 Posts
      1k Views
      AdamFA

      @stacksofplates said in Automated Provisioning - KVM & CM tools:

      @fuznutz04 said in Automated Provisioning - KVM & CM tools:

      @stacksofplates said in Automated Provisioning - KVM & CM tools:

      Terraform will do this and I have an Ansible role to do it also.
      As @IRJ mentioned Vagrant will work also. However I feel Terraform is a better fit as you have more control over the specific pieces of your infrastructure.

      You would still prefer Terraform over Ansible for this as well?

      Yeah. My role can create the VMs, but Terraform had more functionality for that. Ansible overlaps in the infrastructure provisioning space a lot, but it lacks keeping states like Terraform does.

      I'd like to learn both. I just started with Ansible a day or two ago. I have been (and still am) using SaltStack.

    • DustinB3403D

      Creating a Salt master on Fedora 30

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion fedora salt master fedora 30 salt saltstack osx
      2
      4 Votes
      2 Posts
      639 Views
      JaredBuschJ

      Dont' use bullet/number lists in instructions and guides like this. it makes it annoying for those that want to copy and paste.

      This guide is assuming that you are running as root. If not prepend everything here with sudo.

      Install the salt-master package dnf install salt-master Open the required ports in the firewall firewall-cmd --add-port=4505-4506/tcp --permanent firewall-cmd --reload Enable the salt-master service to start on boow, and also start it now. systemctl enable --now salt-master.service
    • AdamFA

      Saltstack Data collection

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion saltstack
      10
      0 Votes
      10 Posts
      546 Views
      F

      I suggest looking into the salt Logstash engine

    • NerdyDadN

      Salt-Minion can't talk to Salt-Master

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion salt-minion salt-master salt minion salt stack salt saltstack
      41
      0 Votes
      41 Posts
      3k Views
      ObsolesceO

      Weird.. I didn't have to do anything with SELinux to get it working:

      https://timothygruber.com/linux/saltstack-installation-configuration/#Installing_the_Salt-Master

    • F

      VyOS native Salt Minion

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion salt minion salt saltstack vyos
      4
      3 Votes
      4 Posts
      1k Views
      scottalanmillerS

      @black3dynamite said in VyOS native Salt Minion:

      @scottalanmiller said in VyOS native Salt Minion:

      That's great. I'd not played with that yet.

      I wonder when they will get one (or this one) running on EdgeOS. Now that would be awesome.

      Is EdgeOS a Debian-based Linux system like VyOS?

      EdgeOS is a Vyatta fork, just like VyOS. They are extremely close. To the point that people constantly confuse them.

    • AdamFA

      SaltStack - Viewing output

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion saltstack
      10
      3 Votes
      10 Posts
      907 Views
      AdamFA

      @NerdyDad said in SaltStack - Viewing output:

      Disclaimer: I've never implemented or used SaltStack at all.

      But what I know of it, I would treat it similar to Group Policy. Not really meant to give information back. Just a state and configuration management system.

      Agreed. I'm not looking to use it for advanced monitoring, only basic disk usage, etc.

    • AdamFA

      Monitoring with SaltStack VS Zabbix

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion saltstack
      24
      0 Votes
      24 Posts
      2k Views
      scottalanmillerS

      @stacksofplates said in Monitoring with SaltStack VS Zabbix:

      @flaxking said in Monitoring with SaltStack VS Zabbix:

      @dyasny said in Monitoring with SaltStack VS Zabbix:

      @flaxking You mean actual graphs and reports on stats gathered over time? Grafana is all about that

      I mean like if you wanted to report on all the different OSes you have running - which I didn't think was possible using Prometheus + Grafana without determining a numeric value for each OS, but it looks like I'm wrong about that.

      The only way I can think of doing that is having each OS type in a different job. At least it used to be true that Prometheus doesn't support string metrics. I hadn't seen anything where they've changed that.

      That's how we did it.

    • ObsolesceO

      Converting a cron job to a systemd timer

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion systemd timers crontab saltstack
      5
      2 Votes
      5 Posts
      2k Views
      AdamFA

      @Obsolesce said in Converting a cron job to a systemd timer:

      First some info as it may have impact on whether or not to do this in the first place:

      I have a SaltStack deployment of 600-ish minions. Currently, I have a highstate set to run every 45 minutes via cron:

      */45 * * * * root /usr/bin/salt -b 25\% '*' state.apply

      I know one of the benefits of systemd over cron is the logging, and I think this would be great to have better logging of when this runs. More can potentially be done with it automatically, like look for issues and send emails just as one easy example.

      But I don't know how to test this... maybe it doesn't produce the kind of log I want, and salt may already do this in it's own log even better. Or maybe this will produce a log that's too big and cause issues later. I can watch it in the beginning either way, so it's fine.

      Can that cron job be converted into a reliable systemd timer? If so, how?

      600ish minions. Wow. Curious about your setup. (Types of systems, types of states, how to manage and review output of all of that, etc.” Maybe an upcoming post? 🙂

    • AdamFA

      Installing a salt minion on FreePBX

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion freepbx 14 saltstack
      4
      1 Votes
      4 Posts
      945 Views
      AdamFA

      @jaredbusch said in Installing a salt minion on FreePBX:

      @fuznutz04 I have not. But as you are seeing, FreePBX 14 and newer are not CentOS anymore. They are Sangoma OS.

      I am sure some manual setup would work as most things seemt to be ported, but no idea.

      The only extra thing I have added to FreePBX is ZeroTier.

      Good point. I will post some notes as to how well this works out. I was at least able to install it successfully.

    • ObsolesceO

      Issue with python2-tornado-5.0.2 and Salt

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion salt-minion saltstack python2-tornado
      6
      1 Votes
      6 Posts
      1k Views
      scottalanmillerS

      Fedora 28 is fixed. Remove salt, and install again. Should be all set.

    • RomoR

      salt-master: error: Failed to load configuration: Cannot load native module 'Cryptodome.Cipher._raw_des'

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion salt-master saltstack
      13
      0 Votes
      13 Posts
      3k Views
      scottalanmillerS

      Don't know about CentOS, but the fixed Salt packages hit the Fedora repos in the last few hours.

    • scottalanmillerS

      Salt-Master Errors Fedora 28

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion salt saltstack fedora fedora 28
      23
      0 Votes
      23 Posts
      2k Views
      scottalanmillerS

      @obsolesce said in Salt-Master Errors Fedora 28:

      @scottalanmiller said in Salt-Master Errors Fedora 28:

      Or closer to working, at least.

      Something still wrong with it? F28-only?

      Yeah, it runs better now, but still throws errors later.

    • Emad RE

      Saltstack catching dead minions

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion saltstack minions aging sodiumsuite
      3
      2 Votes
      3 Posts
      681 Views
      F

      Supposedly Foreman also works with Salt, I've only used it with Puppet though.

    • scottalanmillerS

      Anyone Attempting Deploying Printers through SaltStack?

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion salt saltstack
      53
      2 Votes
      53 Posts
      5k Views
      K

      @scottalanmiller Which I agree to, which is what we have done.

    • AdamFA

      Vultr Fedora Image

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion vultr saltstack image
      8
      1 Votes
      8 Posts
      1k Views
      black3dynamiteB

      Those $2.50 instances makes its impossible to install Fedora without using the one Vultr provides.

    • scottalanmillerS

      Salt-Minion Fails to Start on TrueOS BSD

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion freebsd bsd trueos saltstack salt-minion unix
      1
      1 Votes
      1 Posts
      732 Views
      No one has replied
    • QuixoticJustinQ

      Installing SaltStack Salt-Minion to Solus Linux

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion linux solus solus 3 saltstack salt minion eopkg
      3
      4 Votes
      3 Posts
      1k Views
      QuixoticJustinQ

      @dafyre said in Installing SaltStack Salt-Minion to Solus Linux:

      @quixoticjustin said in Installing SaltStack Salt-Minion to Solus Linux:

      Solus Linux lacks a native package for SaltStack and so to use it as a Salt Minion you have to grab the packages from GitHub and create it yourself. Special thanks to @scottalanmiller who looked into this and Exoner4ted in the Solus community who did the research and figured out how to make this work.

      Remember to change "saltmastip" to the actual IP of your salt master or handle that however makes sense for you.

      cd /tmp; wget https://github.com/saltstack/salt/archive/2018.3.zip unzip 2018.3.zip; cd /tmp/salt-2018.3/ python /root/salt-2018.3setup.py install echo "saltmasterip salt" >> /etc/hosts cp /root/salt-2018.3/pkg/salt-minion.service /usr/lib/systemd/system/ systemctl daemon-reload && systemctl enable salt-minion eopkg install python-pyzmq pycrypto python-msgpack python-tornado python-jinja pyyaml systemctl restart salt-minion

      Unfortunately this package is not self updating.

      Once you get the initial client installed, you should be able to to push out new salt-minion packages via Salt itself, right?

      Yes, but not using a repo. So you'd need to build your own installer / updater inside of a Salt state. Totally possible, but not as simple as telling it to update.

    • scottalanmillerS

      Installing a Salt Minion on MacOS

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion macos macosx saltstack salt minion brew homebrew pip2 python macos 10.13
      1
      1 Votes
      1 Posts
      3k Views
      No one has replied
    • scottalanmillerS

      Daemonizing Salt Minion on MacOS

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion macos macosx saltstack launchctl salt minion service daemon
      1
      0 Votes
      1 Posts
      707 Views
      No one has replied
    • scottalanmillerS

      SaltStack ps.cpu_percent Error on MacOS

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion saltstack ps.cpupercent macos macosx
      3
      0 Votes
      3 Posts
      708 Views
      scottalanmillerS

      Even though I know that it is there, I get this...

      salt 'minion' ps.cpu_times minion: 'ps' __virtual__ returned False: The ps module cannot be loaded: python module psutil not installed. ERROR: Minions returned with non-zero exit code
    • 1
    • 2
    • 3
    • 4
    • 1 / 4