ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. flaxking
    3. Best
    F
    • Profile
    • Following 1
    • Followers 1
    • Topics 41
    • Posts 667
    • Best 199
    • Controversial 1
    • Groups 0

    Best posts made by flaxking

    • Landed a new job

      I just landed a new job that I'm pretty excited about. My current position moved slowly back from development into straight up IT, so I'm glad to be a software developer again.

      My new company has good benefits and I know some people that work there and it sounds like they treat their employees really well.

      If I didn't get this job, I might have given up on developer. There's so much work involved in dev hiring processes.

      posted in IT Careers
      F
      flaxking
    • RE: Comparing ELK and GrayLog

      Does anyone have an updated comparison to share?

      posted in IT Discussion
      F
      flaxking
    • SAM's New Business Venture

      Does anyone else think a Gordon Ramsay esque TV show called IT Nightmares would be a great idea?

      https://www.reddit.com/r/sysadmin/comments/lfoklv/does_anyone_else_think_a_gordon_ramsay_esque_tv/

      The way I would see it is as mostly directed at business owners and getting them to understand the role of IT in their business.

      "That's an HR problem, not an IT problem."

      posted in Water Closet
      F
      flaxking
    • Looking for Senior IT Admins

      https://www.jobbank.gc.ca/jobsearch/jobposting/27734586

      The title on the job site isn't really accurate. The website restricts what titles we can post, requirements, etc. We are not just looking for network admins. We have a couple different positions we need to fill. One of which will require VMWare experience.

      International applicants accepted, with option to work remotely.

      I am not a part of the hiring process, but I can try to answer questions. Might have to be through direct message though.

      posted in Job Postings
      F
      flaxking
    • Hiring infrastructure technician

      https://www.jobbank.gc.ca/jobsearch/jobposting/27439166

      The current job posting is kind of lame, but we probably will have something better out in the future. We are actually hiring multiple positions, with different specialities. I can't say too much right now, but we have some exciting stuff on the horizon, and there is opportunity to get into some cool 'DevOps' style stuff.

      posted in IT Careers
      F
      flaxking
    • LinkedIn Endorsements

      I know I'm far from one of the top contributors to ML, but if there's something you feel comfortable with endorsing me on, please send me a message and I'll send you my LinkedIn url.

      A couple of my topics:
      https://mangolassi.it/topic/15305/salt-grain-to-retrieve-users-present-on-minion-windows
      https://mangolassi.it/topic/18764/create-a-vm-on-vultr-using-terraform-on-gitlab
      https://mangolassi.it/topic/19224/gitlab-install-on-centos-using-salt

      posted in IT Careers
      F
      flaxking
    • Pluralsight Free Weekend

      Pluralsight has a free weekend promotion going on right now.

      https://pluralsight.pxf.io/c/1197078/668288/7490

      I'm a big fan of their courses, I find their videos to be high qualify and a great way to get an intro to something new.

      However if you sign up for a free Visual Studio Dev Essentials account, I believe there is still a promo for 3 months of free Pluralsight.

      posted in Training
      F
      flaxking
    • Salt grain to retrieve users present on minion (Windows)

      I've seen some doubts around about how useful Salt would be for desktop administration, so I thought I would share my Salt grain that makes things easier for me. It gives you a list of users that have profiles on that minion. So the end result is that you can do this in your states:

      {% for usr in grains['present_users'] %}
      
      C:\Users\{{ usr }}\AppData\Local\Something:
        file.directory:
          - makedirs: True
      
      {% endfor %}
      

      This has only been tested on Salt 2017.7.1, and it will definitely break with the next major release because they are changing some things that it relies on.

      To use this custom grain, create a _grains folder within your salt states folder/repo, then save this as a file there:

      presentusersgrain.py

      import socket
      
      import salt.utils
      if salt.utils.is_windows():
          import salt.utils.winapi
          import wmi
      
      def presentusers():
          if salt.utils.is_windows():
              with salt.utils.winapi.Com():
                  wmi_c = wmi.WMI()
                  userprofiles = [x.LocalPath.split('\\')
                                  for x in wmi_c.Win32_UserProfile()]
                  sysprof = ['systemprofile', 'ServiceProfiles']
                  userlist = [x[-1] for x in userprofiles
                              if not any(word in x for word in sysprof)]
              return {'present_users': userlist}
      
          return {'present_users': 'n/a'}
      

      Then run salt '*' saltutil.sync_grains to sync the custom grain to your minions. Now run salt '*' grains.items to see your new grain

      posted in IT Discussion salt saltstack windows
      F
      flaxking
    • DB Admin/Data Analyst (Remote)

      Job posting isn't up yet, so you guys are getting it first.

      Custom Software Solutions http://www.cssionline.com is going to be looking for someone with DBA experience so assist with our reporting and business analytics solutions and well as other projects working with our databases. Some programming experience is definitely an asset. The person who fills this position will be working closely with one of our DBAs/Developers.

      Experience in the following is an asset:
      VB6/C#
      MS SQL Server
      Power BI

      Email resume to [email protected]

      posted in Job Postings
      F
      flaxking
    • RDP - Whitelist IP address with 2 step authentication?

      I was looking at multiOTP, which looks like it would be a good free way of implementing 2-step authentication for RDP
      https://github.com/multiOTP/multiotp/wiki
      http://servilon.com/two-factor-authentication/

      But I would imagine that in SMB, people would find it annoying to have to get a code every time.

      And then I found this post that makes me think you could use the 2-step authentication in order to whitelist IPs

      https://www.reddit.com/r/sysadmin/comments/16y3da/2_factor_ssh_login_via_google_authentication/c80k44d/

      Maybe I'll try to lab it sometime

      posted in IT Discussion
      F
      flaxking
    • VyOS native Salt Minion

      I just stumbled across this https://github.com/vyos/vyos-salt-minion
      and then did some additional searching to discover that VyOS should be able to run as a salt minion in version 1.2

      posted in IT Discussion salt minion salt saltstack vyos
      F
      flaxking
    • Create a VM on Vultr using Terraform on GitLab

      Goal: Create a Vultr VM using Terraform. Get an idea of what would be required to manage this setup just using GitLab. (Next will be do the same with Salt Cloud and compare)

      1. Create a git repo on GitLab to store the Terraform config
      2. Get Docker container for Terraform
        I created my own based off of the Terraform image but with the Vultr plugin. It would be possible to use use the stock image and then download the plugin each time, but I figured that would be unnecessary.

      Dockerfile

      FROM alpine:3.8 AS downloader
      
      RUN apk --no-cache add wget
      
      RUN wget --no-check-certificate https://github.com/squat/terraform-provider-vultr/releases/download/v0.1.9/terraform-provider-vultr_v0.1.9_linux_amd64.tar.gz
      
      RUN tar xvzf terraform-provider-vultr_v0.1.9_linux_amd64.tar.gz
      
      FROM hashicorp/terraform:0.11.11
      
      WORKDIR /vultr/
      
      COPY --from=downloader /terraform-provider-vultr_v0.1.9 ./.terraform/plugins/linux_amd64/
      
      RUN terraform init
      

      I built the image locally (I don't think GitLab.com has a way of building images using the shared runners) and pushed it up to my GitLab Docker Registry

      1. Add my Terraform config file to the repo
        vultr.tf
      provider "vultr" {}
      
      data "vultr_region" "toronto" {
        filter {
          name   = "name"
          values = ["Toronto"]
        }
      }
      
      data "vultr_os" "centos" {
        filter {
          name   = "name"
          values = ["CentOS 7 x64"]
        }
      }
      
      data "vultr_plan" "starter" {
        filter {
          name   = "price_per_month"
          values = ["5.00"]
        }
      
        filter {
          name   = "ram"
          values = ["1024"]
        }
      }
      
      
      resource "vultr_instance" "example" {
        name              = "example"
        region_id         = "${data.vultr_region.toronto.id}"
        plan_id           = "${data.vultr_plan.starter.id}"
        os_id             = "${data.vultr_os.centos.id}"
        hostname          = "example"
      }
      
      1. Setup GitLab CI/CD
        Terraform itself has to store information about the state of a setup, otherwise it can't make the proper changes when the config changes. This state file might end up with sensitive information in it, so instead of storing it in the same GitLab repo, I created a new one in order to keep it separate from the config and created an SSH key for that repo that my main repo stores as an environment variable. The Vultr API key is also stored as an environment variable within the repo.
        .gitlab-ci.yml
      shared_prod:
        image: 
          name: registry.gitlab.com/username/terraform-vultr
          entrypoint: [""]
        tags:
        - docker
        stage: deploy
        script:
        - mkdir ~/.ssh
        - touch ~/.ssh/known_hosts
        - echo "$GITLAB_FINGER" >> ~/.ssh/known_hosts
        - touch ~/.ssh/id_ed25519
        - echo "$STATE_KEY" >> ~/.ssh/id_ed25519
        - chmod 400 ~/.ssh/id_ed25519
        - git clone [email protected]:username/terraformstate.git /state
        - cp -R /state/. /vultr
        - export VULTR_API_KEY=$VULTR_API_KEY
        - cp -R /vultr/. ./
        - terraform init
        - terraform apply -auto-approve -input=false
        after_script:
        - cp ./terraform.tfstate /vultr/
        - cd /vultr
        - git config --global user.email "[email protected]"
        - git config --global user.name "Pipeline"
        - git commit terraform.tfstate -m "Update state"
        - git push
        environment:
          name: shared_production
        only:
        - prod
      

      When run, it commits the terraform.tfstate file to the state repo when everything is finished. Ideally there should be some kind of locking mechanism in place so that it's not possible to run terraform when at the same time.
      Also, I created a prod branch in my main repo for the config to be run off of, rather than master.

      posted in IT Discussion
      F
      flaxking
    • The differences between how Salt and Ansible manage Windows

      I've never used Ansible, but I was looking through the source code today and discovered how fundamentally different it's approach to managing Windows is from Salt.

      In order for Salt states/modules to manage windows it heavily utilizes pywin32, which is a project that is a valiant effort to expose Windows APIs to python. It look like it relies on C++ for some of it's backend.

      Ansible uses powershell. It's all in ps1 files, with some snippets written in C# and embedded into the powershell script. Since it's using Powershell, this allows Ansible to tap into .Net, which gives it a development edge on Salt. They can utilize the .Net classes and Powershell commands already created for supporting Windows. Although coding in Powershell looks very ugly.

      posted in IT Discussion salt ansible
      F
      flaxking
    • RE: Has anyone got a guide to installing ScreenConnect on Fedora 30 with Let's Encrypt?

      @Scott

      It's just the web portal that's not encrypted without an ssl certificate, so it depends on how you're using screenconnect to determine what kind of risk that is.

      posted in IT Discussion
      F
      flaxking
    • RE: Alternative to FTP

      @siringo you might want to rethink Filezilla, last I heard it the installer was bundling some sketchy stuff with it. I just use WinSCP when needed.

      posted in IT Discussion
      F
      flaxking
    • RE: What is your perspective on the overall tone of interactions here on ML?

      @irj said in What is your perspective on the overall tone of interactions here on ML?:

      I like the tone, once you get used to it. It keeps you on your toes and makes you a better IT professional.

      I do agree it can be harsh for new people, but honestly I dont give a fuck. I like the challenging attitude.

      I feel the same. This is a discussion forum, not a QA site. Everything is open to be challenged, even if it wasn't the main topic of the post. Sometimes people's assumptions need to be identified and challenged before a question can really be answered.

      Imagine what kind of power trip @scottalanmiller could go on if no one challenged some of his posts head on 😁

      posted in Water Closet
      F
      flaxking
    • RE: Visual Resumes?

      @dbeato said in Visual Resumes?:

      @tim_g said in Visual Resumes?:

      @dbeato said in Visual Resumes?:

      @scottalanmiller said in Visual Resumes?:

      @networknerd said in Visual Resumes?:

      Regardless of the platform's intended purpose, isn't it about how someone leverages the platform to his / her advantage?

      No, it is not. It you put your profile on Craiglist, that reflects badly on you, does it not? It doesn't matter what content you put on there, the platform itself is part of the message.

      So where would be a good place to point to our projects ? Our own github or personal site?

      Interview with words.

      I understand and that’s how I do it, I meant for projects to be shown if in said interview is asked.

      Most IT projects aren't really that impressive. If you go into detail about a project that isn't really that impressive, then that will show your inexperience. And if you have an impressive project it will sound impressive even without going into too much detail. They will ask you about it in the interview if they want to know more.

      That being said, if you can show infrastructure as code on github, bitbucket, gitlab, etc. then put that link on your resume. However, depending on your work policies you might only be able to showcase personal project stuff on there. A dev can't showcase projects done on a closed source program, however there is generally more leeway with your infrastructure code.

      posted in IT Careers
      F
      flaxking
    • RE: Just one more failure...

      @pmoncho said in Just one more failure...:

      @dashrender

      I don't really use EMR/EHR's, mostly PM but I cannot imagine the enormous amounts of pain of switching EHR's.

      This is a good example of the risk of proprietary software as @scottalanmiller has mentioned.

      With something like GNU Health if you need new functionality, you can create it or hire someone to create it for you. It is modular. Since it is based on Tryton, you can probably have it as a browser based application now too.

      Just found video: https://www.youtube.com/watch?v=r72_D_uGvcg

      If you're previous and current EHR systems are so locked down by the vendor that a method can't be devised to get the data from the one to the other, that's a serious problem.

      posted in IT Discussion
      F
      flaxking
    • RE: Just a regular day

      My brother moved to Victoria, I stayed on the prairies. He makes more than double what I make, but he can't afford to buy a house out there. I own 120 acres.

      posted in Water Closet
      F
      flaxking
    • RE: Resume work

      System Engineer - Project Manager. You're try to appeal to multiple disciplines here. I'd create a different resume if you were applying to a Project Management job and focus on making this one look the part for engineering.

      Bullet points are your friend

      posted in IT Careers
      F
      flaxking
    • 1 / 1