Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    kara-1234
    @kara-1234
    found it! thanks again :)
    damianknopp
    @damianknopp
    yaml is a pain sometimes
    kara-1234
    @kara-1234
    agreed, and I have no experience with it.. this is also my first salt project. the learning curve isn't too bad, but it's a big difference than scripting/programing
    at lest to me it is.
    damianknopp
    @damianknopp
    does anyone have a suggestion. what would the best practice be to reset an /etc/hosts file to just loopback entries
    viq
    @viq
    @damianknopp file.managed
    damianknopp
    @damianknopp
    thanks! I will try out file.managed
    damianknopp
    @damianknopp
    file.managed did the trick thanks again @viq
    I have some minions that when I create them, they do not appear to be broadcasting a salt/cloud/id/create event to the master. Any suggestions?
    damianknopp
    @damianknopp
    nevermind these machines are not run under salt cloud and so I am going to fire a custom event
    James Howe
    @OrangeDog
    Hello. I thought the latest salt ran on python3, but the Ubuntu bionic packages still seem to be using python2?
    Daniel Wallace
    @gtmanfred_gitlab
    @OrangeDog are you talking about the bionic packages or the ones from repo.saltstack.com? because ubuntu manages the main repo packages, so that would be a question for them, but the repo.saltstack.com packages have a python3 repo for the python3 version of the packages.
    James Howe
    @OrangeDog
    @gtmanfred_gitlab Oh I see, there are PY2 and PY3 tabs https://repo.saltstack.com/#ubuntu
    This message was deleted
    Michael Verhulst
    @verhulstm
    Hello, all. I am interested in talking with folks who are using https://docs.saltstack.com/en/latest/topics/cloud/virtualbox.html Anyone here use that at their shops?
    Jothibasu
    @oliyavan
    @verhulstm yes tell me how can I help u
    Michael Verhulst
    @verhulstm
    @oliyavan i am trying to find out why the virtualbox driver was made with the vbox SDK while it could have been made with the CLI?
    I might be missing something here? like a complex use case maybe?
    so my issue is that the vbox sdk is extremely hard to install and not cross platform.
    i want to create a PR that replaces the use of the sdk with calls to the native cli
    but, i dont want to hinder any existing users
    i think my proposed refactor wont break backwards compatibility
    Michael Verhulst
    @verhulstm
    after my proposed change salt users won't need all the c compilers and linkers setup on their boxes. you currently need complex build tools in order to compile vbox sdk.
    it takes more complex build tools just for this then any other part of salt that i know of
    Brett Benassi
    @dubb-b
    @gtmanfred_gitlab Would you be able to help me with an issue? I am testing some stuff in Drone and looks like you got things working there.
    viq
    @viq
    It's usually quicker to ask the full question than to wait for the round trip time ;)
    Brett Benassi
    @dubb-b
    Good point. Just cannot get kitchen to connect in Docker In Docker via SSH. Using Drone with Docker and everything works except the SSH connections. I see you have used socket: TCP in your repo in the .kitchen.yml vs. the Unix sock.
    Daniel Wallace
    @gtmanfred_gitlab
    @dubb-b can we please use the salt community slack instead of this?
    Brett Benassi
    @dubb-b
    @gtmanfred_gitlab Yeah, can do. I figured it out though.
    Saulius V.
    @CutePotatoDev
    Hello. Have some misunderstanding here. In girhub repo salt version 2018.3 contains some changes in ./states/file.py file. but in centOS package salt-2018.3.3-1.el7.noarch.rpm in same file those changes not exist .
    Kevin Long
    @kevinlong206
    Is it possible to log to the /var/log/salt/minion log from a .py file renderer (used in file.mangaged, template: py)? I did import logging, logger = logging.getLogger(name) and it throws no errors, but doesnt make it to the log. my log statements are logger.debug, and i am doing -l debug when invoking salt
    arnoldyahad
    @arnoldyahad
    hey guys, any idea if file.directory can just change the permissions of an existing directory?
    viq
    @viq
    @arnoldyahad yes, it can
    arnoldyahad
    @arnoldyahad
    hey again, is there a module for partitioning disks? like fdisk
    There's also lvm state
    arnoldyahad
    @arnoldyahad
    thanks @viq but i dont see where i can choose a disk and really choose which partitions i want to do and in what size
    do you have an example state?
    viq
    @viq
    No, I don't have an example state
    But since salt operates more at a system level, I feel a bit that disk partitioning may be responsibility of provisioning tools, since it usually happens before there's any system on the disk
    arnoldyahad
    @arnoldyahad
    any idea how to sync a specific grains file in the middle of a running sls file ?
    Kevin Long
    @kevinlong206
    Is it possible to re-run a specific JID ? In my case, I'm wondering if I can re-run a 'runner' which was trigger via salt API from an API call another team sent in.
    So if my runner fails, I can re-call it with the exact same params that were sent in on a specific run from their API call
    Kevin Long
    @kevinlong206
    Hey folks. I am trying to target a specific state to run rather than doing an entire highstate in my prod environment
    I'm wondering if this can be done given the scenario:

    salt * state.sls formulas.signal_science
    ia-master-2a-01.node.us-west-2.preview.ionic.com:

    Data failed to compile:

    Cannot extend ID 'nginx' in 'base:formulas.signal_science'. It is not part of the high state.

    This is likely due to a missing include statement or an incorrectly typed ID.
    Ensure that a state with an ID of 'nginx' is available
    in environment 'base' and to SLS 'formulas.signal_science'

    Im just trying to run a state that generates a config file for another app, but it has a require_in for some nginx config verification ..
    so that state.sls call fails
    LukeB
    @lukebal
    when looking at the directory structure of a windows minion, where does /srv/salt map to? I'm trying to create the necessary folder structure on a masterless windows minion for state files, but all documentation points to /srv/salt which doesn't exist by default on windows minions
    Davide Madrisan
    @madrisan
    According to the documentation
    https://docs.saltstack.com/en/latest/ref/configuration/master.html#roots
    it should correspond to c:\salt\srv\salt.