Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-10-19

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

All times shown according to UTC.

Time Nick Message
00:07 schimmy joined #salt
00:15 ndrei joined #salt
00:20 yomilk joined #salt
00:21 ramishra joined #salt
00:21 intellix joined #salt
00:31 jsm joined #salt
00:39 mgw joined #salt
00:47 jsm joined #salt
00:57 diegows joined #salt
00:57 jsm joined #salt
00:58 abrahamrhoffman joined #salt
01:09 dstufft If I want to write a custom ext pillar, where's the best place to put the .py file at?
01:14 bhosmer joined #salt
01:18 jsm joined #salt
01:22 ramishra joined #salt
01:34 TyrfingMjolnir joined #salt
01:36 yomilk joined #salt
01:37 TheThing joined #salt
01:39 Mso150 joined #salt
01:44 to_json joined #salt
01:48 Mso150 joined #salt
02:01 schimmy joined #salt
02:23 ramishra joined #salt
02:30 Mso150_u joined #salt
02:31 aranhoide joined #salt
02:37 yomilk joined #salt
02:38 elfixit1 joined #salt
02:39 TyrfingMjolnir joined #salt
02:41 schimmy joined #salt
03:01 ekristen joined #salt
03:08 jsm joined #salt
03:09 mapu joined #salt
03:18 mordonez joined #salt
03:23 ramishra joined #salt
03:36 ramishra joined #salt
04:01 crocket joined #salt
04:01 crocket hey men
04:01 crocket What do you use to provision a server and manage its configurations?
04:01 crocket As far as I know, there are several paths.
04:01 crocket 1) cobbler + configuration management tool
04:02 crocket 2) packer + configuration management tool -> Vagrant or configuration management
04:02 crocket 3) Foreman + puppet or salt
04:02 crocket Foreman is the most user friendly and the most integrated approach.
04:03 crocket Foreman also provides monitoring of all managed hosts.
04:03 crocket cobbler, packer, and vagrant all ignore monitoring.
04:09 naegelin joined #salt
04:37 ramishra joined #salt
04:42 yomilk joined #salt
04:48 DaveQB joined #salt
05:06 a1j joined #salt
05:08 timoguin joined #salt
05:21 Mso150 joined #salt
05:38 ramishra joined #salt
05:40 jhulten joined #salt
05:49 druonysus joined #salt
06:32 ndrei joined #salt
06:38 ramishra joined #salt
06:46 war2 joined #salt
06:50 linjan joined #salt
06:59 war3 joined #salt
07:05 Mso150 joined #salt
07:05 linjan joined #salt
07:25 alanpearce joined #salt
07:36 gmcwhistler joined #salt
07:39 ramishra joined #salt
07:45 aquinas joined #salt
07:57 ramteid joined #salt
08:04 war2 joined #salt
08:09 glyf joined #salt
08:17 fsero joined #salt
08:17 fsero hi all
08:18 fsero im a salt newbie
08:18 fsero im trying to use salt-ssh from a non privileged user
08:18 fsero and im tryiing to use Saltfile to provides the config path for salt
08:19 fsero but it seems that salt does not honor Saltfile
08:19 fsero the version which im running is  $ salt --version salt 2014.1.13 (Hydrogen)
08:19 fsero what im doing wrong?
08:20 fsero when i tried to do anything from salt-ssh it reads the default config on /etc not the provided on the Saltfile
08:24 shookees joined #salt
08:29 bhosmer joined #salt
08:39 crocket left #salt
08:40 ramishra joined #salt
08:55 bhosmer joined #salt
09:06 yomilk joined #salt
09:10 CeBe joined #salt
09:11 Mso150_c joined #salt
09:18 linjan joined #salt
09:37 nebuchadnezzar joined #salt
09:41 ramishra joined #salt
09:41 babilen fsero: You will probably want to run 2014.7 for salt-ssh. I am not using it, but that version changed a lot regarding it and it might very well be that the functionality you want to rely on isn't available.
09:51 fsero rhanks babilen ill give it a shot
09:54 babilen fsero: The docs are typically quite good in mentioning when a particular feature became available, but then you might not necessarily find it in more general "tutorial style" articles. All I know is that there have been *massive* improvements and changes in salt-ssh between 2014.1 and 2014.7 and I'd definitely use the latter for anything -ssh
09:57 fsero babilen: it works!
09:57 fsero thanks a lot :)
09:58 babilen \o/
10:03 chiui joined #salt
10:17 yomilk joined #salt
10:19 peters-tx joined #salt
10:22 Setsuna666 basepi: Any plans for SaltStack to develop PXE environment to provision servers ? If not, I might start to look into that and create an open source project out of it
10:23 yomilk joined #salt
10:27 Setsuna666 basepi: Something like Puppet Razor, but for Salt
10:42 ramishra joined #salt
11:19 babilen +1
11:31 pjs joined #salt
11:33 glyf joined #salt
11:34 Setsuna666 The repo has been created :P https://github.com/Setsuna666/SaltyPXE
11:34 glyf_ joined #salt
11:35 crocket joined #salt
11:35 crocket http://imagebin.ca/v/1eGPFYZfKuuP is my understanding of provisioning and configuration management. Could anyone see it and point out misunderstandings?
11:38 glyf joined #salt
11:40 mapu joined #salt
11:43 ramishra joined #salt
11:44 felskrone joined #salt
11:45 the_drow joined #salt
11:45 the_drow Hi guys, what do you think about using an actual state machine in order to implement states?
11:46 the_drow https://github.com/bgr/hsmpy is the most complete HSM I found.
11:47 the_drow and yet it's under development... I would like to join efforts with other salt developers in order to develop an HSM as infrastructure for building states
11:55 babilen the_drow: I'd be more interested in something based on petri nets
11:55 the_drow petri nets?
11:56 babilen But then, what would be your use of FSMs in salt?
11:56 babilen the_drow: http://en.wikipedia.org/wiki/Petri_net
11:56 elfixit1 joined #salt
11:57 babilen But then the library you linked does not seem to exactly implement FSMs and I am, as of now, not sure which abstract machine it does implement :)
11:57 the_drow Because it's easier to express states with a state machine. And I'm talking about HSM (which is finite but not quite the same as a FSM)
11:58 the_drow babilen: It seems that there's a library that implements petry nets called python-snakes
11:58 the_drow babilen: https://pypi.python.org/pypi/SNAKES
12:00 the_drow babilen: I have to say it looks much more complex then HSM but I have to research more
12:00 the_drow babilen: An HSM is http://en.wikipedia.org/wiki/UML_state_machine#Hierarchically_nested_states
12:01 babilen I think HSMs and Petri Nets have a lot in common. From what I can gather Petri Nets are a much more rigorous approach to defining states and reactions to them. During my studies I hacked at a little startup that modeled reactions of first responders during floods, earthquakes and similar catastrophes based on petri nets. It was of uttermost importance that we could *proof* that it was correct.
12:02 babilen haven't worked with them ever since and haven't touched HSMs outside compilar and theoretical informatics courses :D
12:02 babilen *compiler
12:03 the_drow I have worked with HSM before and they proved to be super easy
12:29 crocket Is salt without a web UI for now?
12:30 the_drow crocket: check halite
12:30 crocket the_drow, People say halite is dead.
12:30 crocket Its development stopped several months ago.
12:30 the_drow I have no idea then
12:30 the_drow ask a core dev
12:31 crocket Dear, core devs.
12:31 AviMarcus joined #salt
12:31 crocket When will salt redeem a web UI?
12:38 babilen .oO( When you write one! )
12:38 intellix joined #salt
12:38 babilen I'm sure nobody minds if you start working on halite
12:43 ramishra joined #salt
13:01 pdayton joined #salt
13:02 shookees joined #salt
13:33 ndrei joined #salt
13:50 dude051 joined #salt
13:52 jsm joined #salt
13:56 metalrufflez joined #salt
13:57 pdayton joined #salt
14:00 metalrufflez Hello everyone, I'm planning to migrate my whole infrastructure from Puppet to SaltStack and I'm having a hard time "groking" salt, specially how to convert my parametrized classes and defined types to salt
14:01 metalrufflez I've tried googling problems similars to mine but with no success, maybe you guys can help me
14:02 metalrufflez For example
14:03 metalrufflez In Puppet I have a defined type to create users and manage their pubkeys and such and I have two manifests users_infra.pp and users_dev.pp that I want applied on different hosts
14:04 metalrufflez So I just include them on the respective node in site.pp.
14:04 iggy in salt, you'd have /srv/salt/users/{infra,dev}.sls and target those files in your top.sls
14:05 metalrufflez If I understood salt right I have to put user information in pillar (users_infra.sls and users_dev.sls) for example, and then create two states with the exact same code but getting their info from the different pillars
14:06 metalrufflez ?
14:10 metalrufflez I tought it was a bit strange to duplicate the states like that. If I want to add a new parameter for exemple I have to edit two pillars and two states, instead of a two manifests and one defined type
14:10 metalrufflez as I would do in puppet
14:11 iggy metalrufflez: you could do it with one state and different pillars if you want
14:11 iggy there are probably quite a few ways you could work this out
14:12 iggy one of the nice (but confusing to beginners) things about salt is that it doesn't impose it's will on you... it gives you the tools to do lots of things and lets you use the one that works best for you
14:13 metalrufflez @iggy there's exactly what I wanted to do, but I don't get how I could do this in Salt. How can I tell a stat that in an specific node to get its info from pillar infra and in other from pillar dev
14:15 iggy you assign pillars to hosts
14:16 alanpearce joined #salt
14:16 iggy then the state just pulls from pillar
14:18 iggy so you could assign "users_infra" pillar file to host1 and "users_dev" to host2... both have a pillar of "users" in the file
14:18 iggy then the state just reads "users" pillar
14:22 metalrufflez and if I want both users_infra and users_dev applied on the same host it will merge the users pillar right?
14:23 metalrufflez I think that solves it, I was thinking about it wrong, instead of declaring a users pillar and then adding the users info "under" it I was just dumping the users directly into the users_infra and users_dev pillar
14:25 jsm joined #salt
14:28 iggy you'll have to test the pillar merge
14:28 iggy it works mostly, but it's got a few oddities
14:41 crocket left #salt
14:49 ndrei joined #salt
14:56 higgs001 joined #salt
14:56 Nexpro joined #salt
15:01 bhosmer joined #salt
15:07 higgs001 joined #salt
15:14 glyf joined #salt
15:21 alanpearce joined #salt
15:21 jsm joined #salt
15:23 metalrufflez iggy: Yep, that worked, thanks
15:27 iggy np, if you have any other questions, feel free to ask
15:32 marv__ joined #salt
15:34 ITChap joined #salt
15:42 higgs001 joined #salt
15:52 Krishn joined #salt
15:52 Krishn Anyone there ?
15:53 iggy define there
15:53 Krishn Never mind
15:53 Krishn Thank you
15:55 ndrei joined #salt
16:01 khk joined #salt
16:05 Guest25009 hey guys, i'm getting an InvalidGroup.Duplicate error when trying to create a security group on aws, isn't boto_secgroup.present supposed to be idempotent?
16:06 war2 joined #salt
16:16 otter768 joined #salt
16:24 mechanicalduck joined #salt
16:24 glyf joined #salt
16:26 NullWagon joined #salt
16:27 Nexpro2 joined #salt
16:28 mechanicalduck joined #salt
16:31 bagackiz joined #salt
16:31 bmcorser joined #salt
16:33 bagackiz joined #salt
16:36 bagackiz joined #salt
16:37 higgs001 joined #salt
16:38 bagackiz joined #salt
16:39 thekabal joined #salt
16:39 bagackiz joined #salt
16:40 thekabal How do I do the equivalent of pkg.installed in a state file for a FreeBSD *port* (not package)?
16:41 bagackiz joined #salt
16:43 bagackiz joined #salt
16:44 Nexpro joined #salt
16:45 bagackiz joined #salt
16:46 druonysus joined #salt
16:47 bagackiz joined #salt
16:48 bagackiz joined #salt
16:50 bagackiz joined #salt
16:51 higgs001 joined #salt
16:52 thekabal joined #salt
16:52 bagackiz joined #salt
16:54 bagackiz joined #salt
16:55 bagackiz joined #salt
16:57 bagackiz joined #salt
16:57 higgs001 joined #salt
16:58 bagackiz joined #salt
16:59 bagackiz joined #salt
17:01 bagackiz joined #salt
17:04 thekabal joined #salt
17:08 Mso150_c joined #salt
17:10 Mso150_c_r joined #salt
17:12 aranhoide joined #salt
17:18 snuffeluffegus joined #salt
17:19 thekabal_ joined #salt
17:19 thekabal joined #salt
17:22 thekabal Sorry, Comcast sucks. I’m trying to find the equivalent of pkg.installed in a state file for installing *ports* (not packages) in BSD. I tried pkg.installed with sysutils/megacli but it fails.
17:28 thekabal joined #salt
17:34 shookees joined #salt
17:34 shookees joined #salt
17:37 Twiglet joined #salt
17:37 andapathisch joined #salt
17:37 [vaelen] joined #salt
17:37 a1j joined #salt
17:38 mortis joined #salt
17:38 Eugene joined #salt
17:38 nliadm joined #salt
17:38 basepi joined #salt
17:38 Mso150_c_r joined #salt
17:38 kwmiebach joined #salt
17:38 antonw joined #salt
17:38 pfallenop joined #salt
17:38 scoates joined #salt
17:38 pfallenop joined #salt
17:38 xsteadfastx joined #salt
17:38 Vye joined #salt
17:38 rcsheets joined #salt
17:38 kaiyou joined #salt
17:38 programmerq joined #salt
17:38 johtso joined #salt
17:38 sarlalian joined #salt
17:38 juice joined #salt
17:38 ikanobori_ joined #salt
17:38 pjs joined #salt
17:39 Rockj joined #salt
17:39 tkharju joined #salt
17:40 Cidan joined #salt
17:41 \ask joined #salt
17:43 xenoxaos joined #salt
17:48 alanpearce joined #salt
17:49 NullWagon joined #salt
17:52 arnoldB Setsuna666: Foreman might be something for you
17:54 alanpearce joined #salt
17:54 alanpearce_ joined #salt
18:07 wnkz joined #salt
18:15 viq joined #salt
18:15 viq joined #salt
18:17 jsm joined #salt
18:24 cberndt joined #salt
18:25 blehblah joined #salt
18:26 blehblah is it possible to require an sls that is an init.sls ? it doesnt seem to work in my state, says cannot locate. i.e. - require: - pkg: mysql, state is base/mysql/init.sls
18:34 druonysus joined #salt
18:35 druonysus joined #salt
18:46 ndrei joined #salt
18:48 cmthornton blehblah: are you including the sls?
18:49 cmthornton blehblah: `include: - base.mysql` at the top should work, then later do the `require: - pkg: mysql`
18:50 TheThing joined #salt
18:57 blehblah is it necessary to use the environment in the include if salt is configured with that in the file_roots though?
19:04 bagackiz joined #salt
19:06 bagackiz joined #salt
19:13 shookees joined #salt
19:13 shookees joined #salt
19:13 bagackiz joined #salt
19:15 bagackiz joined #salt
19:17 bagackiz joined #salt
19:17 ckao joined #salt
19:18 thekabal joined #salt
19:18 bagackiz joined #salt
19:20 thekabal Attempting to use an init.sls to install an RPM from the salt master, but I get “The following package(s) were not found, and no possible matches were found in the package db”. What am I likely doing wrong? :)
19:22 bagackiz joined #salt
19:23 ggoZ joined #salt
19:24 bagackiz joined #salt
19:26 bagackiz joined #salt
19:28 jnials joined #salt
19:30 bagackiz joined #salt
19:32 bagackiz joined #salt
19:33 bagackiz joined #salt
19:34 Setsuna666 arnoldB: Not to discretit the devs or anything, but Foreman is atrocious. To big, complex for nothing and it tries to do too much
19:34 Setsuna666 discredit*
19:35 bagackiz joined #salt
19:37 bagackiz joined #salt
19:38 bagackiz joined #salt
19:42 ajolo joined #salt
19:43 bagackiz joined #salt
19:43 ajolo_ joined #salt
19:44 bagackiz joined #salt
19:46 bagackiz joined #salt
19:47 ajolo__ joined #salt
19:48 bagackiz joined #salt
19:49 bagackiz joined #salt
19:49 ndrei joined #salt
19:50 ajolo joined #salt
19:54 bagackiz joined #salt
19:54 Mso150_c_r joined #salt
19:55 bagackiz joined #salt
19:57 bagackiz joined #salt
19:59 bagackiz joined #salt
20:00 bagackiz joined #salt
20:02 bagackiz joined #salt
20:06 bagackiz joined #salt
20:08 bagackiz joined #salt
20:10 bagackiz joined #salt
20:11 bagackiz joined #salt
20:13 bagackiz joined #salt
20:15 bagackiz joined #salt
20:16 bagackiz joined #salt
20:16 thekabal Wow, my rpm install was botched thanks to a single indention. Python sucks, for real.
20:18 bagackiz joined #salt
20:20 bagackiz joined #salt
20:22 bagackiz joined #salt
20:23 vbabiy joined #salt
20:23 bagackiz joined #salt
20:24 belak joined #salt
20:24 belak Where is the best place to get started with salt?
20:25 bagackiz joined #salt
20:27 bagackiz joined #salt
20:27 cmthornton blehblah: I'm not sure if you need to specify the environment in the include. I don't believe you do. I'd try it without, and test by running `salt-call -l debug state.sls <file that requires mysql sls>`
20:28 blehblah cmthornton: it does require me to add saltenv=env when i do that
20:28 blehblah not sure how i would go about adding that to the include
20:28 bagackiz joined #salt
20:30 bagackiz joined #salt
20:32 bagackiz joined #salt
20:33 ajolo_ joined #salt
20:34 bagackiz joined #salt
20:35 bagackiz joined #salt
20:37 bagackiz joined #salt
20:39 bagackiz joined #salt
20:40 bagackiz joined #salt
20:42 bagackiz joined #salt
20:44 blehblah the include works fine, but the require sls still says not found
20:44 bagackiz joined #salt
20:45 ajolo__ joined #salt
20:45 bagackiz joined #salt
20:47 cmthornton blehblah: I normally run from a single env, so I've never had to deal with this. What does the `pkg: mysql` look like?
20:47 bagackiz joined #salt
20:48 blehblah https://github.com/saltstack-formulas/mysql-formula/blob/master/mysql/init.sls
20:49 bagackiz joined #salt
20:49 cmthornton blehblah: ahh, and you want to depend on the mysqld service?
20:50 blehblah specifically i want to depend on mysql.database, however that doesnt seem like it has any requires in it for the mysql package, so i figured by requiring the whole thing it would work out
20:50 cmthornton blehblah: you can rely on the entire sls file using `sls: mysql` or just the mysqld service with `service: mysqld`
20:50 blehblah yeah im trying to actually use sls: mysql and it says requisite not found, but the include works, wierd
20:51 bagackiz joined #salt
20:51 blehblah actually sls: mysql.database seems to be working, guess ill just roll with that for now
20:51 NullWagon left #salt
20:52 sihill joined #salt
20:53 sihill hello
20:53 bagackiz joined #salt
20:54 sihill I wonder if there is any Saltstack UI (other than Halite) worth trying out. Any sugestions?
20:54 Whissi joined #salt
20:54 bagackiz joined #salt
20:56 bagackiz joined #salt
20:58 bagackiz joined #salt
20:59 bagackiz joined #salt
21:01 bagackiz joined #salt
21:02 Whissi joined #salt
21:03 bagackiz joined #salt
21:03 bhosmer joined #salt
21:05 bagackiz joined #salt
21:06 bagackiz joined #salt
21:08 bagackiz joined #salt
21:10 bagackiz joined #salt
21:11 bagackiz joined #salt
21:12 ajolo__ joined #salt
21:13 bagackiz joined #salt
21:15 bagackiz joined #salt
21:15 babilen Could an op +b *!*bagackiz@Why.Is.A.Raven.Like.A.Writing.Desk.PanicBNC.org$##fix_your_connection please?
21:16 bagackiz joined #salt
21:18 ajolo__ joined #salt
21:18 bagackiz joined #salt
21:20 bagackiz joined #salt
21:22 bagackiz joined #salt
21:22 ajolo__ joined #salt
21:27 Whissi joined #salt
21:28 glyf joined #salt
21:30 CeBe1 joined #salt
21:31 ajolo__ joined #salt
21:32 DaveQB joined #salt
21:32 hopthrisC left #salt
21:37 druonysus joined #salt
21:37 druonysus joined #salt
21:37 to_json joined #salt
21:43 ajolo joined #salt
21:45 bagackiz joined #salt
21:47 bagackiz joined #salt
21:49 mosen joined #salt
21:52 bagackiz joined #salt
21:53 loz-- joined #salt
21:54 bagackiz joined #salt
21:57 war2 joined #salt
22:01 bagackiz joined #salt
22:02 bagackiz joined #salt
22:04 bagackiz joined #salt
22:06 bagackiz joined #salt
22:07 schimmy joined #salt
22:07 ixokai_ joined #salt
22:07 ixokai_ joined #salt
22:07 bagackiz joined #salt
22:09 bagackiz joined #salt
22:11 bagackiz joined #salt
22:12 bagackiz joined #salt
22:14 bagackiz joined #salt
22:15 CiE joined #salt
22:16 bagackiz joined #salt
22:17 schimmy joined #salt
22:17 shane_ joined #salt
22:17 eliasp babilen: no OPs online right now ;(
22:20 bagackiz joined #salt
22:21 bagackiz joined #salt
22:21 shane__ joined #salt
22:23 bagackiz joined #salt
22:24 chiui joined #salt
22:25 bagackiz joined #salt
22:27 bagackiz joined #salt
22:27 TheThing joined #salt
22:27 yomilk joined #salt
22:28 bagackiz joined #salt
22:30 bagackiz joined #salt
22:31 bagackiz joined #salt
22:33 bagackiz joined #salt
22:33 war2 joined #salt
22:34 bagackiz joined #salt
22:35 schimmy1 joined #salt
22:36 anotherZero joined #salt
22:37 bagackiz joined #salt
22:38 shane_ joined #salt
22:38 bagackiz joined #salt
22:40 bagackiz joined #salt
22:41 bagackiz joined #salt
22:42 jeffrubic joined #salt
22:43 bagackiz joined #salt
22:44 bagackiz joined #salt
22:46 bagackiz joined #salt
22:48 bagackiz joined #salt
22:49 bagackiz joined #salt
22:51 bagackiz joined #salt
22:53 bagackiz joined #salt
22:54 bagackiz joined #salt
22:55 schimmy joined #salt
22:56 bagackiz joined #salt
22:58 bagackiz joined #salt
23:00 bagackiz joined #salt
23:01 bagackiz joined #salt
23:03 bagackiz joined #salt
23:05 bagackiz joined #salt
23:06 bagackiz joined #salt
23:07 mg__ joined #salt
23:07 druonysus joined #salt
23:07 druonysus joined #salt
23:08 burtnes joined #salt
23:08 bagackiz joined #salt
23:09 shane__ joined #salt
23:10 bagackiz joined #salt
23:12 bagackiz joined #salt
23:13 bagackiz joined #salt
23:15 bagackiz joined #salt
23:17 bagackiz joined #salt
23:18 bagackiz joined #salt
23:20 bagackiz joined #salt
23:22 bagackiz joined #salt
23:24 bagackiz joined #salt
23:26 bagackiz joined #salt
23:27 diegows joined #salt
23:27 bagackiz joined #salt
23:29 bagackiz joined #salt
23:31 bagackiz joined #salt
23:32 bagackiz joined #salt
23:34 bagackiz joined #salt
23:36 bagackiz joined #salt
23:38 bagackiz joined #salt
23:39 bagackiz joined #salt
23:39 snuffeluffegus joined #salt
23:41 bagackiz joined #salt
23:43 bagackiz joined #salt
23:44 aquinas joined #salt
23:45 bagackiz joined #salt
23:47 bagackiz joined #salt
23:48 bagackiz joined #salt
23:50 bagackiz joined #salt
23:52 bagackiz joined #salt
23:53 bagackiz joined #salt
23:55 bagackiz joined #salt
23:56 Singularo joined #salt
23:56 bagackiz joined #salt
23:58 bagackiz joined #salt

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