Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2015-05-25

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

All times shown according to UTC.

Time Nick Message
00:03 glyf joined #salt
00:04 Aidin1 joined #salt
00:05 Aidin1 left #salt
00:06 Aidin joined #salt
00:20 stanchan joined #salt
00:41 d[^_^]b joined #salt
00:41 d[^_^]b with jinjaz templating in salt, is there a way to provide a default value if a variable is undefined via pillar/context?
00:41 d[^_^]b im trying to use if it fails to evaluate due to the variable being undefined
00:42 mgw joined #salt
00:46 c10 joined #salt
00:47 cedwards d[^_^]b: if you're using pillar.get you can define a default if no value is found
00:56 murrdoc joined #salt
00:56 murrdoc http://dnf.baseurl.org/2015/05/11/yum-is-dead-long-live-dnf/
00:56 murrdoc forget yum
00:59 northway joined #salt
00:59 __number5__ murrdoc: I don't think you can get rid of yum that easily, since most yum users stuck with rhel/centos...
01:02 murrdoc i agree
01:02 murrdoc with rhel making the call
01:02 murrdoc who knows
01:06 iwishiwerearobot joined #salt
01:25 dendazen joined #salt
01:28 beauby joined #salt
01:34 penguinpowernz joined #salt
01:34 mgw joined #salt
01:41 d[^_^]b cedwards: thank you fine sir - you are a gentlemen and a scholar
01:47 fxhp joined #salt
01:47 otter768 joined #salt
01:54 favadi joined #salt
02:08 beauby joined #salt
02:17 linkedinyou joined #salt
02:20 beauby joined #salt
02:22 evle joined #salt
02:35 c10 joined #salt
02:55 iwishiwerearobot joined #salt
03:00 kaictl joined #salt
03:05 clintberry joined #salt
03:05 beauby joined #salt
03:25 kaictl joined #salt
03:28 jeddi joined #salt
03:31 jhujhiti can i set peer communication permissions based on argument? for instance, i want to allow a minion to publish a state.sls but only allow it to specify one sls
03:48 otter768 joined #salt
03:57 Aidin joined #salt
03:57 litwol Hello
04:01 vankooch_ joined #salt
04:09 iromli joined #salt
04:24 c10 joined #salt
04:28 enriched joined #salt
04:28 aarontc joined #salt
04:29 TyrfingMjolnir joined #salt
04:35 litwol How can i get Nth item in list from pillar?
04:44 iwishiwerearobot joined #salt
04:50 noway_ joined #salt
04:59 tkharju joined #salt
05:05 Flusher joined #salt
05:12 keimlink joined #salt
05:13 favadi left #salt
05:14 keimlink joined #salt
05:17 litwol Somewhat sad i didn't come across this page earlier http://docs.saltstack.com/en/latest/ref/renderers/all/salt.renderers.jinja.html
05:17 litwol just discovered it
05:17 litwol it makes many difficultues i've been dealing with was away easily.
05:20 umkznhhr8 joined #salt
05:20 malinoff joined #salt
05:21 quasiben1 joined #salt
05:21 quasiben1 hi all
05:22 quasiben1 Is there a good breakout of how one should use mine/pillars/grains?  it's seems like one can store data/metadata/info in all those places.  Any guides or recommendations as to what kind of data goes where?
05:25 stanchan joined #salt
05:26 catpigger joined #salt
05:26 litwol quasiben1: grain is what the /minion/ tells you what it has. for example grain['os'] can say that minion 1 is running Debian, while minion 2 may be running Gentoo
05:27 litwol quasiben1: communication of data in grain goes from minion to your master
05:28 litwol quasiben1: pillars are used to communicate data the other way... from master to minion.. this is the data that you decide which minions are allowed to receive and which not. pillar is used for sensitive information (again, because minions dont receive it unless you explicitly authorize)
05:29 litwol quasiben1: you could define pillar information suchas "client bank number", you could have minion 1 and minion 2. you could say 'minion1 gets pillarA, which has bank info of client A, while minion2 gets pillarB which has bank info about clientB'
05:29 litwol and i'm not sure what mine is
05:29 litwol quasiben1: http://docs.saltstack.com/en/latest/topics/tutorials/pillar.html
05:30 quasiben1 ok, so it's more about communication than pattern than anything else
05:30 litwol yes
05:30 quasiben1 salt mine call pull data from minions and store on master
05:30 litwol you know how master tells minions what applications to install..
05:31 litwol well, apps have different names depending on operating system
05:31 quasiben1 so you can ask from the minion, give me ips
05:31 litwol debian has something like mysql-server, while gentoo has just 'mysql'
05:31 litwol salt master will use /grain/ grain['os'] to learn about minion OS before telling minion the name of the package to install.
05:32 litwol another way of looking at it is..
05:32 litwol if i were master
05:32 litwol and i asked your name
05:33 litwol it would be quasiben1's grain['name'] == your name
05:33 litwol cause grain brings info from the minion
05:33 litwol quasiben1: make sense?
05:35 quasiben1 yeah, thanks!
05:49 otter768 joined #salt
05:51 rdas joined #salt
05:52 favadi joined #salt
06:03 keimlink joined #salt
06:20 soren_ joined #salt
06:21 soren_ joined #salt
06:25 stoogenmeyer joined #salt
06:32 iwishiwerearobot joined #salt
06:40 flyboy joined #salt
06:54 kawa2014 joined #salt
06:56 ajw0100_ joined #salt
06:56 julez joined #salt
07:00 monkey66 joined #salt
07:03 tmclaugh[work] joined #salt
07:04 ajw0100 joined #salt
07:06 stoogenmeyer joined #salt
07:14 Aidin joined #salt
07:17 slav0nic joined #salt
07:18 eseyman joined #salt
07:18 ajw0100 joined #salt
07:36 Dev0n joined #salt
07:36 Dev0n joined #salt
07:47 markm joined #salt
07:50 otter768 joined #salt
07:50 favadi joined #salt
07:51 ITChap joined #salt
07:53 TheHelmsMan joined #salt
08:01 kawa2014 joined #salt
08:04 N-Mi joined #salt
08:04 N-Mi joined #salt
08:04 stephanbuys joined #salt
08:05 al joined #salt
08:13 impi joined #salt
08:13 Grokzen joined #salt
08:16 viq joined #salt
08:18 c10 joined #salt
08:19 c10_ joined #salt
08:21 iwishiwerearobot joined #salt
08:21 dRiN joined #salt
08:28 aruniiird joined #salt
08:29 quist joined #salt
08:30 aruniiird Hi Everyone, I am a noobee to salt stack, learned the baby steps... now I am a bit stuck... I want to get output of a running program (let say an application server, which has not returned yet), that is output of an active program... Is it possible ?
08:31 aruniiird I tried,
08:31 aruniiird salt-run jobs.lookup_jid  <JOB_ID>
08:31 aruniiird that didn't give me any cached output =(
08:31 cberndt joined #salt
08:32 c10 joined #salt
08:43 Fiber^ joined #salt
08:54 linjan joined #salt
08:57 stoogenmeyer hey can anyone give me a hand? How would I use a state directly (of which I have no file). I want to run docker.pulled from the shell
09:01 favadi stoogenmeyer: http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.dockerio.html#salt.modules.dockerio.pull
09:01 stoogenmeyer_ joined #salt
09:11 aruniiird Pasting the question again (if somebody has joined later, please help): I want to get output of a running program (let say an application server, which has not returned yet), that is, output of an active program... Is it possible ?
09:12 aruniiird tried 'salt-run jobs.lookup_jid <job_id>' but not working... =(
09:12 Edgan joined #salt
09:24 monkey66 left #salt
09:26 tomh- joined #salt
09:28 unixlike joined #salt
09:28 unixlike Hi there !
09:29 unixlike is it possible to use returner postgres without installed psycopg2 on each minion ?
09:46 numkem_ joined #salt
09:51 otter768 joined #salt
09:52 TyrfingMjolnir joined #salt
10:03 ak joined #salt
10:10 thehaven joined #salt
10:10 iwishiwerearobot joined #salt
10:10 giantlock joined #salt
10:24 mage_ joined #salt
10:24 mage_ hello, is RAET stable in 2015.5.1 ?
10:24 mage_ and is it recommended over 0MQ ?
10:30 kawa2014 joined #salt
10:34 julez joined #salt
10:38 TyrfingMjolnir joined #salt
10:38 Berty_ joined #salt
10:48 tmclaugh[work] joined #salt
10:50 Ymage joined #salt
10:55 markm joined #salt
11:04 evle joined #salt
11:19 kawa2014 joined #salt
11:21 MaliutaLap joined #salt
11:21 MaliutaLap left #salt
11:23 favadi left #salt
11:27 michelangelo joined #salt
11:33 pdw joined #salt
11:38 pdw Hi all.  I'm trying to understand how Salt minions know they're receiving messages from the master they originally authenticated with, rather than an imposter.
11:38 hasues joined #salt
11:39 pdw I'm sure this is being done, but it's not mentioned anywhere in the docs that I've been searching.  Does the master sign its ZeroMQ messages or something?
11:39 saifi joined #salt
11:45 Aidin joined #salt
11:49 raygunsix joined #salt
11:52 otter768 joined #salt
11:59 iwishiwerearobot joined #salt
12:04 jeddi joined #salt
12:06 stoogenmeyer_ hi, is it possible to do the following with salt? I want to run a state, at the end of which I want to check if a docker container is running, and if not I want the state.sls command to return with a non-0 exit code
12:07 amcorreia joined #salt
12:09 SteveJ joined #salt
12:15 Aidin joined #salt
12:23 TyrfingMjolnir joined #salt
12:51 Pulp joined #salt
12:53 stoogenmeyer__ joined #salt
12:58 CeBe joined #salt
13:00 jeremyr joined #salt
13:02 mejiamariano joined #salt
13:10 quasiben joined #salt
13:21 pdw joined #salt
13:22 quasiben left #salt
13:24 c10 joined #salt
13:24 c10 joined #salt
13:28 manfred stoogenmeyer__:  you might have to write your own custom state module that does that, but in theory, salt can do it.
13:29 stoogenmeyer__ manfred: hey, thanks for answering
13:30 stoogenmeyer__ It turns out that salt-call has an option --retcode--passthrough which will give the correct return code in case of failure.
13:34 sunkist joined #salt
13:44 mgw joined #salt
13:47 iwishiwerearobot joined #salt
13:48 keimlink joined #salt
13:53 otter768 joined #salt
14:11 julez joined #salt
14:18 psojourner joined #salt
14:25 dyasny joined #salt
14:28 dyasny joined #salt
14:39 hasues left #salt
14:46 rhodgin joined #salt
14:48 froztbyte so, before I give this a spin now
14:48 froztbyte what's the behaviour with variable re-assignment in a state?
14:49 froztbyte can I have multiple {% set x = ... } in one?
14:49 froztbyte for loops support this, so I just want to make sure it's not like puppet's set-once-and-god-help-you-if-you-try-to-assign-again thing
14:54 Mate these variables dont have very much to do with salt, they are local to jinja
14:55 Mate and in this case it's like in any imperative language (can be reassigned, and is evaluated top to down)
14:56 froztbyte okay, so it's pretty much stock jinja then
14:56 froztbyte kk
14:56 froztbyte just wanted to make sure there's nothing special going on
14:57 peters-tx joined #salt
15:03 froztbyte http://jinja.pocoo.org/docs/dev/templates/#builtin-filters don't appear to list json
15:03 froztbyte is it a custom salt filter?
15:05 dimeshake joined #salt
15:05 earthrocker joined #salt
15:06 amcorreia joined #salt
15:23 markm joined #salt
15:24 bfoxwell joined #salt
15:27 raygunsix joined #salt
15:31 froztbyte gah, dammit
15:31 froztbyte I can't figure out a clean way to do this
15:32 froztbyte I'm trying to make the sensu formula better. the main problem is that it hardcodes subscriptions to "all", which is dumb
15:32 froztbyte the only way I can figure out to improve on that is if I kept per-host-type info in pillar
15:33 froztbyte because pillars get merged, so if I host fulfills more than one role (let's say webserver and smtp, for example), those would all be available entries under the relevant pillar key
15:35 froztbyte if a*
15:36 iwishiwerearobot joined #salt
15:37 impi joined #salt
15:45 froztbyte http://docs.saltstack.com/topics/mine/ is currently 404
15:45 froztbyte (from a google search result)
15:45 c10 does watch globbing work?
15:46 froztbyte I guess I should just try this with grains and see how it goes; that's pretty much what they're supposed to be used for, I guess
15:47 froztbyte (although somehow I've completely not touched them)
15:47 froztbyte c10: as in files?
15:47 c10 as in all files in a certain directory
15:47 froztbyte I think watch links to IDs declared, so I'd suspect no
15:48 c10 https://www.dropbox.com/s/5jyr92794nejwe3/Screenshot%202015-05-25%2018.48.30.png?dl=0 0_)
15:49 riftman joined #salt
15:50 froztbyte yes
15:50 froztbyte as I said, watch links to IDs declared
15:50 froztbyte if you don't declare them, they don't exist
15:50 froztbyte (IDs are the things you declare in SLS files, if that's unclear)
15:54 otter768 joined #salt
15:56 raygunsix_ joined #salt
15:56 dimeshake joined #salt
16:01 mgw joined #salt
16:08 bfoxwell joined #salt
16:16 ek6 joined #salt
16:20 MaliutaLap joined #salt
16:26 nyx_ joined #salt
16:30 iggy pdw: you can set the minion to cache the master's key and it will check it every time it reauth's
16:30 clintberry joined #salt
16:32 MaliutaLap left #salt
16:33 writtenoff joined #salt
16:34 dimeshake joined #salt
16:35 iggy c10: froztbyte is correct, no
16:36 iggy froztbyte: check your pillar merging theory before you go too far down that rabbit hole... I suspect it won't do what you think
16:36 writteno1f joined #salt
16:37 c10 got it, thanks
16:37 c10 i solved it with extend
16:38 iggy that sounds scary
16:42 kiorky joined #salt
16:43 pdw iggy: thanks for response.  Does this mean the master does something to demonstrate it has the private key?  (Apologies if this is a "well duh, obviously" kind of question to ask....)
16:43 pdw iggy: I'm guessing that the minion and the master carry out some sort of exchange when the minion establishes the TCP connection.
16:44 iggy correct, and that connection (like ssl/tls/etc) can't be imposed upon by outsiders without the temporary session keys
16:45 iggy and a new one can't be started without the master key (if you have the minion set to cache it)
16:45 pdw iggy: perfect - that's what I was hoping someone could tell me.
16:46 pdw Do you happen to know what the config option to cache that master key is?
16:48 mrbigglesworth joined #salt
16:54 iggy no
16:55 sgate1 joined #salt
16:56 iggy master_finger it looks like
16:57 froztbyte iggy: how so?
16:58 froztbyte iggy: I was thinking I'd do pretty much the same thing as my users setup does
16:58 froztbyte iggy: but I don't reaaaally want to do that because my states are all a little repo by themselves (for weird can't-get-rid-of) reasons
16:59 iggy lists don't merge, they get overwritten (I think incorrectly, but I've never verified that)
16:59 froztbyte oh, yeah, I would do this as a dict thing
16:59 riftman joined #salt
16:59 froztbyte end goal is to be able to do something like {{ pillar['sensu']['roles'] | json() }}
16:59 froztbyte but without pillar
17:00 froztbyte I had a think now while out doing shopping, will try a thing
17:02 ndrei joined #salt
17:03 iggy just make sure it doesn't suck or I won't merge it ;)
17:04 froztbyte haha
17:04 froztbyte well, if I can figure out a nice pattern for this, I would definitely try make it public
17:04 ek6 iggy: know you wrestled with warnings...is there anyway to have a 'failed' state report as a warning vs a failure?  im thinking cases where you have on_fail or possibly on_fail_in?
17:04 froztbyte it seems like a kind of thing which might be useful to a lot of other people
17:05 ek6 all my folks panic with failures even though on_fail backups have fired properly and done their thing...
17:07 ndrei joined #salt
17:15 iggy I'm kind of the opposite, I want warnings and errors to bail out of the highstate
17:16 ek6 well you will always have failhard...although that probably doesnt cover warnings
17:18 froztbyte iggy: errors I can agree should terminate the path in question, but warnings I don't think should
17:18 froztbyte what would be ideal is if you could summarize them near the end of a highstate display, I think
17:18 froztbyte (instead of littered throughout the execution history)
17:18 stephanbuys joined #salt
17:23 ek6 never done it...never needed it....but if thats what you wanted couldnt you write your own custom outputter?
17:23 impi joined #salt
17:25 iwishiwerearobot joined #salt
17:33 ndrei joined #salt
17:42 ndrei joined #salt
17:46 sgate1 joined #salt
17:46 riftman_ joined #salt
17:47 ndrei joined #salt
17:48 stephanbuys joined #salt
17:48 julez joined #salt
17:49 iggy froztbyte: we use state_verbose: False, so we don't see all the fluff
17:53 froztbyte minion config option?
17:53 sgate1 joined #salt
17:54 anotherZero joined #salt
17:55 otter768 joined #salt
17:57 iggy master I think
17:58 iggy or both
17:59 Berty_ joined #salt
18:02 ndrei joined #salt
18:04 edrocks joined #salt
18:08 power8ce joined #salt
18:09 big_area joined #salt
18:14 big_area are there any best practices for perms/ownership on a directory containing states (ie /srv/salt)? or is root:root and using sudo the standard?
18:14 markm joined #salt
18:16 ajw0100 joined #salt
18:19 dimeshake joined #salt
18:19 iggy we use gitfs
18:21 vexati0n anyone here familiar with the new SaltStack Enterprise GUI ?
18:22 iggy I saw it being demo'ed at SaltConf... not sure that's familiar or not (it was a couple months ago)
18:22 vexati0n yeah probably not. i have an enterprise subscription, but apparently the GUI only supports PAM auth and we need LDAP/AD.
18:23 vexati0n (actually what we "need" are people who aren't scared of command lines, but that's another story)
18:25 big_area vexati0n i feel your pain
18:25 pdw iggy: thanks for your help earlier; appreciated.
18:25 pdw left #salt
18:26 ndrei joined #salt
18:31 bluenemo joined #salt
18:33 viderbit joined #salt
18:39 dimeshake joined #salt
18:48 iggy vexati0n: pam-ldap?
18:49 jespada joined #salt
18:52 froztbyte iggy: hey, so
18:52 froztbyte grains.filter_by() is what gets a merge parameter, right?
18:53 froztbyte so what I'm thinking is to do something like http://docs.saltstack.com/en/latest/topics/targeting/grains.html#grains-in-etc-salt-grains along with a filter_by() merge
18:53 numkem anyone having issues with pyobjects rederer under centos 6?
18:54 froztbyte and do this for each possible extension of the dict (and seed it with a base option)
18:57 froztbyte wait, I'm being a moron
18:57 froztbyte grains.append should do just fine
18:58 stephanbuys joined #salt
19:00 riftman joined #salt
19:02 hybridpollo joined #salt
19:06 linjan joined #salt
19:08 c10 joined #salt
19:14 iwishiwerearobot joined #salt
19:23 stanchan joined #salt
19:23 forrest joined #salt
19:33 stevednd joined #salt
19:37 edrocks joined #salt
19:37 julez joined #salt
19:37 mrbigglesworth joined #salt
19:38 vexati0n iggy: pam-ldap is still just pam with a bunch of local stuff that can break. salt supports AD and LDAP natively, and that's where i want the auth to happen, not looping through some hokey OSS implementation of AD
19:39 keimlink joined #salt
19:40 ndrei joined #salt
19:41 iggy my bad
19:45 litwol Hello
19:45 litwol I am attempting to describe a website deployment in a pillar. Simple things like "checkout git repo to directory" is working well and was very simple to accomplish.
19:46 litwol an interesting challenge i'm running into is declaring various /dependencies/ or /requirements/ for a given site
19:46 litwol for example. some sites require php 5.5, others 5.3, etc etc.
19:47 litwol I have states defined to install various packages which i need... what i am hoping to accomplish is /avoid/ installing *all* packages, and only include/require specific/limited number of packages as defined in sites' "requirements" pillar dict.
19:47 litwol i've tried doing "include: \n - {some required
19:47 litwol } in a for loop
19:48 litwol but i get error that "include:" is a conflicting ID.. understandable since it gets added multiple times.
19:49 litwol Long story short... is there any way to perform pillar-based (dynamic?) sls loading (include?) ?
19:50 litwol "pillar based" means i have a some value in pillar which says which sls must be loaded.
19:50 litwol then top.sls performs the loading.
19:53 iggy {% if deps %}\ninclude:\n{% for dep in deps %}  - {{ dep }}\n{% endfor %}{% endif %}
19:55 litwol iggy: as per current include: syntax it seems i can't include stuff inline with the rest of the site definitions.. i must build my deps list first, then include those first, then iterate over actual site-deployment tasks.
19:55 litwol is that correct? having to build deps list first.
19:55 iggy I guess you could look at it that way
19:55 litwol :(
19:55 litwol k
19:55 otter768 joined #salt
19:55 iggy I mean, you can't have random "include:"'s all over your sls files
19:56 litwol yes that's the problem i ran into now
19:56 iggy if you want to do it like that, break everything down into individual smaller files and just have an include per file
19:56 * litwol googling how to push items into list.
19:57 litwol yes that's what i'm going for
19:57 ndrei joined #salt
19:57 litwol over time i'll build repository of various dependencies/requirements. and just define which of them to include per-site declaration in pillar
19:57 litwol actually i just began experimenting with this. thus i don't know if this is a good/bad path to undertake
19:57 iggy you probably won't until you get done
19:58 * litwol nods
19:59 litwol do i need to use keyword "set" every time in {% set foo = "bar" %} in sls?
19:59 litwol or can i just do {% foo = "bar" %} ?
20:00 monkey66 joined #salt
20:00 iggy set
20:00 swa_work joined #salt
20:01 litwol thx
20:01 iggy and if foo is a list, use {% do foo.append(bar) %}
20:01 TyrfingMjolnir joined #salt
20:01 * litwol nods. just googled that.
20:01 litwol oh! i need "do"/ ok
20:02 iggy so yeah, at the top of you file {% set foo = [] %}
20:02 iggy then throughout all your states, {% do foo.append(dep) %}
20:03 iggy so yeah, at the top of you file {% set foo = [] %}
20:03 litwol ha. did just that !
20:03 iggy then at the end, include:\n{% for dep in deps %}  - {{ dep }}\n{% endfor %}
20:03 * litwol happy finally able to have good pace and find correct solutions.
20:03 ndrei joined #salt
20:05 litwol wow
20:06 litwol iggy: thank you. worked great.
20:09 stoogenmeyer__ joined #salt
20:09 litwol I've seen many different approaches how to handle defaults.yaml/map.jinja etc etc. don't have enough experience just yet to decide which approach i like the best.
20:10 litwol but
20:10 litwol right now i'm having a lot of success and enjoyment working exclusively through pillars to provide data to states.
20:10 litwol doing my best to avoid writing a single state which has hard-coded values
20:11 stoogenmeyer__ hi.. I have a problem where one of my states manages a files that takes lots of info from pillar. If I update the pillar data but not the file then when I reapply the state the file won't update. Any idea how to solve this?
20:11 power8ce joined #salt
20:12 litwol stoogenmeyer__: have you refreshed pillars? meaning, are you sure new pillar data is taken into consideration?
20:15 stoogenmeyer__ umm "refreshed pillar" as in to somehow refresh the pillar in the state file? before the file.managed call ?
20:15 stoogenmeyer__ How would I go about that.. I can't seem to find information about a pillar state module
20:22 amcorreia joined #salt
20:23 echo joined #salt
20:23 litwol stoogenmeyer__: saltutil.refresh_pillar
20:24 litwol google it :)
20:24 ndrei joined #salt
20:25 stoogenmeyer__ litwol: hi, I'm quite familiar with saltutil.refresh_pillar. Can I call it though from a state file?
20:28 tiadobatima hi guys: in this example in the docs: http://docs.saltstack.com/en/latest/ref/states/top.html
20:28 tiadobatima base:   '*':
20:28 tiadobatima - core
20:28 tiadobatima - edit
20:29 tiadobatima would "core" always be executed before "edit"?
20:31 litwol stoogenmeyer__: that i don't know. i'm sure you could through cmd.run.. but i'm not certain that is a good approach.
20:31 litwol stoogenmeyer__: for example. how do you execute your states in the first place? is it through state.high_state? is it through a cronjob?
20:32 litwol stoogenmeyer__: however you do execute your sls, just add an extra step before it to refresh your pillras.
20:32 litwol pillars*
20:33 iggy stoogenmeyer__: salt.states.module
20:33 iggy tiadobatima: generally, yes, but explicit dependencies can really muck up ordering
20:34 tiadobatima cool! is it the same behaviour for "include"?
20:35 ndrei joined #salt
20:35 stoogenmeyer__ litwol: I'm running commands on the master through ssh from a CI machine (running Bamboo). I considered invoking a highstate but decided to go with a simple state.sls call instead. I could definitely add a manual refresh_pillar before though
20:36 iggy tiadobatima: yes, with the same caveats (in general everything in salt is top down unless you specifically reorder things)
20:36 stoogenmeyer__ I suppose my final question is, if I refresh the pillar on the minion and then apply the state, BUT the actual managed file hasn't changed, would the file be rerendered using the new pillar data?
20:36 hybridpollo joined #salt
20:37 litwol stoogenmeyer__: you can always test that by changing something you can test for.. such as file chmod or something.
20:38 stoogenmeyer__ ok i will give it a try. Thanks for the help! (-:
20:38 litwol that won't change contents.. ie your file will be "the same", but you'll still see /some/ change .
20:38 tiadobatima Great iggy! I just want to make sure some common states get executed before application specific states without adding too many require dependencies
20:38 tiadobatima Thanks iggy!
20:39 giantlock joined #salt
20:42 nethershaw joined #salt
20:43 hybridpollo joined #salt
20:43 joeto joined #salt
20:46 gwmngilfen joined #salt
20:52 dalexander joined #salt
20:53 cberndt joined #salt
20:53 c10 joined #salt
20:59 ndrei joined #salt
20:59 c10b10 joined #salt
21:01 aCodinMan joined #salt
21:03 iwishiwerearobot joined #salt
21:05 ndrei joined #salt
21:08 soren joined #salt
21:10 monkey66 left #salt
21:21 mrbigglesworth joined #salt
21:27 flebel joined #salt
21:42 amcorreia joined #salt
21:42 mrbigglesworth joined #salt
21:44 mrbigglesworth joined #salt
21:49 agend joined #salt
21:50 litwol Is it possible to pass entire objects as defaults variables for file.managed templates?
21:50 otter768 joined #salt
21:51 joeto1 joined #salt
21:53 catpig joined #salt
22:00 mrbigglesworth joined #salt
22:23 mrbigglesworth joined #salt
22:24 dalexander joined #salt
22:26 nyx_ joined #salt
22:41 timoguin joined #salt
22:44 aarontc joined #salt
22:47 c10b10 joined #salt
22:50 cberndt joined #salt
22:51 iwishiwerearobot joined #salt
22:58 iggy litwol: yes
23:00 huddy joined #salt
23:02 otter768 joined #salt
23:05 murrdoc joined #salt
23:06 murrdoc anyone pick a returner ?
23:06 murrdoc wonder what linkedin uses
23:06 murrdoc for their gazillion nodes
23:08 edrocks joined #salt
23:08 murrdoc what would be a good returner to use for a bunch of geographically distributed masters
23:08 HeftySmurf joined #salt
23:09 mosen joined #salt
23:13 mrbigglesworth joined #salt
23:13 monkey661 joined #salt
23:15 julez joined #salt
23:15 echo joined #salt
23:16 iggy smtp
23:17 murrdoc so 15k emails on the hour ?
23:17 murrdoc oy vay status
23:18 huddy joined #salt
23:19 Aidin joined #salt
23:22 HeftySmurf joined #salt
23:25 murrdoc we need to setup a formula template formula
23:26 mosen to make formula templates?
23:27 mosen there is a template formula i believe murrdoc :)
23:27 murrdoc oh ?
23:27 murrdoc sup mosen
23:27 mosen https://github.com/saltstack-formulas/template-formula
23:27 murrdoc got links
23:27 murrdoc ah
23:27 murrdoc i fix it
23:28 mosen it might need more examples i guess
23:35 murrdoc does the 'include' keyword allow relative paths yet
23:35 mrbigglesworth joined #salt
23:42 mosen I thought it did.. not sure
23:43 murrdoc it would be nice
23:43 murrdoc will make formulas easier
23:43 murrdoc not sure how u would represent it tho
23:43 murrdoc maybe with a leading .
23:43 murrdoc so include: - .file vs include: - file
23:44 mosen similar to python with .samedir or ..parentdir
23:44 murrdoc ja
23:54 MTecknology Corey: What was that whiskey you introduced me to?
23:55 murrdoc yer ma
23:55 murrdoc (sorry)

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