Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-12-14

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

All times shown according to UTC.

Time Nick Message
00:00 sjlu joined #salt
00:01 sjlu hey, is there a way to restart a service everytime a file has been modified?
00:02 forcer sjlu: Modified by salt, or modified by anything?
00:02 sjlu by the same saltstate
00:03 forcer sjlu: You can add add require_in: prerequesite for service: <name>.
00:03 sjlu right now i'm using listen: file: which seems to restart the service after multiple changes
00:03 sjlu but is it possible to do it everytime I do like file.managed file.append, etc?
00:04 forcer Hm. Not sure, sorry.
00:05 whatevsz maybe "watch" is what you are looking for?
00:05 sjlu watch does something similar
00:05 sjlu but reorders the states so that all file modifications are done in the same saltstack
00:06 sjlu then it restarts the service
00:11 TyrfingMjolnir joined #salt
00:15 sjlu joined #salt
00:16 whatevsz i have a question myself: am i allowed to have two directories in my file_roots directive in the master config where one is a subdirectory of the other (in my case this would be /srv/salt/base and /srv/salt/base/states)? The docs say that "The subdirectories in the multiple file roots cannot match" but i'm not sure how to interpret this.
00:17 lukecarrier forcer, that's what subscribe is for
00:19 forcer lukecarrier: Wouldn't that be for sjlu?
00:19 lukecarrier :p I was referring to <forcer> [19:21:24] Github really needs a +1 button for issues :-D
00:19 jnials joined #salt
00:20 forcer lukecarrier: Oh! :-D
00:20 Gareth_ joined #salt
00:21 lukecarrier Salt is so good
00:21 forcer Hehe
00:28 Gareth_ joined #salt
00:47 tkharju joined #salt
00:50 TyrfingMjolnir joined #salt
01:20 yomilk joined #salt
01:36 vbabiy joined #salt
01:41 otter768 joined #salt
02:02 bezaban joined #salt
02:32 TheThing joined #salt
02:39 jhauser_ joined #salt
03:05 CeBe1 joined #salt
03:10 genediazjr joined #salt
03:42 yani joined #salt
03:42 otter768 joined #salt
03:43 heyjonathan left #salt
03:47 funzo_ joined #salt
03:47 NV joined #salt
03:49 eclectic joined #salt
03:49 wolog joined #salt
03:49 avn joined #salt
03:49 trevorj joined #salt
03:49 jeblair joined #salt
03:49 pacopablo joined #salt
03:50 jpaetzel joined #salt
03:50 orion_ joined #salt
03:50 tedski joined #salt
03:50 REdOG joined #salt
03:55 z3uS joined #salt
03:55 \ask joined #salt
03:55 __number5__ joined #salt
03:56 NightMonkey joined #salt
03:56 jnials joined #salt
03:57 arnoldB joined #salt
03:57 al joined #salt
03:58 rypeck joined #salt
04:00 hobakill joined #salt
04:00 ctrlrsf joined #salt
04:00 catpig joined #salt
04:01 sarlalian joined #salt
04:03 Ixan joined #salt
04:08 thedodd joined #salt
04:14 CryptoMer joined #salt
04:28 genediazjr joined #salt
04:28 badon joined #salt
04:30 yomilk joined #salt
04:31 ingwaem joined #salt
04:34 jab416171 joined #salt
04:55 bhosmer_ joined #salt
05:07 ndrei joined #salt
05:18 ampex_ joined #salt
05:19 bdf_ joined #salt
05:20 dwfreed_ joined #salt
05:20 themacproguy joined #salt
05:20 Blacklite_ joined #salt
05:22 genediaz_ joined #salt
05:23 TheThing joined #salt
05:24 Jimlad_ joined #salt
05:25 sgate1_ joined #salt
05:26 Damianz_ joined #salt
05:26 seblu42 joined #salt
05:26 genedia__ joined #salt
05:28 mattikus` joined #salt
05:28 atoponce joined #salt
05:28 stooj_ joined #salt
05:28 Steve73141 joined #salt
05:31 Sacro_ joined #salt
05:31 aqua^^_ joined #salt
05:32 pfalleno1 joined #salt
05:34 funzo joined #salt
05:35 hasues joined #salt
05:35 erjohnso joined #salt
05:36 cwyse joined #salt
05:37 `ph8 joined #salt
05:37 peters-tx joined #salt
05:38 samed_ joined #salt
05:38 mariusv joined #salt
05:38 mariusv joined #salt
05:38 lynxman joined #salt
05:39 boredatwork joined #salt
05:39 honestly_ joined #salt
05:39 ahale_ joined #salt
05:39 arnoldB joined #salt
05:39 REdOG joined #salt
05:39 trevorj joined #salt
05:39 Guest37451 joined #salt
05:39 JlRd joined #salt
05:39 clone1018_ joined #salt
05:39 agj joined #salt
05:39 jasonrm joined #salt
05:39 beardo joined #salt
05:39 teepark joined #salt
05:39 thehaven joined #salt
05:39 ahammond joined #salt
05:39 agh joined #salt
05:39 borgstrom joined #salt
05:39 JelleB joined #salt
05:39 Karunamon joined #salt
05:39 Eliz_ joined #salt
05:39 LotR joined #salt
05:39 Nazzy joined #salt
05:39 finnzi joined #salt
05:39 berserk joined #salt
05:39 asoc joined #salt
05:39 dh joined #salt
05:39 smite1 joined #salt
05:39 colonD joined #salt
05:39 notbmatt joined #salt
05:39 jayne joined #salt
05:39 chitown joined #salt
05:39 dcmorton joined #salt
05:39 carmony joined #salt
05:39 minaguib joined #salt
05:39 WillPlatnick joined #salt
05:39 pjs joined #salt
05:39 tcotav joined #salt
05:39 dork joined #salt
05:39 whytewolf joined #salt
05:39 jmccree joined #salt
05:39 chamunks joined #salt
05:39 faulkner joined #salt
05:39 unpaidbill joined #salt
05:39 snuffop joined #salt
05:39 programmerq joined #salt
05:39 SaveTheRbtz joined #salt
05:39 codysoyland joined #salt
05:39 bryguy joined #salt
05:43 otter768 joined #salt
05:47 berserk joined #salt
05:48 IOMonster joined #salt
05:48 viq joined #salt
05:48 kossy joined #salt
05:48 renoirb joined #salt
05:48 al joined #salt
05:48 NightMonkey joined #salt
05:48 TyrfingMjolnir joined #salt
05:48 Gareth_ joined #salt
05:48 sjlu joined #salt
05:48 dooshtuRabbit1 joined #salt
05:48 Thugal joined #salt
05:48 Gareth joined #salt
05:48 Cidan joined #salt
05:48 Samos123 joined #salt
05:48 kormoc joined #salt
05:48 seanz joined #salt
05:48 Tahm joined #salt
05:48 xenoxaos joined #salt
05:48 xsteadfastx joined #salt
05:48 sc` joined #salt
05:48 GvJordan joined #salt
05:48 Sway joined #salt
05:48 Eugene joined #salt
05:48 [vaelen] joined #salt
05:48 gadams joined #salt
05:48 esharpmajor joined #salt
05:48 georgemarshall joined #salt
05:48 packeteer joined #salt
05:48 Deevolution joined #salt
05:48 jeremyb joined #salt
05:48 anotherZero joined #salt
05:48 pipeep joined #salt
05:48 Vye joined #salt
05:48 skarn joined #salt
05:48 scarcry joined #salt
05:48 voxxit joined #salt
05:48 Kraln joined #salt
05:48 m0nky joined #salt
05:48 mihait joined #salt
05:48 wavis joined #salt
05:48 antonw joined #salt
05:48 thunderbolt joined #salt
05:48 balltongu joined #salt
05:48 JPaul joined #salt
05:48 InAnimaTe joined #salt
05:48 evidence joined #salt
05:48 g3cko joined #salt
05:48 geekatcmu joined #salt
05:48 madduck joined #salt
05:48 GrueMaster joined #salt
05:48 nliadm joined #salt
05:48 scalability-junk joined #salt
05:48 kalail_ joined #salt
05:48 berto- joined #salt
05:48 neilf______ joined #salt
05:49 IOMonster joined #salt
05:49 kossy joined #salt
05:49 dooshtuRabbit1 joined #salt
05:50 skarn joined #salt
05:50 ajolo joined #salt
05:52 tyler-baker joined #salt
05:52 funzo_ joined #salt
05:52 17SAA7ERX joined #salt
05:52 17SAA68B0 joined #salt
05:52 samed joined #salt
05:55 muss joined #salt
05:55 samed joined #salt
05:56 tyler-baker joined #salt
05:56 muss joined #salt
05:59 jesusaurus joined #salt
05:59 yomilk joined #salt
06:00 skarn joined #salt
06:00 dooshtuRabbit1 joined #salt
06:00 IOMonster joined #salt
06:00 viq joined #salt
06:00 renoirb joined #salt
06:00 al joined #salt
06:00 NightMonkey joined #salt
06:00 TyrfingMjolnir joined #salt
06:00 Gareth_ joined #salt
06:00 sjlu joined #salt
06:00 Thugal joined #salt
06:00 Gareth joined #salt
06:00 Cidan joined #salt
06:00 Samos123 joined #salt
06:00 kormoc joined #salt
06:00 seanz joined #salt
06:00 Tahm joined #salt
06:00 xenoxaos joined #salt
06:00 xsteadfastx joined #salt
06:00 sc` joined #salt
06:00 GvJordan joined #salt
06:00 Sway joined #salt
06:00 Eugene joined #salt
06:00 [vaelen] joined #salt
06:00 gadams joined #salt
06:00 esharpmajor joined #salt
06:00 georgemarshall joined #salt
06:00 packeteer joined #salt
06:00 Deevolution joined #salt
06:00 jeremyb joined #salt
06:00 anotherZero joined #salt
06:00 pipeep joined #salt
06:00 Vye joined #salt
06:00 scarcry joined #salt
06:00 voxxit joined #salt
06:00 m0nky joined #salt
06:00 mihait joined #salt
06:00 wavis joined #salt
06:00 antonw joined #salt
06:00 thunderbolt joined #salt
06:00 balltongu joined #salt
06:00 JPaul joined #salt
06:00 InAnimaTe joined #salt
06:00 evidence joined #salt
06:00 g3cko joined #salt
06:00 geekatcmu joined #salt
06:00 madduck joined #salt
06:00 GrueMaster joined #salt
06:00 nliadm joined #salt
06:00 scalability-junk joined #salt
06:00 kalail_ joined #salt
06:00 berto- joined #salt
06:00 neilf______ joined #salt
06:00 kossy joined #salt
06:02 dooshtuRabbit1 joined #salt
06:02 Lilith_D3amon joined #salt
06:02 skarn joined #salt
06:02 kossy joined #salt
06:03 hasues left #salt
06:11 Lilith_D3amon left #salt
06:11 malinoff joined #salt
06:15 muss joined #salt
06:26 monkey66 joined #salt
06:40 ajolo joined #salt
06:40 linjan joined #salt
06:50 catpigger joined #salt
06:51 dooshtuRabbit1 joined #salt
06:59 genediazjr joined #salt
07:00 muss joined #salt
07:21 atbell joined #salt
07:34 jnials joined #salt
07:41 TheThing joined #salt
07:43 jchen joined #salt
07:43 otter768 joined #salt
07:50 toddnni joined #salt
07:50 kalessin joined #salt
07:51 mens joined #salt
07:55 malinoff joined #salt
08:02 aquinas joined #salt
08:30 honestly joined #salt
08:30 honestly joined #salt
08:44 cads joined #salt
08:50 monkey66 left #salt
08:54 sjlu joined #salt
08:57 bhosmer_ joined #salt
09:03 babilen lukecarrier: It is, I would argue, much more common to use GitFS or, if you require a local checkout, git.latest (cf. http://docs.saltstack.com/en/latest/ref/states/all/salt.states.git.html )
09:19 JlRd joined #salt
09:23 jnials joined #salt
09:26 orion__ joined #salt
09:34 NV joined #salt
09:44 otter768 joined #salt
10:12 TheThing joined #salt
10:16 malinoff joined #salt
10:45 SkyRocknRoll__ joined #salt
10:46 Jimlad joined #salt
10:55 favadi_ joined #salt
11:01 yomilk joined #salt
11:12 jnials joined #salt
11:18 elfixit joined #salt
11:32 viq joined #salt
11:34 Micromus Why does the minion cache it's id?
11:35 Micromus Pain in the arse having to log in manually to cloned templates to remove the minion_id
11:39 BigBear joined #salt
11:43 stochasm joined #salt
11:44 stochasm left #salt
11:45 otter768 joined #salt
11:51 N-Mi joined #salt
11:51 N-Mi joined #salt
11:55 bhosmer joined #salt
11:57 TheThing_ joined #salt
12:22 scarcry joined #salt
12:26 crocket joined #salt
12:27 crocket Why does state.highstate keep calling /usr/bin/zfs help?
12:27 crocket It's obviously zfs.
12:27 crocket zfs is not relevant to saltstack.
12:31 diegows joined #salt
13:01 lempa joined #salt
13:19 glyf joined #salt
13:24 crocket left #salt
13:46 otter768 joined #salt
13:48 aqua^mac joined #salt
13:50 glyf joined #salt
13:54 eXistenZNL joined #salt
13:58 genediazjr joined #salt
14:15 maZtah joined #salt
14:33 kawa2014 joined #salt
14:35 CeBe joined #salt
14:41 brianfeister joined #salt
14:49 jnials joined #salt
14:50 glyf joined #salt
15:07 bhosmer joined #salt
15:19 nitti joined #salt
15:21 elfixit joined #salt
15:35 cads joined #salt
15:38 monkey661 joined #salt
15:40 monkey661 left #salt
15:47 otter768 joined #salt
15:59 malinoff joined #salt
16:01 TheThing joined #salt
16:02 agend joined #salt
16:07 bbnix joined #salt
16:10 ajolo joined #salt
16:10 thedodd joined #salt
16:22 brianfeister joined #salt
16:35 pdayton joined #salt
16:38 jnials joined #salt
16:41 nitti joined #salt
16:45 linjan joined #salt
16:53 genediazjr joined #salt
17:06 jonatas_oliveira joined #salt
17:17 zlhgo joined #salt
17:31 whatevsz joined #salt
17:38 StDiluted joined #salt
17:44 glyf joined #salt
17:44 bfoxwell joined #salt
17:48 otter768 joined #salt
18:19 jmux joined #salt
18:27 jnials joined #salt
18:30 whatevsz joined #salt
18:30 arknix joined #salt
18:32 arknix joined #salt
18:34 JlRd joined #salt
18:36 arknix joined #salt
18:44 goodwill joined #salt
18:47 goodwill left #salt
18:47 TheThing joined #salt
18:50 Dw_Sn joined #salt
18:53 dooshtuRabbit joined #salt
18:55 Eliz_ joined #salt
18:56 TheThing_ joined #salt
18:56 linjan joined #salt
18:59 linjan joined #salt
19:12 viq joined #salt
19:27 jnials joined #salt
19:44 nitti joined #salt
19:47 TheThing joined #salt
19:48 arknix joined #salt
19:49 otter768 joined #salt
19:50 arknix joined #salt
19:52 felskrone joined #salt
19:53 vbabiy joined #salt
20:01 aquinas joined #salt
20:04 beado_ joined #salt
20:12 pdayton joined #salt
20:18 P0bailey joined #salt
20:19 P0bailey joined #salt
20:38 felskrone joined #salt
20:40 intellix joined #salt
20:44 llua left #salt
20:45 yetAnotherZero joined #salt
20:45 yetAnotherZero joined #salt
20:54 asyncsrc joined #salt
21:03 dooshtuRabbit joined #salt
21:09 bhosmer joined #salt
21:10 viq joined #salt
21:16 jnials joined #salt
21:18 asyncsrc Hi there.  I was wondering if anyone has experience with gitfs.  I've set up my environment and git so that my demo environment is mapped to a demo tag within a git repository, which works fine with command 'salt 'pm-grid-demo*' state.highstate' -- however, this same server has another site on it that requires a different tagged branch in the repo "demo4" -- but i can't create
21:18 asyncsrc another environment for demo4 because then i'd have two environments: demo and demo4 which have the same server listed.  Is there a better way to specify which branch you'd like to pull from without using environment names? I'd just use the git.latest state, but these are windows servers
21:22 Ryan_Lane joined #salt
21:29 smcquay joined #salt
21:31 eliasp asyncsrc: why not removing the server from the 2nd environment in your top.sls?
21:31 eliasp asyncsrc: also you might want to place your top.sls in a separate repo, as top.sls will be merged from all branches before being evaluated…
21:32 eliasp asyncsrc: this makes it hard to always keep the correct state of top.sls between the different branches
21:32 eliasp asyncsrc: so an extra repo just containing top.sls within 'master' and no other branches makes it way easier dealing with top.sls
21:34 Ryan_Lane joined #salt
21:37 intellix joined #salt
21:39 asyncsrc eliasp: thank you.  that's definitely useful.  so the problem is that the server has multiple sites on it, and unfortunately one of the sites has a different configuration it needs than the other sites.  so I was hoping for an ability to specify a branch outside of just the environment name, since I have a single server that needs multiple branches, depending on what site on
21:39 asyncsrc the server is being deployed to.  I'm not sure if it's an unusual circumstance.  I definitely like the idea of simplifying the top.sls file.  I wasn't sure if you were suggesting that I have a demo and demo4 environment, and simply remove the server reference from the top.sls file from the environment that I didn't want pulled.  so if the server was only specified in the
21:39 asyncsrc top.sls file in demo4, then there wouldn't be any confusion i suppose when doing a highstate..  it just seems like there'd be a better way
21:40 eliasp asyncsrc: well, if you want to manage multiple "sites", you'd probably rather solve this within your states and pillars (e.g. using 'roles')… the environments are more intended to be used for things like "dev → test → staging → prod/base"
21:41 asyncsrc eliasp: that's definitely true. :) I'd love to do that if i could somehow specify branches within the state files somehow or via roles
21:41 ckao joined #salt
21:42 asyncsrc eliasp: it seems like gitfs, from what I can gather, uses the environment names as branches for mapping between the two.  i didn't see any other way to do it.. so either gitfs wasn't designed for this at all, or i'm missing something.. perhaps
21:43 yetAnotherZero joined #salt
21:44 asyncsrc eliasp: thank you by the way for responding.  i really appreciate your insight
21:45 linjan joined #salt
21:47 GnuLxUsr joined #salt
21:50 otter768 joined #salt
21:52 Singularo joined #salt
21:54 aurynn does reactor.conf get rendered through jinja?
21:57 aurynn alternatively, when the reactor calls into my reaction SLS, what grains/pillar data do I get?
21:57 genediazjr joined #salt
22:02 mosen joined #salt
22:08 brianfeister joined #salt
22:09 jhauser joined #salt
22:14 istram joined #salt
22:33 genediazjr joined #salt
22:34 Flusher joined #salt
22:43 manfred aurynn it gets rendered on the master, not on the minion, so I wouldn't use your grains and pillar data there, only use the post data from the reactor event, then do all your grain stuff inside of the states that the reactor runs
23:00 genediazjr joined #salt
23:00 yetAnotherZero joined #salt
23:00 yetAnotherZero joined #salt
23:03 yomilk joined #salt
23:11 spiksius joined #salt
23:14 aurynn manfred, thanks
23:15 aurynn are salt mine values available from pillar rendering?
23:18 nafg_ joined #salt
23:21 foulou joined #salt
23:25 dunz0r joined #salt
23:44 whatevsz joined #salt
23:51 otter768 joined #salt
23:54 davesque joined #salt
23:54 davesque it’s not clear to me how to actually use environments.  how does a minion know which environments apply to it?

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