Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-12-27

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

All times shown according to UTC.

Time Nick Message
00:03 pdayton joined #salt
00:04 pdayton1 joined #salt
00:31 Mikke joined #salt
00:34 hebz0rl joined #salt
00:37 badon joined #salt
00:38 Bolle joined #salt
00:51 markm_ joined #salt
01:04 glyf joined #salt
01:06 pdayton joined #salt
01:13 arno joined #salt
01:24 forrest joined #salt
01:26 monkey66 joined #salt
01:44 pentabular joined #salt
01:52 Sub joined #salt
01:53 pdayton joined #salt
02:20 pdayton joined #salt
02:20 hasues joined #salt
02:20 glyf joined #salt
02:31 Mso150_m joined #salt
02:46 aparsons joined #salt
02:47 jayne joined #salt
02:56 cberndt joined #salt
03:10 supermike joined #salt
03:15 supermike I need to populate a configuration file with a piece of information that can't be queried from the machine itself (say for example the color of its network cable), what would be the right "salt way" of getting this information down to the minions?
03:38 Eugene Pillar.
03:39 cberndt joined #salt
03:41 jY supermike: depends where you store that info.. but you can put it right in the minion conf as a grain or external pillar
03:44 supermike Thanks. I'll dig into Pillars more to see if I can make it do what I want.
03:46 supermike oh actually, the grains example in the docs lists something very similar to what I'm trying to do. Dunno why I missed it before.
03:50 elfixit joined #salt
04:14 monkey66 joined #salt
04:17 delinquentme joined #salt
04:17 delinquentme im curious
04:17 delinquentme https://github.com/saltstack-formulas/graphite-formula/blob/master/graphite/init.sls#L85
04:17 delinquentme this ... is that technically a bad practice?
04:21 favadi_ joined #salt
04:29 supermike this for sure is ... https://github.com/saltstack-formulas/graphite-formula/blob/master/graphite/init.sls#L63
04:32 scooby2 joined #salt
04:46 ndrei joined #salt
04:56 Mso150_m joined #salt
04:56 delinquentme joined #salt
05:00 glyf joined #salt
05:07 Mso150_m_e joined #salt
05:15 vbabiy joined #salt
05:52 budman joined #salt
06:00 Mso150 joined #salt
06:13 nikogonzo joined #salt
06:19 vbabiy joined #salt
06:36 vbabiy joined #salt
06:37 catpigger joined #salt
06:45 bhosmer_ joined #salt
06:56 Sypher joined #salt
06:59 jerryc joined #salt
07:07 vbabiy joined #salt
07:15 vbabiy joined #salt
07:26 glyf joined #salt
08:08 Sypher joined #salt
08:36 acabrera joined #salt
08:38 pppingme joined #salt
08:40 glyf joined #salt
08:51 CeBe joined #salt
08:57 vbabiy joined #salt
09:03 stoogenmeyer joined #salt
09:16 chamunks joined #salt
09:19 JlRd joined #salt
09:35 elmar joined #salt
09:40 budman joined #salt
09:41 elmar555 Guys, would anyone be able to help a saltstack newbie here? I am trying to use one of the formulas on github (https://github.com/saltstack-formulas/nginx-formula), I've added it as a git subtree to my /srv/salt/nginx-formula folder, can i somehow ran this in top.sls even though the folder structure is nginx-formula/nignx/init.sls?
10:19 vbabiy joined #salt
10:28 vbabiy joined #salt
10:35 stoogenmeyer joined #salt
10:39 babilen elmar555: No, you cannot as you always refer to the configured file roots. To use formulas you have, among other options, the following options
10:41 babilen 1. You configure additional file_roots in your master (cf. http://docs.saltstack.com/en/latest/ref/configuration/master.html#std:conf_master-file_roots). That is you would create /srv/salt/formulas/ and move your formulas in there and then add, for example, "- /srv/salt/formulas/nginx-formula" to your master config.
10:42 babilen 2. You use GitFS (cf. http://docs.saltstack.com/en/latest/topics/tutorials/gitfs.html), fork the Github formulas (or configure a local checkout) and configure them in gitfs_remotes (you will probably want to look into this eventually)
10:43 babilen 3. You automatically clone formulas from GH and configure the salt master with the salt formula (yeah, but of a chicken and egg problem here). You can find the salt formula on https://github.com/saltstack-formulas/salt-formula and you would use https://github.com/saltstack-formulas/salt-formula#saltformulas to configure formulas.
10:49 shoma joined #salt
10:56 vbabiy joined #salt
11:01 glyf joined #salt
11:03 stoogenmeyer joined #salt
11:07 badon joined #salt
11:17 otter768 joined #salt
11:21 jhujhiti joined #salt
11:23 hebz0rl joined #salt
11:24 stoogenmeyer joined #salt
11:27 vbabiy joined #salt
11:36 aqua^mac joined #salt
11:38 vbabiy joined #salt
11:48 monkey66 left #salt
12:23 markm_ joined #salt
12:29 bhosmer joined #salt
12:37 CeBe joined #salt
13:18 otter768 joined #salt
13:21 glyf joined #salt
13:24 linjan joined #salt
13:31 ttrumm joined #salt
13:34 ttrumm joined #salt
13:36 ttrumm_ joined #salt
13:37 TyrfingMjolnir joined #salt
13:39 glyf joined #salt
13:45 glyf joined #salt
13:53 msciciel joined #salt
13:57 vbabiy joined #salt
14:05 ggoZ joined #salt
14:08 GrueMaster joined #salt
14:26 zadock joined #salt
14:33 ekristen joined #salt
14:47 aquinas joined #salt
14:52 hebz0rl_ joined #salt
15:07 TyrfingMjolnir joined #salt
15:11 cads joined #salt
15:19 otter768 joined #salt
15:20 sgregory joined #salt
15:21 sgregory joined #salt
15:24 monkey661 joined #salt
15:24 monkey661 left #salt
15:26 aqua^mac joined #salt
15:44 aqua^mac joined #salt
15:47 acabrera joined #salt
15:47 vectra joined #salt
15:51 Konijntjes joined #salt
16:05 budman joined #salt
16:10 TheThing joined #salt
16:14 dork joined #salt
16:19 sk_0 i want to install multilib-devel with salt on arch (pacman) but it promps for a y/N response to replace packages. how is this handled with salt?
16:19 sk_0 i want to say yes
16:25 monkey66 joined #salt
16:28 jonatas_oliveira joined #salt
16:36 stevednd is there a builtin command to keep minions up to date with the latest version of a specific branch?
16:38 muebel joined #salt
16:39 dork joined #salt
16:39 amustafa Not sure if there's a built in version, but this can probably help https://github.com/saltstack-formulas/salt-formula
16:39 amustafa sorry
16:40 amustafa didn't read the previous conversation
16:40 MTecknology joined #salt
16:43 dork joined #salt
16:46 decrypted joined #salt
16:47 stevednd amustafa: yeah, that's unfortunately installing from packages. I bootstrapped from git branch 2014.7
16:47 stevednd I was just hoping for an easy way to keep it up to date
16:48 iggy joined #salt
16:50 muebel joined #salt
16:53 pentabular joined #salt
16:57 stoogenmeyer joined #salt
17:00 muebel joined #salt
17:03 monkey66 left #salt
17:05 iggy joined #salt
17:16 iggy joined #salt
17:20 otter768 joined #salt
17:21 iggy joined #salt
17:24 JPaul joined #salt
17:34 aqua^mac joined #salt
17:37 tuxx joined #salt
17:38 NikolaiToryzin joined #salt
17:50 Konijntjes joined #salt
18:00 slav0nic joined #salt
18:00 slav0nic joined #salt
18:02 sk_0 left #salt
18:02 sk_0 joined #salt
18:35 bhosmer joined #salt
18:37 pentabular joined #salt
18:38 diegows joined #salt
18:39 jonatas_oliveira joined #salt
18:46 acabrera joined #salt
18:54 aqua^mac joined #salt
18:58 amustafa stevednd: You could always build a state that does that. You most likely won't want to automatically do it
18:58 amustafa but since this is the salt library you'll probably be fine.
18:59 amustafa You can build  a state that runs a cron job and pulls and builds the latest code automatically
18:59 amustafa I don't have much experience with it, but I think you can also attach to git hooks
19:00 amustafa that way th eprocess is triggered
19:05 bhosmer joined #salt
19:06 perfectsine joined #salt
19:06 agend joined #salt
19:08 JlRd joined #salt
19:12 otter768 joined #salt
19:20 bhosmer joined #salt
19:25 Mso150 joined #salt
19:32 CeBe joined #salt
19:34 bryguy joined #salt
19:38 Nate joined #salt
19:48 davesque joined #salt
19:49 t0rrant joined #salt
19:54 tuxx joined #salt
20:00 hebz0rl_ joined #salt
20:11 ajolo joined #salt
20:23 pentabular joined #salt
20:24 bhosmer joined #salt
20:28 jonatas_oliveira joined #salt
20:38 CeBe joined #salt
20:39 stevednd amustafa: I'm thinking I might be able to do it with the saltify cloud provider
20:42 aqua^mac joined #salt
20:55 davesque joined #salt
20:55 TheThing joined #salt
20:58 gngsk joined #salt
20:59 CeBe joined #salt
21:08 acabrera joined #salt
21:11 Mso150_j joined #salt
21:25 pdayton joined #salt
21:43 desposo joined #salt
21:43 bhosmer joined #salt
21:57 pdayton joined #salt
22:11 bhosmer joined #salt
22:12 pdayton joined #salt
22:15 CeBe joined #salt
22:17 jonatas_oliveira joined #salt
22:22 CeBe joined #salt
22:25 SheetiS joined #salt
22:26 delinquentme joined #salt
22:29 otter768 joined #salt
22:31 aqua^mac joined #salt
22:34 pdayton joined #salt
22:35 otter768 joined #salt
22:39 SheetiS joined #salt
22:52 CeBe1 joined #salt
23:01 tuxx joined #salt
23:02 sk_0 i want to install on Arch multilib-devel which will prompt (y/N) to replace gcc with gcc-multilib and gcc-libs with gcc-libs-multilib. how can salt handle this?
23:11 bhosmer joined #salt
23:12 ckao joined #salt
23:12 slav0nic joined #salt
23:15 eliasp sk_0: looks like 'salt.modules.pacman.install()' doesn't have any params to deal with this, so this is either a bug or a missing feature…
23:16 eliasp sk_0: you might want to file an issue for this: https://github.com/saltstack/salt/issues
23:16 sk_0 eliasp: will do. thanks homie
23:17 eliasp sk_0: does pacman allow to pre-set responses for such things like it's possible for APT/Dpkg (APT::Get::Assume-Yes)?
23:17 xenoxaos joined #salt
23:17 eliasp sk_0: or is this interactive-mode only? if so, this will be hard or next to impossible to do
23:18 eliasp if it also supports a non-interactive mode, it should be fairly easy to implement
23:19 eliasp ah, looks like pacman has a "--noconfirm" param to do this
23:19 eliasp hmm… salt.modules.pacman.install() already uses --noconfirm
23:19 eliasp so there must be something wrong here
23:37 amustafa stevednd: I'm not too well versed with the cloud provider . Can't really help much there.
23:38 acabrera joined #salt
23:38 viq joined #salt
23:46 luminous joined #salt
23:52 CeBe joined #salt

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