Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-03-01

| Channels | #salt index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:02 bujordan joined #salt
00:05 baweaver joined #salt
00:08 flowstate joined #salt
00:08 bujordan joined #salt
00:11 KyleG joined #salt
00:11 KyleG joined #salt
00:15 berserk joined #salt
00:18 hoonetorg joined #salt
00:20 Jimlad_ joined #salt
00:20 Nazca joined #salt
00:22 brianfeister joined #salt
00:29 flowstate joined #salt
00:33 jfelchner joined #salt
00:37 bujordan joined #salt
00:39 bujordan joined #salt
00:45 baweaver joined #salt
00:46 ggoZ joined #salt
00:53 antpa joined #salt
00:53 antpa joined #salt
00:55 berserk joined #salt
00:57 dendazen joined #salt
00:59 bujordan joined #salt
01:00 arif-ali joined #salt
01:04 bujordan joined #salt
01:17 iceyao joined #salt
01:17 RobertChen117 joined #salt
01:23 nidr0x joined #salt
01:30 brianfeister joined #salt
01:30 fracklen joined #salt
01:32 iceyao_ joined #salt
01:32 viq joined #salt
01:34 whytewolf humm, wish i was actually paying attention earlyer. ZiLi0n might have been looking for the saltmod.wait_for_event [function saltmod is the state module that orchestration mostly uses] as a way to wait for the reactor events of the minions coming back. [although i would recomend restarting them one at a time.
01:35 hal58th joined #salt
01:36 whytewolf never mind. i see he found it
01:37 whytewolf the part he was missing was he should require on the event_for_event
01:38 flowstate joined #salt
01:41 joe_n joined #salt
01:46 bhosmer_ joined #salt
01:46 johnkeates joined #salt
01:47 leev joined #salt
01:48 nidr0x joined #salt
01:55 bujordan joined #salt
01:56 dimeshake joined #salt
01:57 racooper joined #salt
02:04 akhter joined #salt
02:04 iceyao joined #salt
02:05 keltim joined #salt
02:06 zzzirk joined #salt
02:09 brianfeister joined #salt
02:09 brianfeister joined #salt
02:11 johnkeates left #salt
02:14 catpigger joined #salt
02:16 flowstate joined #salt
02:18 zzzirk joined #salt
02:22 Azid joined #salt
02:23 subsignal joined #salt
02:24 quasiben joined #salt
02:26 rem5 joined #salt
02:28 onlyanegg joined #salt
02:31 baweaver joined #salt
02:31 donmichelangelo joined #salt
02:37 flowstate joined #salt
02:38 bujordan joined #salt
02:39 malinoff joined #salt
02:40 bhosmer_ joined #salt
02:45 RobertChen117 cmd.run to call a bash script, should I put & or no need ?
02:46 RobertChen117 IE.  name: run.sh &
02:46 iceyao_ joined #salt
02:49 ageorgop joined #salt
03:00 bujordan joined #salt
03:04 bujordan joined #salt
03:05 zzzirk joined #salt
03:05 joe_n joined #salt
03:16 zzzirk joined #salt
03:18 justanotheruser joined #salt
03:20 virtualguy joined #salt
03:21 alexanderilyin joined #salt
03:22 rem5 joined #salt
03:29 favadi joined #salt
03:30 bujordan joined #salt
03:30 zzzirk joined #salt
03:34 bhosmer joined #salt
03:35 iceyao joined #salt
03:37 RobertChen117 joined #salt
03:37 bujordan joined #salt
03:37 quasiben joined #salt
03:37 flowstate joined #salt
03:39 bujordan joined #salt
03:40 brianfeister joined #salt
03:41 bujordan joined #salt
04:04 zzzirk joined #salt
04:17 aharvey joined #salt
04:18 aharvey Could someone elaborate more on “account_exists : False
04:18 aharvey Needs to be set to True to allow re-using an existing account” please?  I’m working on domain adds via salt and the phrasing doesn’t make much sense to me.  I have a user in the domain that is solely used for adding hosts to said domain.  Should my settings be True or False?
04:20 zzzirk joined #salt
04:21 anmol joined #salt
04:21 alexanderilyin joined #salt
04:28 bhosmer joined #salt
04:33 favadi joined #salt
04:34 zzzirk_ joined #salt
04:37 flowstate joined #salt
04:45 RobertChen117 joined #salt
04:46 k_sze[work] joined #salt
04:46 k_sze[work] What's the best way to tell if a minion is doing stuff, not from the salt master machine, but directly from the minion machine?
04:47 Shirkdog I am thinking the logs
04:48 Shirkdog but I remember seeing the way to run at least a test on the minion
04:57 bujordan joined #salt
04:57 cberndt joined #salt
04:57 zsoftich4 joined #salt
04:58 zzzirk joined #salt
05:07 bujordan joined #salt
05:09 RobertChen117 joined #salt
05:12 Patch joined #salt
05:23 bhosmer_ joined #salt
05:28 alexanderilyin joined #salt
05:29 zzzirk joined #salt
05:32 fracklen joined #salt
05:35 favadi joined #salt
05:37 flowstate joined #salt
05:38 brianfeister joined #salt
05:41 akhter joined #salt
05:44 zzzirk_ joined #salt
05:46 ajw0100 joined #salt
06:00 jhauser joined #salt
06:04 _JZ_ joined #salt
06:07 garphy joined #salt
06:09 RobertChen117 joined #salt
06:09 antpa joined #salt
06:11 sauvin joined #salt
06:13 anthpa joined #salt
06:17 bhosmer_ joined #salt
06:20 antpa joined #salt
06:21 Garo_ joined #salt
06:22 antpa_ joined #salt
06:24 mdupont joined #salt
06:31 antpa joined #salt
06:33 opdude joined #salt
06:35 neilf__ joined #salt
06:36 mariusv joined #salt
06:37 flowstate joined #salt
06:41 onlyanegg joined #salt
06:50 felskrone joined #salt
06:52 kshlm joined #salt
06:53 malinoff joined #salt
06:56 lunarlamp joined #salt
07:01 Azid joined #salt
07:11 bhosmer_ joined #salt
07:12 iceyao joined #salt
07:15 iggy salt-call on the minion
07:16 Miouge joined #salt
07:17 antpa joined #salt
07:29 LondonAppDev Hey guys, how would you put a 'watch_in' on a symlink? I want my nginx to restart after I set the symlink from sites-available to sites-enabled...
07:29 LondonAppDev I notice that salt.states.file.symlink doesn't have a 'watch_in' statement.
07:34 netcho joined #salt
07:35 evle joined #salt
07:37 flowstate joined #salt
07:37 Azid joined #salt
07:43 impi joined #salt
07:48 KermitTheFragger joined #salt
07:50 fracklen joined #salt
07:51 fracklen joined #salt
07:56 jbrnds joined #salt
08:05 kshlm joined #salt
08:05 bhosmer_ joined #salt
08:08 fooma joined #salt
08:08 AndreasLutro LondonAppDev: all states have watch/watch_in
08:08 LondonAppDev AndreasLutro: ok, thank you.
08:10 colegatron joined #salt
08:11 Rumbles joined #salt
08:12 jbrnds2 joined #salt
08:22 dariusjs joined #salt
08:26 jbrnds joined #salt
08:26 impi joined #salt
08:29 RobertChen117 joined #salt
08:35 josuebrunel joined #salt
08:37 garphy joined #salt
08:37 dgutu joined #salt
08:37 flowstate joined #salt
08:38 josuebrunel joined #salt
08:40 fredvd joined #salt
08:42 vilitux joined #salt
08:43 Hydrosine joined #salt
08:45 brianfeister joined #salt
08:45 slav0nic joined #salt
08:48 akhter joined #salt
08:57 joe_n joined #salt
08:59 atmosx joined #salt
09:00 bhosmer joined #salt
09:04 linjan joined #salt
09:04 fracklen joined #salt
09:05 fracklen joined #salt
09:09 atmosx_ joined #salt
09:10 GreatSnoopy joined #salt
09:12 ajmath joined #salt
09:13 Netwizard joined #salt
09:16 kawa2014 joined #salt
09:16 iceyao joined #salt
09:17 freeaks joined #salt
09:19 pooogles joined #salt
09:21 s_kunk joined #salt
09:21 dmaiocchi joined #salt
09:27 sfxandy joined #salt
09:32 duncanmv joined #salt
09:33 mitsuhiko joined #salt
09:36 MadHatter42 joined #salt
09:37 flowstate joined #salt
09:46 freeaks i'm trying to access a variable with a dynamic part in its name
09:46 freeaks http://paste.debian.net/410539/
09:46 freeaks WHITELIST_GENERIC works,
09:46 freeaks but WHITELIST_CUSTOM does not
09:47 AndreasLutro use dict[key] syntax instead of dict.key
09:47 freeaks i'm probably doing a syntax error here ?
09:48 freeaks AndreasLutro, like this: WHITELIST_CUSTOM={% my_variable['whitelist' + grains['id']|join(',') %}
09:49 freeaks would that work ?
09:49 freeaks i forgot a closing ']' but other than that ?
09:51 AndreasLutro yep. you might want to use ~ for string concatenation instead of +
09:51 freeaks so this makes:  WHITELIST_CUSTOM={% my_variable['whitelist' ~ grains['id']]|join(',') %}
09:51 freeaks ?
09:52 freeaks thanks for the help :)
09:52 freeaks hum
09:53 freeaks i get error:
09:53 freeaks SaltRenderError: Jinja syntax error: Encountered unknown tag 'my_variable'.; line 31
09:54 bhosmer joined #salt
09:54 jhauser joined #salt
10:00 jfelchner joined #salt
10:00 malinoff it's {{ my_variable['whitelist' + grains['id']] | join(',') }}
10:00 AndreasLutro you probably want {{ }} instead of {% %}
10:07 jbrnds2 joined #salt
10:15 jbrnds joined #salt
10:17 colegatron left #salt
10:34 brianfeister joined #salt
10:36 flowstate joined #salt
10:40 gmoro joined #salt
10:42 dgutu joined #salt
10:44 ravenx joined #salt
10:45 keimlink joined #salt
10:45 ravenx is it possible to use saltstack to git checkout certain tags and/or release versions?
10:48 ronnix joined #salt
10:48 bhosmer joined #salt
10:51 freeaks i have two array in jinja, like this: ignoreip = {{ my_variable.whitelist|join(' ') }}  and  ignoreip = {{ my_variable['whitelist.' + grains['id']]|join(' ') }}
10:51 freeaks how can i concatenate both so i get only 1 'ignoreip = ..' ?
10:53 freeaks here's what i have:  http://paste.debian.net/410564/
10:54 freeaks it works but, the 2nd ignoreip will overwrite the 1st one .. i would like to create one 'ignoreip = ...' from both lists
10:56 pfallenop joined #salt
10:57 brianfeister joined #salt
10:58 freeaks n, i got it :)
10:58 freeaks nm
11:00 amcorreia joined #salt
11:05 ravenx when i break my hosts names down, in my top.sls file
11:05 malinoff joined #salt
11:06 ravenx like 'host1,host2,host3' instead of just 'host*'  it keeps saying that "No Top file or external nodes data matches found "
11:14 smakar joined #salt
11:16 pfallenop joined #salt
11:20 RobertChen117 joined #salt
11:20 ggoZ joined #salt
11:23 jgelens joined #salt
11:25 ravenx anyone here?
11:34 iceyao joined #salt
11:36 flowstate joined #salt
11:36 ronnix joined #salt
11:38 iceyao_ joined #salt
11:41 wendall911 joined #salt
11:42 fracklen joined #salt
11:42 bhosmer joined #salt
11:43 fracklen joined #salt
11:46 zenlot joined #salt
11:46 antpa joined #salt
11:51 ronnix joined #salt
11:55 impi joined #salt
11:57 antpa joined #salt
12:04 i90rr joined #salt
12:05 joe_n joined #salt
12:06 ronnix joined #salt
12:13 favadi joined #salt
12:17 kshlm joined #salt
12:22 elsmo joined #salt
12:26 flowstate joined #salt
12:26 elsmo joined #salt
12:32 iceyao joined #salt
12:32 invalidexception joined #salt
12:32 illern joined #salt
12:36 iceyao_ joined #salt
12:36 flowstate joined #salt
12:37 bhosmer joined #salt
12:37 flowstate joined #salt
12:38 flowstate joined #salt
12:38 baoboa joined #salt
12:40 Lee- joined #salt
12:42 johnkeates joined #salt
12:45 rory joined #salt
12:53 fracklen joined #salt
12:58 colttt joined #salt
13:01 patrek joined #salt
13:11 dijit ravenx: you can do git in saltstack.
13:11 dijit it's in the docs.
13:11 dijit https://docs.saltstack.com/en/latest/ref/states/all/salt.states.git.html
13:12 dijit and 'host1,host2,host3' is not a valid glob match
13:12 dijit you can do 'host1 and host2 and host3'
13:12 dijit or 'host[123]'
13:13 pooogles joined #salt
13:19 anmol joined #salt
13:25 pooogles_ joined #salt
13:31 bhosmer joined #salt
13:37 toastedpenguin joined #salt
13:38 numkem joined #salt
13:48 hugokernel joined #salt
13:49 dendazen joined #salt
13:51 Taz joined #salt
13:52 sfxandy joined #salt
13:53 akhter joined #salt
13:54 jor_ joined #salt
13:57 PepperIndustries joined #salt
14:01 rome_390 joined #salt
14:01 toastedpenguin joined #salt
14:01 Miouge joined #salt
14:04 denys joined #salt
14:05 subsignal joined #salt
14:05 impi joined #salt
14:06 west575 joined #salt
14:06 malinoff joined #salt
14:07 subsignal joined #salt
14:09 DammitJim joined #salt
14:09 bujordan joined #salt
14:11 racooper joined #salt
14:14 kawa2014 joined #salt
14:18 ekristen joined #salt
14:19 toastedpenguin joined #salt
14:19 rmrfroot joined #salt
14:23 philaa joined #salt
14:23 philaa left #salt
14:25 rm_jorge joined #salt
14:26 west575_ joined #salt
14:28 phila joined #salt
14:30 bhosmer joined #salt
14:32 bhosmer joined #salt
14:34 Tanta joined #salt
14:35 antpa joined #salt
14:36 akhter joined #salt
14:37 cpowell joined #salt
14:37 bhosmer_ joined #salt
14:41 s_kunk joined #salt
14:41 fracklen joined #salt
14:48 PepperIndustries joined #salt
14:48 zsoftich4 joined #salt
14:49 mpanetta joined #salt
14:50 colttt joined #salt
14:58 hlub I am planning to add some kind of ovirt support to salt but don't know how it should be organized.
14:59 perfectsine joined #salt
14:59 pduersteler joined #salt
15:00 hlub I assume that with salt-cloud it would mean adding ovirt as a cloud provider
15:01 hugokernel Hi, I share with you a formula for setup and configure backupmanager (https://github.com/hugokernel/backupmanager-formula) cc EvaSDK ;)
15:02 hlub but is salt-cloud meant to be the interface for operations such as adding/removing physical nodes and configuring the cloud.
15:04 fracklen joined #salt
15:05 EvaSDK hugokernel: heya :)
15:11 netcho joined #salt
15:12 zzzirk joined #salt
15:15 Brew joined #salt
15:17 keltim joined #salt
15:21 flowstate joined #salt
15:30 atmosx joined #salt
15:36 netcho joined #salt
15:36 hasues joined #salt
15:37 hasues left #salt
15:38 Aleks3Y joined #salt
15:39 JohnnyRun joined #salt
15:40 N-Mi joined #salt
15:40 renaissancedev joined #salt
15:42 renaissancedev So, what do I need to be able to run a salt minion as a non-privileged user with a set of configuration files and associated other directories rooted at a path below a users home directory?
15:42 renaissancedev When I try to run it with -c <file_path> and a `root_dir: /home/user/path/to/root` it throws errors about not having permissions to `/etc/salt`
15:43 newsalt joined #salt
15:43 newsalt Anyone out there have experience with using SaltStack to pull artifacts from Nexus?
15:44 newsalt Or do I have to pre-stage those artifacts in a share?
15:47 fooma joined #salt
15:47 wm-bot4 joined #salt
15:48 RabidCicada joined #salt
15:49 berserk joined #salt
15:53 fracklen joined #salt
15:55 TjackNoire Is it possible to run something like "apt full-upgrade -y" with the pkg.upgrade execution module?
16:00 shaggy_surfer joined #salt
16:02 deus_ex1 joined #salt
16:02 vpm joined #salt
16:04 antpa joined #salt
16:06 illern joined #salt
16:06 babilen TjackNoire: dist_upgrade=True
16:06 babilen (pkg.upgrade argument)
16:07 grumm_servire joined #salt
16:08 TjackNoire Thanks!
16:09 babilen That uses apt-get and not apt though. But then for *that* it shouldn't make a difference.
16:10 fxhp joined #salt
16:11 bujordan joined #salt
16:12 flowstate joined #salt
16:12 nomad_fr_ hi
16:12 TjackNoire Makes sense, babilen - apt keeps nagging me that it doesn't have a stable command line interface yet and shouldn't be used in scripts ;-)
16:14 nomad_fr_ does minion and master on different vlan/network that are fully routed can work together ?
16:16 grumm_servire joined #salt
16:17 nomad_fr_ I mean does they have to be on the same broadcast domain ?
16:17 ChloeD nope.
16:17 ChloeD they will work together
16:17 nomad_fr_ ChloeD: ok thanks
16:17 ChloeD if they can talk together
16:18 ChloeD there's no magic.
16:18 nomad_fr_ ok I've trouble to have ubuntu minion working with debian master (on different netwotk)
16:19 nomad_fr_ but some other debian server can communicate (in the same network)
16:19 nomad_fr_ nmap says the port are open
16:19 ChloeD when you start the minion and use a tcpdump do you see any hello ?
16:19 nomad_fr_ from the client to the server
16:19 nomad_fr_ I don't try this
16:19 ChloeD is the minion key in the list of non-accepted keys?
16:20 ChloeD <- no expert
16:20 nomad_fr_ no key at all form the other network
16:21 nomad_fr_ I 've to go I will try this tomorrow
16:21 nomad_fr_ thanks
16:22 ronnix joined #salt
16:23 Miouge joined #salt
16:25 edrocks joined #salt
16:25 dfinn joined #salt
16:26 MadHatter42 joined #salt
16:26 zmalone joined #salt
16:27 renaissancedev So, what do I need to be able to run a salt minion as a non-privileged user with a set of configuration files and associated other directories rooted at a path below a users home directory?
16:27 renaissancedev When I try to run it with -c <file_path> and a `root_dir: /home/user/path/to/root` it throws errors about not having permissions to `/etc/salt`
16:27 berserk joined #salt
16:31 jimklo joined #salt
16:32 berserk joined #salt
16:36 ajw0100 joined #salt
16:38 iceyao joined #salt
16:39 berserk joined #salt
16:42 RabidCicada renaissancedev: Can you list the exact command line you are using?  I get the feeling from your statement that you are mixing salt-call and minion configuration parameters
16:43 RabidCicada Also...it's just always good to rule out typos :)
16:44 Miouge joined #salt
16:46 Miouge_ joined #salt
16:46 impi joined #salt
16:46 akhter joined #salt
16:47 jfelchner joined #salt
16:47 Miouge joined #salt
16:48 pfallenop joined #salt
16:52 ronnix joined #salt
16:55 akhter joined #salt
16:59 kahiru joined #salt
17:00 Miouge joined #salt
17:03 netcho joined #salt
17:03 netcho joined #salt
17:03 onlyanegg joined #salt
17:04 pduersteler joined #salt
17:11 writtenoff joined #salt
17:14 renaissancedev joined #salt
17:16 renaissancedev RabidCicada: http://pastebin.com/xGxuGmq6
17:16 renaissancedev That's what I'm running on the command line and the output I'm getting.
17:28 murrdoc joined #salt
17:29 chadhs joined #salt
17:29 norii joined #salt
17:29 tracphil joined #salt
17:30 chadhs you can't seem to use an `unless` statement in an include
17:30 chadhs what's a good way to conditionally include something?
17:31 tracphil chadhs: base it on grains
17:31 tracphil if 'os_family == Debian
17:31 tracphil type of thing
17:32 chadhs what about the existence of a user
17:32 chadhs i dont want to include something if it's my local vagrant instance
17:33 urda joined #salt
17:35 Fiber^ joined #salt
17:35 tracphil chadhs: are you using virtualbox with vagrant
17:35 chadhs yes, so i could base it on ipscheme perhaps
17:35 chadhs what were you thinking?
17:35 tracphil maybe base it onthe grain "virtual"
17:36 tracphil salt "hostname" grains.get virtual
17:36 tracphil if virtual returns virtualbox then use it
17:36 urda Can Master-less minion mode use the Git FS and Git Pillar tech ?
17:37 toastedpenguin joined #salt
17:38 chadhs that could work
17:38 chadhs xen vs kvm
17:39 tracphil chadhs: https://github.com/saltstack/salt/blob/develop/salt/grains/core.py#L448
17:39 toastedpenguin left #salt
17:42 jrklein joined #salt
17:42 peter-xyz joined #salt
17:43 amcorreia joined #salt
17:44 peter-xyz anybody using virt.disk?
17:44 tkharju joined #salt
17:45 LondonAppDev Is it possible to import a sqldump file with salt?
17:46 dijit yes
17:46 dijit cmd.run
17:47 dijit you can do anything.
17:47 LondonAppDev dijit: ok sweet.
17:47 dijit I'd suggest making it stateful though
17:47 LondonAppDev Yeah so like a check to see if it exists already.
17:48 dijit yep
17:48 LondonAppDev Sweet
17:48 Rumbles joined #salt
17:49 flowstate joined #salt
17:49 duncanmv joined #salt
17:50 chadhs what's the way to negate a statement in salt conditionals?
17:51 chadhs {% if 'VirtualBox' in grains['gpus'] %}
17:51 chadhs replace in with not in?
17:51 jab416171 chadhs, yes
17:53 fyb3r joined #salt
17:53 anthpa joined #salt
17:54 zzzirk joined #salt
17:59 ageorgop joined #salt
18:00 chadhs thnx
18:01 ecdhe joined #salt
18:02 nate_c joined #salt
18:02 subsigna_ joined #salt
18:05 baweaver joined #salt
18:05 flowstate joined #salt
18:07 antpa joined #salt
18:09 numkem is there a way to get more output as to why an execution module is being rejected on a specific minion? It works fine on one but the other one just fails. I've seen this happen because there was missing dependencies but running the script manually works fine
18:09 flowstate joined #salt
18:12 brianfeister joined #salt
18:12 bujordan joined #salt
18:12 Rumbles joined #salt
18:14 notnotpeter joined #salt
18:17 spiette joined #salt
18:22 asoc joined #salt
18:25 shaggy_surfer joined #salt
18:27 shaggy_surfer joined #salt
18:28 serverascode joined #salt
18:30 XenophonF how does one do a DNS query in a jinja template?
18:31 JamieH_ joined #salt
18:31 bujordan joined #salt
18:31 copelco_ joined #salt
18:31 robins joined #salt
18:32 fracklen joined #salt
18:32 Phtes_ joined #salt
18:32 XenophonF hm, maybe the dig module...
18:33 munhitsu__ joined #salt
18:33 dlam joined #salt
18:33 mattl_ joined #salt
18:33 XenophonF or better yet, dnsutil - no external dependencies
18:33 djinni`_ joined #salt
18:34 permalac joined #salt
18:34 rideh- joined #salt
18:36 akhter joined #salt
18:39 sarlalian joined #salt
18:41 toastedpenguin joined #salt
18:41 flowstate joined #salt
18:42 fracklen joined #salt
18:44 Miouge joined #salt
18:44 voileux joined #salt
18:48 onlyaneg1 joined #salt
18:48 shaggy_surfer1 joined #salt
18:48 michelangelo joined #salt
18:48 fyb3r1 joined #salt
18:48 wendall911 joined #salt
18:48 calculon joined #salt
18:48 LondonAppDev__ joined #salt
18:48 jbrnds joined #salt
18:48 peter-xyz2 joined #salt
19:05 ilbot3 joined #salt
19:05 Topic for #salt is now Welcome to #salt! | Latest Version: 2015.8.7 | Register for SaltConf16: http://saltconf.com/register/ | Paid support available for open source Salt! https://www.saltstack.com/support/ | Logs: http://irclog.perlgeek.de/salt/ | Paste: https://gist.github.com/ (please don't multiline paste into channel) | Ask with patience as we are volunteers and may not have immediate answers
19:06 spiksius joined #salt
19:06 kaptk2 joined #salt
19:10 sarlalian joined #salt
19:10 mavhq joined #salt
19:11 futuredale_ joined #salt
19:12 Eureka703 joined #salt
19:12 bhosmer joined #salt
19:12 Sacro joined #salt
19:13 jfelchner joined #salt
19:13 nethershaw joined #salt
19:13 kevinquinnyo if i restart the salt-master, will all "presence_events" be fired on start?
19:13 kevinquinnyo if that makes sense
19:14 Cignacio joined #salt
19:14 jhauser joined #salt
19:15 netcho joined #salt
19:15 drags joined #salt
19:16 conan_the_destro joined #salt
19:18 sarlalia1 joined #salt
19:18 onlyanegg joined #salt
19:19 GreatSnoopy joined #salt
19:20 spaceSub joined #salt
19:20 MindDrive joined #salt
19:24 akhter joined #salt
19:24 fyb3r1 kevinquinnyo: no. youll get start and new events
19:25 fyb3r1 but it takes at least one round of event before youll see lost and present
19:28 fracklen joined #salt
19:30 kevinquinnyo fyb3r1: by "one round of event" are you referring to the salt-master's polling interval for presence events?
19:31 kevinquinnyo "Events fired on a regular interval about currently connected, newly connected, or recently disconnected minions. Requires the presence_events setting to be enabled."  but what is that regular interval, do you know?
19:31 Fabbe joined #salt
19:31 smakar joined #salt
19:31 higuita joined #salt
19:31 tim_s007 joined #salt
19:31 lkannan joined #salt
19:31 mihait joined #salt
19:31 CaptTofu joined #salt
19:31 logandg joined #salt
19:31 goki joined #salt
19:31 aboe joined #salt
19:31 rodr1c joined #salt
19:31 antonw joined #salt
19:31 synical joined #salt
19:31 ramblinpeck joined #salt
19:31 Eugene joined #salt
19:31 adongy joined #salt
19:31 dijit joined #salt
19:31 mrbobbytables joined #salt
19:31 theanalyst joined #salt
19:31 Ouzo_12 joined #salt
19:32 baweaver joined #salt
19:32 tim_s007 joined #salt
19:33 onlyanegg joined #salt
19:33 CaptTofu joined #salt
19:34 antonw joined #salt
19:42 keimlink joined #salt
19:42 fracklen joined #salt
19:43 nlb joined #salt
19:45 josuebrunel joined #salt
19:47 jfred joined #salt
19:47 zzzirk_ joined #salt
19:54 akhter joined #salt
19:55 ggoZ joined #salt
20:00 akhter joined #salt
20:01 dfinn joined #salt
20:03 kevinquinnyo when using a 'watch' requisite are you allowed to use a glob for the state name being watched, for instance add-website-*
20:03 kevinquinnyo where add-website might be add-website-example2.com or add-website-example2.com
20:04 kevinquinnyo example1.com or example2.com rather
20:04 AndreasLutro you should, though I recall trying it and it not working
20:05 AndreasLutro I know it works on file states if the state id and name match
20:05 kevinquinnyo ok i'll give it a shot
20:06 kevinquinnyo doesn't seem to work for me
20:07 kevinquinnyo i have an nginx.config.sls that has something like: states['/etc/nginx/sites-available/{0}'.format(website)] = { ... }
20:08 kevinquinnyo in a service.running for nginx i have 'watch': [ {'file': '/etc/nginx/sites-available/*'} ]
20:08 kevinquinnyo manually changing that file and re-running it's not restarting the service
20:08 MulX joined #salt
20:08 akhter_1 joined #salt
20:11 kevinquinnyo well hmm it also doesnt work when i pass it the explicity file.managed key either so something else must be wrong with what im doing
20:16 onlyanegg joined #salt
20:17 jeffspeff joined #salt
20:17 ry joined #salt
20:19 jeffspeff joined #salt
20:21 spiette joined #salt
20:21 jeffspeff https://github.com/saltstack/salt/issues/31591
20:21 saltstackbot [#31591]title: pkg.list_pkgs Passed invalid arguments to pkg.list_pkgs: sequence item 0: expected string, int found | ## Description of Issue/Question...
20:22 keimlink joined #salt
20:26 flowstate joined #salt
20:27 bujordan joined #salt
20:32 quasiben when changing the master config file do you have to restart salt-master for the changes to take effect ?
20:32 zengine joined #salt
20:32 quasiben is it possible to change the master config on the CLI using wheel.apply ?
20:37 jeffspeff quasiben, i'm not sure about the wheel.apply command, but you must restart the master service if you want to apply changes made to the master config
20:37 quasiben jeffspeff, thanks
20:38 quasiben any idea if you can use a unix group inside of client_acl ?
20:38 quasiben so far i've only had success with listing users explicitly
20:38 saywhat joined #salt
20:38 Vivek joined #salt
20:39 iggy kevinquinnyo: AndreasLutro: it's specific to file states
20:39 onlyanegg joined #salt
20:41 saywhat Hey guys, so I got Salt working with my states/pillars with github as my backend. Each branch is an "environment" meaning, base/development/qa. I was so focused on getting that to work, I forgot all about different server types. What's the most straight forward method to handle different server types in one environment, e.g., application server and database server. Each belong in said environment such as development, but both have dif
20:41 saywhat I found this http://drivingthestrugglebus.com/saltstack-environments/ which makes sense. But maybe i'm retarded, what does my roles pillar/grain look like for a server other than graphite?
20:42 GreatSnoopy joined #salt
20:42 saywhat All this makes me want to just run it masterless.
20:43 AndreasLutro saywhat: note that using grains for roles is insecure, if your hosts get compromised a lot of damage can be done
20:43 AndreasLutro saywhat: I recommend just matching on hostname in top.sls - 'graphite*': ...
20:44 iggy using grains to target pillars can be
20:44 iggy general use of it as a role, not so much (if you have sensitive data in pillars like you're supposed to)
20:45 saywhat oh i see
20:45 saywhat match the minion ID. wow, super basic.
20:46 AndreasLutro good point; states are public anyway, so it doesn't really matter how you target those
20:46 saywhat sometimes you get so wrapped up in this stuff, the most obvious answer isn't apparent.
20:46 iggy if you're like I've been in the past, you figure you're absolutely f'ed either way if someone gets enough access on your minion to change grains that you just use grains for everything anyway
20:47 AndreasLutro not sure I agree with that
20:48 brianfeister joined #salt
20:48 trevor joined #salt
20:48 AndreasLutro I mean you'd want to minimise the damage done regardless
20:49 baweaver joined #salt
20:50 tracphil saywhat: look into reclass
20:52 saywhat tracphil: nice thanks!
20:52 tracphil It made my life easier and now I don't manage top files at all (it doesn't require them).
20:53 NeckBeardPrince joined #salt
20:53 trevor left #salt
20:54 NeckBeardPrince joined #salt
20:59 shaggy_surfer joined #salt
21:01 saywhat On another note, are lots of people running salt masterless? I'm still in the stages of building out our environment on AWS. Trying to have everything be "ephemeral" which would mean do I really need to have mass execution?
21:02 saywhat Our application servers run a Java app and that's it. All state is in RDS
21:03 saywhat Sure I'll have a Consul cluster, vault, etc. But I can't imagine needing to be able to mass execute on all of the server. I guess I could always use salt-ssh?
21:09 spiette joined #salt
21:10 murrdoc if they are masterless then you cant
21:11 murrdoc does jinja have a 'startswith' match
21:11 pooogles joined #salt
21:13 growlinux joined #salt
21:14 dkrae joined #salt
21:15 zengine_ joined #salt
21:18 sarlalian joined #salt
21:18 Rumbles joined #salt
21:20 flowstate joined #salt
21:21 joe_n joined #salt
21:22 Tanta SaltStack and ronin, two things that require no master
21:26 hasues joined #salt
21:29 hasues left #salt
21:29 cyborg-one joined #salt
21:30 voileux joined #salt
21:35 aw110f joined #salt
21:39 noraatepernos joined #salt
21:42 noraatepernos Can file.managed not use a source file local to the deployment instance?  We have a jinja config file committed to our app repository.  All the references I see to file.managed source is that it has to be salt:// or http:// etc.
21:44 Miouge joined #salt
21:44 noraatepernos oh nevermind!  https://github.com/saltstack/salt/issues/26497
21:44 saltstackbot [#26497]title: Feature request: Make salt.states.managed support local file `source` | **Use case:** I have a file locally on minions. It contains Jinja template that I'd like to populate using my pillars....
21:47 whatapain joined #salt
21:48 whatapain can anyone tell me why i'm getting "Returner 'syslog' not found." when trying to do something as simple as "salt '*' test.ping --return syslog"
21:49 watersoul joined #salt
21:52 brianfeister joined #salt
21:52 deniszh joined #salt
22:01 ZiLi0n joined #salt
22:02 jfelchner joined #salt
22:02 ZiLi0n Hello everyone, can two or more salt state.sls be triggered from the same master at the same time (like from two different SSH sessions let's say)
22:04 onlyanegg joined #salt
22:05 jhauser joined #salt
22:15 flowstate joined #salt
22:15 netcho joined #salt
22:20 buhman ZiLi0n: sure
22:20 buhman depending on what you mean by 'same time'
22:23 jeffspeff joined #salt
22:24 bujordan joined #salt
22:33 flowstate joined #salt
22:34 bujordan joined #salt
22:36 keltim joined #salt
22:36 ZiLi0n buhman thanks, like imagin two users working and using salt-master instance, but toward different set of minions. Wondering if that is possible.
22:39 onlyanegg joined #salt
22:40 jeffspeff is there a way to get salt to display a message box to the logged on users screen?
22:41 zenlot_away joined #salt
22:42 zmalone jeffspeff: "write"?
22:43 jeffspeff zmalone i'm not familiar with 'write'. also, this is for windows minions
22:43 zmalone That won't help you at all then.
22:45 berserk_ joined #salt
22:45 jeffspeff i could write something in 5 min to do this in c#.net, but there's the problem of the salt-minion.exe running as the system user, so anything it calls also runs as 'system' and wouldn't actually get displayed on the users screen... unless i'm missing something.
22:47 SaltyCharles joined #salt
22:49 ajw0100 joined #salt
22:51 digitalhero joined #salt
22:53 baweaver joined #salt
22:58 tpaul joined #salt
23:03 murrdoc joined #salt
23:06 baweaver joined #salt
23:09 aqua^c joined #salt
23:18 jim__ joined #salt
23:19 jim__ has anyone used salt to provision VPC's, then return the information about that VPC to a pillar?
23:19 jim__ how can I make the AWS response data from creating a VPC available in other states?
23:20 beardedeagle joined #salt
23:22 ZiLi0n Hello everyone, can two or more salt state.sls be triggered from the same master at the same time (like from two different SSH sessions let's say). By the same time I mean like two users using the same salt-master instance pointing to two different set of minions... will that be a problem?
23:22 jim__ aha https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.boto_vpc.html#salt.modules.boto_vpc.get_id looks like my sauce
23:25 bujordan joined #salt
23:27 bluenemo joined #salt
23:28 bujordan joined #salt
23:30 bujordan joined #salt
23:32 intr1nsic joined #salt
23:37 akhter joined #salt
23:38 robawt joined #salt
23:40 xenoxaos joined #salt
23:42 duncanmv joined #salt
23:46 karlthane joined #salt
23:47 quasiben joined #salt
23:49 jim__ anyone have a good example of calling an execution module in a salt state.sls?
23:50 jim__ I want to call module.wait with boto_vpc, then somehow get the vpc metadata from the AWS response
23:50 jim__ I feel like I'm re-inventing the wheel
23:51 ZiLi0n hello, is there a cp.push state, so that cp.push can be triggered from a state sls?
23:52 ajw0100 joined #salt

| Channels | #salt index | Today | | Search | Google Search | Plain-Text | summary