Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-03-28

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

All times shown according to UTC.

Time Nick Message
00:00 druonysuse joined #salt
00:05 subsignal joined #salt
00:07 bhosmer joined #salt
00:09 thayne joined #salt
00:25 glyf joined #salt
00:31 active8 joined #salt
00:32 notnotpeter joined #salt
00:36 bluenemo__ joined #salt
00:36 prwilson joined #salt
00:36 bluenemo__ joined #salt
00:42 notnotpeter joined #salt
00:46 notnotpe_ joined #salt
00:50 bhosmer_ joined #salt
00:52 otter768 joined #salt
00:53 sunkist1 joined #salt
01:03 timoguin joined #salt
01:15 cheus joined #salt
01:28 jerematic joined #salt
01:38 dendazen joined #salt
01:39 desposo joined #salt
01:46 _JZ_ joined #salt
01:47 gladiatr joined #salt
01:53 favadi joined #salt
01:56 sunkist joined #salt
02:00 markm joined #salt
02:02 Zachary_DuBois joined #salt
02:06 forrest joined #salt
02:20 svx joined #salt
02:23 iggy delegate
02:28 michelangelo joined #salt
02:45 sunkist1 joined #salt
02:50 sunkist joined #salt
02:53 otter768 joined #salt
03:01 gfa joined #salt
03:04 Hydrosine joined #salt
03:08 CeBe1 joined #salt
03:15 germs_ joined #salt
03:17 jerematic joined #salt
03:17 packeteer joined #salt
03:22 germs_ left #salt
03:24 patrek joined #salt
03:31 chandankumar joined #salt
03:39 Hydrosine joined #salt
03:45 writtenoff joined #salt
03:54 clintberry joined #salt
04:05 jasonrm joined #salt
04:08 bhosmer joined #salt
04:10 Hell_Fire joined #salt
04:15 malinoff joined #salt
04:22 tkharju joined #salt
04:23 vstoniest joined #salt
04:30 Hipikat_ joined #salt
04:34 Hipikat joined #salt
04:41 mpanetta joined #salt
04:45 desposo joined #salt
04:53 otter768 joined #salt
04:54 Hydrosine joined #salt
04:59 packeteer joined #salt
05:03 jerematic joined #salt
05:03 Hipikat joined #salt
05:13 j_t joined #salt
05:14 j_t Is there a log to see who did what commands?
05:27 iggy not ins alt
05:28 iggy *in salt
05:28 MegaDork joined #salt
05:28 iggy if you use sudo to run stuff, that is (should be) logged
05:29 MegaDork left #salt
05:35 \ask joined #salt
05:42 mpanetta joined #salt
05:47 thayne joined #salt
05:58 evle1 joined #salt
06:19 viq joined #salt
06:21 anon joined #salt
06:25 Guest40589 hello
06:30 favadi left #salt
06:31 germs_1 joined #salt
06:31 Guest40589 anyone is up here ?
06:37 dopesong joined #salt
06:43 surajd joined #salt
06:44 thayne joined #salt
06:44 surajd hillna, I am working on this issue https://github.com/saltstack/salt/issues/21721 and need some help in recreating this error
06:44 surajd *hi
06:51 jerematic joined #salt
06:55 refnode_ joined #salt
06:57 j_t surajd: I would tag deuscapturus and ask him for specifics in his environment, version, and what commands he typed to get the error.
07:01 surajd j_t sure would like to know so that I could work on that issue
07:04 j_t left #salt
07:05 \ask joined #salt
07:10 fxhp joined #salt
07:10 signull joined #salt
07:10 kusams joined #salt
07:33 wedgie_ joined #salt
07:33 wedgie_ joined #salt
07:33 kusams_ joined #salt
07:34 speedlight joined #salt
07:34 speedlight joined #salt
07:34 tov-tov joined #salt
07:35 runnyspot joined #salt
07:35 dyasny joined #salt
07:36 sarlalia1 joined #salt
07:37 schristensen joined #salt
07:37 rager joined #salt
07:39 adelcast joined #salt
07:40 kaictl joined #salt
07:41 glyf joined #salt
07:56 wicope joined #salt
08:10 bhosmer joined #salt
08:12 surajd joined #salt
08:15 \ask joined #salt
08:29 ITChap joined #salt
08:36 dopesong joined #salt
08:37 Furao joined #salt
08:40 jerematic joined #salt
08:52 JayFK joined #salt
08:56 malinoff joined #salt
08:58 wicope joined #salt
09:03 wicope joined #salt
09:05 jeffspeff joined #salt
09:05 \ask joined #salt
09:06 I3olle joined #salt
09:07 ckao joined #salt
09:07 dopesong joined #salt
09:16 __gotcha joined #salt
09:20 zer0def joined #salt
09:36 rbjorklin Hi
09:37 rbjorklin I'm having issues with the syntax for environment variables passed to docker through a salt state file
09:37 rbjorklin Are there any examples?
09:41 linjan joined #salt
09:44 Furao joined #salt
09:44 catpig joined #salt
09:45 \ask joined #salt
09:51 catpigger joined #salt
09:53 zer0def joined #salt
09:55 \ask joined #salt
10:00 catpig joined #salt
10:01 ITChap joined #salt
10:03 \ask joined #salt
10:08 catpigger joined #salt
10:12 \ask joined #salt
10:17 catpiggest joined #salt
10:19 catpigger joined #salt
10:23 \ask joined #salt
10:24 catpig joined #salt
10:29 jerematic joined #salt
10:31 wincyj joined #salt
10:35 catpigger joined #salt
10:40 dalexander joined #salt
10:42 dalexander joined #salt
10:45 catpig joined #salt
10:46 zer0def joined #salt
10:46 aquassaut joined #salt
10:50 CeBe joined #salt
11:04 __gotcha joined #salt
11:11 bmcorser_ joined #salt
11:13 bmcorser_ joined #salt
11:13 bmcorser_ i'm looking for a way to use something like rsync to copy files from master to a minion
11:14 bmcorser_ there is cp.get_dir and there's an rsync module and there's the python client api
11:14 bmcorser_ struggling to fit all these pieces together
11:15 bmcorser_ if i could get access to the master's ssh credentials and pass them to the rsync module ...
11:16 babilen bmcorser_: file.recurse ?
11:17 babilen bmcorser_: And do you want to copy it only once or multiple times (on changes) ?
11:20 bmcorser_ babilen: multiple times, that's why i want rsync
11:20 peters-tx joined #salt
11:21 bmcorser_ cp.get_dir is a mite too slow for my usecase, even with gzip
11:21 babilen bmcorser_: Only on highstate runs ?
11:21 bmcorser_ i'm writing a "deploy" runner to copy built project files to minions
11:22 babilen And file.recurse is not usable in that context?
11:22 bmcorser_ so i won't need state runs, typically
11:22 babilen Or completely different approach such as simply using lsyncd, drbd, nfs, .. ?
11:23 bmcorser_ i would need to check, but if it doesn't copy only the changed files, it wouldn't be any better than cp.get_dir
11:23 babilen It does; Why involve salt in this copying at all?
11:24 bmcorser_ salt knows about minions, which is where the files should go
11:24 babilen Sounds like a job for lsyncd or shared storage to be honest
11:25 bmcorser_ maybe, but i need to deploy different files to different minions
11:25 babilen Nothing prevents you from configuring those service with salt in a complex manner
11:26 bmcorser_ hmm i suppose i could maintain a per-minion dir on the master representing "deployed" files
11:26 bmcorser_ for that minion
11:26 bmcorser_ tbh i don't know the services, would have to investigate
11:26 babilen The ones I mentioned?
11:27 bmcorser_ yeah lsyncd, drbd, nfs (i assume you mentioned them because they have a degree of integration with salt's master/minion system)
11:30 bmcorser_ babilen: do you know a way to access minion ssh details from the client API? something that i could use to execute ssh commands from the master ...
11:31 honestly weil sie 1kg wiegt
11:31 honestly whoops, disregard that
11:31 honestly ewrongchan
11:32 surajd joined #salt
11:34 babilen honestly: That would be a heavy api ;)
11:35 babilen bmcorser_: No, they are not related to salt at all. Simply different services in the "share files" spectrum
11:35 bmcorser_ thinking about it, minion/master comms is not done over ssh anyway?
11:35 bmcorser_ so there actually _aren't_ ssh creds for connecting to a minion from the master ... :/
11:36 babilen bmcorser_: http://docs.saltstack.com/en/latest/ref/states/all/salt.states.ssh_auth.html and http://docs.saltstack.com/en/latest/ref/states/all/salt.states.ssh_known_hosts.html
11:36 bmcorser_ cool, i'll have a read
11:37 bmcorser_ ok
11:37 bmcorser_ you're suggesting i stay away from salt machinery to do this
11:37 babilen To me it sounds like lsyncd or a network filesystem (e.g. nfs4) fit the bill. Maybe even a rsync job that you kick off from the master (a simple cmd.run even) ... Please keep in mind that a "master" is just another minion (or can be)
11:38 babilen salt is great in helping you to fit these things together, but I wouldn't necessarily use salt for the heavy lifting itself
11:38 bmcorser_ i was hoping i could delegate auth/routing to salt, not configure it myself
11:39 bmcorser_ aye
11:39 babilen file.recurse was my first idea, still not sure why you don't like it
11:39 bmcorser_ i didn't check yet :)
11:40 babilen And it really depends on the details. I'd recommend to take a look at what I mentioned. They are vastly different services and exemplify different approaches. Each has alternatives, but you get a decent overview of what's possible
11:41 babilen (don't think you want drdb or glusterfs or something along those lines though)
11:41 bmcorser_ i just want to rsync from master to minion :'(
11:43 dalexander joined #salt
11:43 bmcorser_ its from a salt runner
11:43 bmcorser_ so the user would invoke it
11:43 bmcorser_ i don't need any automation around _when_ things are synced
11:56 stoogenmeyer joined #salt
12:00 jerematic joined #salt
12:12 bhosmer joined #salt
12:16 chiui joined #salt
12:17 stoogenmeyer joined #salt
12:20 pf_moore joined #salt
12:26 bluenemo joined #salt
12:26 bluenemo joined #salt
12:54 vstoniest joined #salt
12:57 malinoff joined #salt
13:01 teskew1 joined #salt
13:02 dopesong joined #salt
13:02 ndrei joined #salt
13:05 markm joined #salt
13:05 bmcorser_ babilen: file.recurse works like a charm, thanks for the infos :)
13:12 I3olle joined #salt
13:16 babilen wonderful :)
13:17 Norbell_ joined #salt
13:21 kusams joined #salt
13:25 catpigger joined #salt
13:26 losh Hello, I'd like to trigger a script to run after a state change for file.directory, does anyone know if that's possible and if so how?
13:28 markm joined #salt
13:28 thayne joined #salt
13:31 catpiggest joined #salt
13:34 catpigger joined #salt
13:37 favadi joined #salt
13:37 bmcorser_ losh: you may be looking for watch http://docs.saltstack.com/en/latest/ref/states/requisites.html#watch
13:38 bmcorser_ so there would be a cmd.run state with a watch statement naming the file.directory state
13:38 bmcorser_ or something ... :)
13:40 malinoff joined #salt
13:41 pdayton joined #salt
13:44 dendazen joined #salt
13:48 jerematic joined #salt
13:53 catpig joined #salt
13:56 stoogenmeyer joined #salt
13:58 sunkist1 joined #salt
13:58 williamthekid joined #salt
14:00 losh bmcorser: The require is state module dependent from what I've read, is that true?
14:00 ndrei joined #salt
14:02 Fiber^ joined #salt
14:02 I3olle_ joined #salt
14:03 catpig joined #salt
14:05 catpigger joined #salt
14:06 ndrei joined #salt
14:24 _JZ_ joined #salt
14:24 bhosmer joined #salt
14:25 robsavino joined #salt
14:28 chandankumar joined #salt
14:29 catpig joined #salt
14:31 surajd joined #salt
14:32 catpigger joined #salt
14:38 catpiggest joined #salt
14:42 catpig joined #salt
14:51 evle joined #salt
14:54 catpig joined #salt
14:58 catpig joined #salt
15:04 brianfeister joined #salt
15:04 jerematic joined #salt
15:06 vieira joined #salt
15:06 vieira hello, is it possible to blacklist some modules for a specific minion?
15:06 vieira My master is salted and when I issue a salt '*' system.reboot I would like for the master to not reboot
15:07 malinoff vieira, take a look on compound matcher
15:08 malinoff vieira, there is no such blacklisting afaik
15:09 vstoniest joined #salt
15:10 vieira malinoff: I will loonk into it, thanks
15:11 vieira btw, is it uncommon for a master to be salted?
15:11 malinoff vieira, not very uncommon, i've heard about several people that did that
15:12 vieira I am struggling a bit to find the best practices... for instance, should the minion on the salt master point to localhost? or to the hostname any other minion?
15:13 catpigger joined #salt
15:13 vieira if it should point to localhost, what is the best way to do that given that the minion config file is managed by salt
15:15 vieira have a top.sls with base '*' and then an exception for the specific host of the master?
15:18 catpiggest joined #salt
15:22 catpigger joined #salt
15:24 iggy vieira: make them all the same... it's easier
15:24 Gareth vieira: in later versions of Salt, there is the ability to disable specific modules for specific minions.
15:24 iggy vieira: salt -C '* and not G@roles:salt_master' test.ping
15:25 iggy or soemthing
15:25 markm joined #salt
15:25 vieira Gareth: do you have any pointers?
15:25 vieira iggy: I will make them all the same :)
15:26 malinoff vieira, i suggest to use compound matcher as iggy said, there are tons of "destructive" modules, it will be a pain to configure proper security
15:27 vieira it is not for security, just the convinience of just typing salt \* system.reboot
15:27 iggy get out of the habit of using salt '*'... it's not a good idea in the long run
15:27 vieira It's the oonly thing at the moment that I would like to disable for the minion on the master
15:29 Gareth vieira: sure.  let me find it.
15:31 vieira would it be the #disable_modules: [cmd,test]?
15:31 Gareth yeah. that's the one.
15:31 vieira ahh! thanks!
15:31 Gareth not the one I was thinking of, I was thinking about the feature I added to disable certain state runs.  But that one should do what you want.
15:33 catpiggest joined #salt
15:38 favadi left #salt
15:46 dalexander joined #salt
15:51 catpigger joined #salt
15:53 germs_ joined #salt
15:54 germs_ left #salt
15:55 chandankumar joined #salt
15:59 catpiggest joined #salt
16:00 dopesong joined #salt
16:15 otter768 joined #salt
16:19 ndrei joined #salt
16:20 jerematic joined #salt
16:25 iromli joined #salt
16:25 catpigger joined #salt
16:42 scbunn joined #salt
16:44 catpiggest joined #salt
16:47 dalexander joined #salt
16:52 thayne joined #salt
16:53 catpigger joined #salt
16:57 catpiggest joined #salt
17:01 scoates joined #salt
17:03 stoogenmeyer joined #salt
17:21 jerematic joined #salt
17:25 brianfeister joined #salt
17:32 ndrei joined #salt
17:32 kusams joined #salt
17:36 thayne joined #salt
17:38 shnguyen joined #salt
17:39 ekristen joined #salt
17:40 khris joined #salt
17:48 dalexander joined #salt
17:54 gladiatr joined #salt
17:55 dalexander joined #salt
18:03 chandankumar joined #salt
18:05 \ask joined #salt
18:10 brianfeister joined #salt
18:16 dendazen joined #salt
18:16 otter768 joined #salt
18:17 andreyst joined #salt
18:19 ALLmightySPIFF joined #salt
18:27 Nazca joined #salt
18:28 yawniek joined #salt
18:28 markm joined #salt
18:29 jtanner joined #salt
18:47 BretFisher joined #salt
18:50 kusams_ joined #salt
18:56 dalexander joined #salt
18:58 wincyj joined #salt
19:00 catpig joined #salt
19:05 catpigger joined #salt
19:09 jerematic joined #salt
19:10 markm joined #salt
19:12 litwol Hello
19:12 litwol When running salt * highstate manually in terminal is there a way to supress output of all states executed UNLESS they changed?
19:13 litwol i /don't/ want too see 99 states output if there is no change.
19:15 kusams joined #salt
19:21 badon_ joined #salt
19:22 ndrei joined #salt
19:23 catpig joined #salt
19:26 markm joined #salt
19:26 ALLmightySPIFF joined #salt
19:28 dopesong_ joined #salt
19:34 catpigger joined #salt
19:35 eliasp litwol: put "state_verbose: False" into your master config
19:40 litwol eliasp: thank you.
19:42 catpiggest joined #salt
19:51 bfoxwell joined #salt
19:55 vieira joined #salt
19:57 dalexander joined #salt
19:57 pdayton joined #salt
19:57 vieira I have defined a pillar/salt.sls but when I run salt-call pillar.get salt it comes out empty
19:59 debian112 joined #salt
20:00 markm joined #salt
20:01 vieira do I need to  have a top.sls in pillar/ ?
20:01 vieira I already have a top.sls in /srv/salt (but not in /srv/salt/pillar where I only have a salt.sls)
20:01 ALLmightySPIFF joined #salt
20:02 babilen vieira: You do if you want to use pillars
20:03 vieira I am bit confused
20:03 babilen That is how you decide which minion gets to see which data
20:03 vieira I need both top.sls?
20:03 babilen vieira: If you want to use pillar you typically need two things: 1. A top.sls in /srv/pillar/top.sls in which you reference *other* SLS files in /srv/pillar for inclusion.
20:03 vieira like /srv/salt/top.sls and /srv/salt/pillar/top.sls
20:04 babilen You obviously don't need both if you don't use pillars
20:04 vieira but if I do, both are needed, right?
20:04 vieira I don't know what the /srv/salt/top.sls should have
20:05 vieira I think that what I put there should be in the pillar/top.sls
20:05 vieira :S
20:05 babilen Well, what are you trying to achieve? Could you mayhaps paste what you have so far to http://refheap.com ?
20:06 ntropy vieira: yeah you generally have pillar/top.sls and states/top.sls, not sure what /srv/salt/top.sls is for?
20:06 babilen ntropy: There is no states/top.sls (that is /srv/salt/top.sls)
20:07 vieira I read in the documentation about a top.sls file that should be in the file_roots
20:08 vieira as my file_roots in just /srv/salt i put it there
20:08 ntropy ah, that is correct
20:08 ntropy my file_roots is /srv/salt/states, so i have my top.sls there
20:09 babilen Which is non-standard
20:10 ntropy hmm, let me refer to the docs then, don't remember why i did it this way
20:11 ALLmightySPIFF joined #salt
20:13 vieira https://www.refheap.com/98974
20:13 mindscratch joined #salt
20:13 mindscratch Can sls files have comments in them?
20:14 vieira I have done this just to try and learn how things fit together
20:15 vieira Am I structuring it right?
20:15 ntropy i would rename your /srv/salt/salt/ to /srv/salt/states, as you have your minion.sls and master.sls states there
20:16 ntropy it works how you have it now i guess, but it would be clearer
20:17 otter768 joined #salt
20:18 vieira ntropy: and in the states folder I would then have minion.sls master.sls nginx.sls etc
20:18 vieira ?
20:18 vieira myql-client.sls mysql-server.sls
20:19 ntropy yes thats right
20:19 lictor36 joined #salt
20:19 vieira instead of mysql/client.sls mysql/server.sls
20:19 vieira ?
20:19 dendazen joined #salt
20:19 ntropy what you pasted looks ok to me, does it give you any errors?
20:19 babilen mindscratch: They can, yeah
20:19 vieira yes, when I try to get the data in the pillar
20:19 vieira it comes empty
20:20 vieira instead of returning 'vulcan'
20:20 ntropy vieira: you can also have mysql/client.sls mysql/server.sls
20:20 babilen vieira: You should move /srv/salt/?/top.sls to /srv/salt/top.sls and create a /srv/pillar/top.sls with "base: '*': - salt" in there
20:21 babilen vieira: Please also note that the idiomatic way of managing salt and other more complex services is by using formulas (cf. https://github.com/saltstack-formulas/salt-formula ), but that might confuse you more right now than it helps
20:22 vieira babilen: it's too complex for me right now :(
20:22 ALLmightySPIFF joined #salt
20:22 vieira babilen: I don't understand most of what is going on in that salt formula
20:23 vieira :(
20:23 vieira I am still trying to grasp the basic concepts
20:24 babilen vieira: Sure, that's not a problem. Have you renamed /srv/salt/?/top.sls to /srv/salt/top.sls and created the aforementioned /srv/pillar/top.sls ?
20:24 vieira yes I am testing now
20:25 ALLmight_ joined #salt
20:25 vieira babilen: still empty :(
20:27 thayne joined #salt
20:27 babilen vieira: Could you show me what you have and which commands you tried? Could you also run "salt '*' saltutil.refresh_pillar" and then "salt '*' pillar.item salt" ?
20:27 vieira wait, sorry, should it be /srv/pillar or /srv/salt/pillar
20:27 vieira ?
20:27 vieira the top.sls
20:29 vieira i have _modules in /srv/salt and modules are syncing fine
20:29 vieira shoudl the pillar directory be in the parent folder or in the same folder that _modules is
20:30 markm joined #salt
20:31 babilen vieira: I am referring to /srv/pillar/top.sls
20:31 babilen Oh, and move /srv/salt/pillar/salt.sls to /srv/pillar/salt.sls
20:32 vieira ahh ok
20:32 vieira will do now
20:32 vieira I thought the pillar folder should be in the file_roots
20:32 babilen file_roots (for states) is /srv/salt by default and pillar_roots (for pillars) is /srv/pillar
20:32 Vynce joined #salt
20:32 vieira ah ok :D
20:33 babilen No, file_roots is for states (and files you reference with salt://)
20:33 vieira it is working now! thanks a lot babilen  :D:D:D
20:35 babilen yay
20:42 mindscratch joined #salt
20:42 mindscratch When using "cmd.script", the script gets downloaded to /tmp, however my /tmp is configured such that files can not be executed in /tmp. Can I configure cmd.script to download it elsewhere and execute from there?
20:52 manfred probably
20:52 bhosmer joined #salt
20:54 manfred try setting cwd to something else
20:55 mindscratch i'll give it a shot, docs say "cwd" defaults to /root
20:55 mindscratch maybe the docs are out of date
20:55 manfred that is cwd for the state isn't it?
20:55 manfred or is it for the module?
20:56 mindscratch state I think? http://docs.saltstack.com/en/latest/ref/states/all/salt.states.cmd.html#salt.states.cmd.script
20:57 JDiPierro joined #salt
20:57 dendazen joined #salt
20:58 dalexander joined #salt
20:58 manfred yup, setting cwd should do it
20:58 manfred because
20:58 manfred if you don't pass cwd, None gets passed here
20:58 manfred https://github.com/saltstack/salt/blob/develop/salt/modules/cmdmod.py#L1217
20:58 jerematic joined #salt
20:58 manfred which would pass None here https://github.com/saltstack/salt/blob/develop/salt/utils/__init__.py#L1300 for dir=
20:59 manfred which passes None to https://github.com/python/cpython/blob/master/Lib/tempfile.py#L236
20:59 mindscratch makes sense
20:59 manfred https://github.com/python/cpython/blob/master/Lib/tempfile.py#L247
20:59 manfred so the mkstemp file gets created in dir= directory
20:59 mindscratch yup, that did it
20:59 manfred instead of /tmp
21:00 manfred https://github.com/python/cpython/blob/master/Lib/tempfile.py#L262
21:00 manfred yarp
21:00 manfred code diving ftw!
21:00 ALLmightySPIFF joined #salt
21:01 babilen *blub*
21:01 tomh- joined #salt
21:03 brianfeister joined #salt
21:03 mindscratch manfred: thanks
21:04 jpaetzel joined #salt
21:04 catpig joined #salt
21:05 manfred np :)
21:06 catpigger joined #salt
21:09 catpiggest joined #salt
21:14 catpigger joined #salt
21:20 mindscratch is there a salt state to download a file from a URL?
21:20 eliasp mindscratch: file.managed
21:20 eliasp mindscratch: http://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html#salt.states.file.managed
21:21 mindscratch awesome, thanks
21:23 catpigger joined #salt
21:25 manfred if it is an archive, you can do archive.extracted to pull it down in one state
21:25 catpiggest joined #salt
21:27 mindscratch on my salt master, if I create foo/load.sls ..and want to run that on a minion, shouldn't: salt <minion-hostname> foo.load  work?
21:27 badon joined #salt
21:27 mindscratch I get 'foo.load' is not available
21:27 mindscratch oops, was missing state.sls:  salt <minion> state.sls foo.load
21:29 thayne joined #salt
21:30 wedgie joined #salt
21:30 tcotav joined #salt
21:30 yuhl_work_ joined #salt
21:30 Auroch joined #salt
21:30 denys joined #salt
21:30 vschum1 joined #salt
21:30 jacksontj joined #salt
21:30 rawzone joined #salt
21:30 bdols joined #salt
21:30 mdupont joined #salt
21:30 retr0h joined #salt
21:30 retr0h joined #salt
21:31 CeBe joined #salt
21:31 sirtaj joined #salt
21:32 brianfeister joined #salt
21:35 nlb joined #salt
21:38 kalessin joined #salt
21:43 catpiggest joined #salt
21:45 calve joined #salt
21:46 mindscratch after downloading a file, i want to run some command that uses that file, then delete that file.
21:47 mindscratch will the states that I put in my foo/load.sls file happen in order?
21:47 mindscratch meaning, can I first put "file.manged", then "cmd.run" and then "file.absent"
21:47 mindscratch file.missing (not absent)
21:48 badon_ joined #salt
21:50 badon__ joined #salt
21:57 eliasp mindscratch: to order those states properly, use "requisites": http://docs.saltstack.com/en/latest/ref/states/requisites.html
21:57 eliasp mindscratch: otherwise they'll be executed in a non-deterministic order
22:00 debian112 joined #salt
22:02 catpiggest joined #salt
22:04 mindscratch eliasp: t hanks
22:05 catpigger joined #salt
22:07 badon_ joined #salt
22:07 scoates joined #salt
22:12 catpigger joined #salt
22:16 babilen mindscratch: well, they will be executed top to bottom
22:17 babilen (but making that explcit won't hurt and is even needed in ome cases)
22:18 otter768 joined #salt
22:22 badon_ joined #salt
22:24 badon_ joined #salt
22:25 calve joined #salt
22:27 TyrfingMjolnir_ joined #salt
22:30 catpiggest joined #salt
22:32 ekristen joined #salt
22:39 catpigger joined #salt
22:42 calve joined #salt
22:46 catpiggest joined #salt
22:47 jerematic joined #salt
22:47 aquassaut joined #salt
22:50 catpigger joined #salt
22:53 catpiggest joined #salt
22:56 catpigger joined #salt
22:59 dalexander joined #salt
23:02 cedwards joined #salt
23:05 brianfeister joined #salt
23:07 sunkist joined #salt
23:07 catpigger joined #salt
23:12 favadi joined #salt
23:13 favadi left #salt
23:14 cedwards joined #salt
23:19 teddy_ joined #salt
23:19 catpigger joined #salt
23:23 brianfei_ joined #salt
23:25 catpiggest joined #salt
23:28 JDiPierro joined #salt
23:29 mens joined #salt
23:30 \ask joined #salt
23:34 catpigger joined #salt
23:38 brianfeister joined #salt
23:38 catpiggest joined #salt
23:39 dendazen joined #salt
23:39 Hell_Fire joined #salt
23:42 catpigger joined #salt
23:47 catpiggest joined #salt
23:48 thayne joined #salt
23:52 calve joined #salt
23:59 catpigger joined #salt

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