Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2013-07-14

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

All times shown according to UTC.

Time Nick Message
00:00 djn joined #salt
00:04 djn joined #salt
00:06 oliv_mc joined #salt
00:14 felixhummel_ joined #salt
00:25 lazyguru joined #salt
00:35 whit_ joined #salt
00:44 raydeo joined #salt
00:47 felixhummel joined #salt
00:52 dthom91 joined #salt
01:04 raydeo joined #salt
01:06 whit joined #salt
01:09 kstaken joined #salt
01:28 maspwr joined #salt
01:38 kstaken joined #salt
01:52 andrew joined #salt
01:59 Ivo joined #salt
02:02 dahunter3 joined #salt
02:05 dahunter3 joined #salt
02:16 avienu joined #salt
02:16 dahunter3 joined #salt
02:22 tpe11etier joined #salt
02:25 avienu joined #salt
02:39 jslatts joined #salt
02:46 jbunting joined #salt
02:48 darrend joined #salt
02:51 durnik joined #salt
03:05 avienu joined #salt
03:06 emocakes joined #salt
03:09 avienu joined #salt
03:33 aat joined #salt
03:44 lazyguru joined #salt
04:02 smoof joined #salt
04:04 linjan__ joined #salt
04:09 jslatts joined #salt
04:13 kstaken joined #salt
04:15 bluemoon joined #salt
04:21 TOoSmOotH joined #salt
04:59 UtahDave joined #salt
05:03 maspwr joined #salt
05:12 rroa_ joined #salt
05:31 dthom91 joined #salt
05:39 avienu joined #salt
05:53 Furao left #salt
05:58 danielbachhuber joined #salt
06:19 dthom91 joined #salt
06:28 alekibango joined #salt
06:39 oz_akan_ joined #salt
06:48 rroa joined #salt
07:04 danielbachhuber joined #salt
07:19 dthom91 joined #salt
07:38 Newt[cz] joined #salt
07:49 Newt[cz] joined #salt
07:50 dthom91 joined #salt
07:57 linjan__ joined #salt
07:59 Xeago joined #salt
08:02 kstaken joined #salt
08:09 danielbachhuber joined #salt
08:31 hebz0rl joined #salt
08:39 danielbachhuber joined #salt
08:50 dthom91 joined #salt
08:59 hazzadous joined #salt
09:25 bluemoon joined #salt
09:43 Sypher joined #salt
09:44 danielbachhuber joined #salt
09:51 dthom91 joined #salt
09:53 akitada joined #salt
10:18 zooz joined #salt
10:26 dthom91 joined #salt
10:26 raydeo joined #salt
10:26 APLU joined #salt
10:27 Newt[cz] joined #salt
10:33 bemehow joined #salt
10:49 MrTango joined #salt
10:50 danielbachhuber joined #salt
11:10 Ivo joined #salt
11:13 hazzadous joined #salt
11:26 dthom91 joined #salt
11:39 Jahkeup_ joined #salt
11:56 danielbachhuber joined #salt
11:56 dthom91 joined #salt
11:59 jhauser joined #salt
11:59 reddye joined #salt
12:04 jbunting joined #salt
12:11 isomorphic joined #salt
12:28 qba73 joined #salt
12:30 reddye left #salt
12:44 napperjabber joined #salt
12:46 mgw joined #salt
13:00 dthom91 joined #salt
13:01 lemao joined #salt
13:01 danielbachhuber joined #salt
13:11 dthom91 joined #salt
13:13 LordOfLA joined #salt
13:15 napperjabber joined #salt
13:17 danielbachhuber joined #salt
13:18 jslatts joined #salt
13:24 kenbolton joined #salt
13:45 alekibango joined #salt
13:46 diegows joined #salt
13:48 APLU joined #salt
13:53 Teknix joined #salt
13:55 dthom91 joined #salt
13:57 napperjabber joined #salt
13:58 aat joined #salt
14:03 lazyguru joined #salt
14:05 oz_akan_ joined #salt
14:19 aat joined #salt
14:22 aat joined #salt
14:26 akitada joined #salt
14:30 aat joined #salt
14:31 oz_akan_ joined #salt
14:33 dahunter3 joined #salt
14:42 cron0 joined #salt
14:51 felixhummel joined #salt
14:57 [diecast] joined #salt
14:57 faeroe_ joined #salt
14:58 emocakes joined #salt
15:01 hazzadous joined #salt
15:02 kho joined #salt
15:10 jhauser joined #salt
15:24 dthom91 joined #salt
15:30 teskew1 joined #salt
15:37 clone1018 joined #salt
15:45 noob2 joined #salt
15:45 noob2 is there a way to get salt to run an apache config test and only restart the apache service if it the returncode is 0?
15:47 raydeo joined #salt
15:50 avienu joined #salt
15:56 qba73 joined #salt
16:06 squelch joined #salt
16:06 squelch left #salt
16:20 dthom91 joined #salt
16:25 oz_akan_ joined #salt
16:28 maspwr joined #salt
16:34 LucasCozy joined #salt
16:43 FreeSpencer joined #salt
17:01 StDiluted joined #salt
17:13 bwghughes joined #salt
17:14 jhauser joined #salt
17:15 qba73 joined #salt
17:18 minaguib_ noob2: IIRC a modern apache init script already does configtest before stop/restart
17:32 noob2 minaguib_: oh ok.  then no need
17:41 carlos joined #salt
18:04 tpe11etier joined #salt
18:19 az87c joined #salt
18:20 az87c_ joined #salt
18:25 lemao How do I make sure state actions run as sudo? I have a git clone cmd with user and group set but it errors when salty-vagrant runs.
18:26 lemao 'could not create work tree ... Permission denied'
18:28 akoumjian lemnao: Do you want the git clone to run as root, or do you want it to run as the user and group you have set? Seems like you want to set the parent directory as writable by whatever user is running the git clone, or be happy with root performing the action
18:29 [diecast] joined #salt
18:30 akoumjian lemao ^
18:31 kleinishere joined #salt
18:37 kstaken joined #salt
18:39 bhosmer_ joined #salt
18:46 cjh_ joined #salt
19:01 bluemoon joined #salt
19:05 tomeff joined #salt
19:35 carlos joined #salt
19:39 jslatts joined #salt
19:42 whit joined #salt
19:45 linjan joined #salt
19:51 carlos joined #salt
20:03 bhosmer joined #salt
20:08 [diecast] joined #salt
20:10 noob2 left #salt
20:12 Guest48285 joined #salt
20:18 qba73 joined #salt
20:21 mgw joined #salt
20:21 carlos_ joined #salt
20:23 xinkeT joined #salt
20:26 Jahkeup_ joined #salt
20:30 Teknix joined #salt
20:40 napperjabber joined #salt
20:42 whit joined #salt
20:44 lemao akoumjian: I have a step that create a git user and I want to git clone as that user. I am using cmd.run with user=git and group=git and this works when I run salt-call manually but it doesnt work when Vagrant provision runs. I get a 'permission denied'. So I am assuming that it is running as the vagrant user (?)
20:45 clone1018 Odd, salt-api seems to no longer want to start peacefully on centos
20:45 clone1018 it just hangs for a couple of hours
20:46 akoumjian lemao: All that salty-vagrant does is run "sudo salt-call state.highstate -l debug"
20:46 akoumjian lemao: running that manually should give you identical results
20:46 qba73_ joined #salt
20:48 akoumjian lemao: Try setting "salt.run_highstate = false" and after you vagrant up on a fresh vm, ssh in and run state.highstate manually
20:49 mgw joined #salt
20:52 zooz does salt have something similar to puppet hiera?
20:53 EugeneKay Yes. There's Pillar(loaded from the Master, reloadable dynamically), and Grains(set at start time on the Minions).
20:53 EugeneKay It looks like Hiera is closer to Pillar
20:54 zooz is it possibe to overwrite Pillar values depending on grain values for example?
20:54 EugeneKay Sure.
20:54 zooz with hiera that is very simple
20:54 zooz which gives great power and flexibility
20:55 EugeneKay https://github.com/KHresearch/slug/blob/running/pillar/top.sls
20:55 EugeneKay First I load some default pillar data, then I load a machine-specific one which overrides any values that are specified.
20:55 zooz great
20:56 carlos_ joined #salt
20:56 EugeneKay You could extend this as far as you like
20:56 zooz so then this data can be referenced within states and/or templates?
20:57 EugeneKay Yup.
20:57 EugeneKay Here's another basic example https://github.com/KHresearch/slug/blob/running/states/top.sls
20:58 EugeneKay I do a lot more than just that in my production salt tree; I just need to get off my lazy arse and open source it.
20:58 zooz awesome
20:58 zooz yeah same here with puppet
20:59 zooz I have written a number of great independent modules
20:59 zooz which I am yet to open source it
20:59 zooz now I am looking at integrating salt with existing puppet infrastructure
20:59 zooz I understand they both overlap each other
21:01 zooz just wrote a bit of grains code which allows to target minions based on puppet facter facts
21:01 zooz I wonder whether this is something I should do a git pull request for?
21:04 EugeneKay That would probably be very appreciated
21:04 zooz cool, I will do that, but before I need to do some more testing and fix any bugs
21:05 zooz it may not be very useful for many people, but for people who run puppet infrastructure and want to start integrating salt, especially for orchestration and deployments, that should be very useful
21:06 lemao akoumjian: humm, I think it has to do with the ordering of steps. Does the order in the file matter or I also need to add require, etc?
21:06 EugeneKay It sounds like a good conversion step
21:07 bhosmer_ joined #salt
21:07 akoumjian lemao: You need to use require statements in order to guarantee that states get executed in a specific order
21:08 lemao akoumjian: ok, I came from ansible and that assumption came with me
21:09 bluemoon joined #salt
21:10 akoumjian lemao: Could you indulge my curiosity and explain why you are looking at salt after using ansible?
21:13 lemao akoumjian: :-) I gravitated to ansible first for a few reasons. One is that it uses plain SSH in a simple push model where for the common bits you basically need zero pieces installed on the target machine. I am aware that as the usage grows this model may not be the best one, but it is the simplest to start with.
21:14 akoumjian lemao: Are you looking at salt now just as a comparison, then?
21:15 lemao Second, it has a normalized structure for tasks and for the most part it is quite easy to follow.
21:15 lemao akoumjian: However, it felt that the abstraction was too low-level at times and too many tasks for simple things.
21:15 EugeneKay I avoided Ansible for the same reason(SSH push)
21:16 lemao akoumjian: I looking for a provisioning tool and didnt have a good experience with Chef/puppet. I don't have all to time in the world to go over the learning curve
21:17 akoumjian lemao: Well, hopefully salt provides a good balance with idempodent states and the learning curve. I actually have to run, but good luck with your tasks
21:17 lemao akoumjian: so, yes, I am basically evaluating salt at this point by creating, first, a simple gitolite recipe (what do you call a collection of states and pillars?)
21:18 lemao EugeneKay: for me SSH is perfect as we don't have hundreds of resources needing care
21:19 isomorphic joined #salt
21:20 lemao EugeneKay: but I do see a path of first simple push/SSH to pull/daemon/whatever protocol as the farm of resources increases substantially (but for me only then)
21:20 dthom91 joined #salt
21:22 maspwr joined #salt
21:24 diegows joined #salt
21:39 cnelsonsic joined #salt
21:42 bluemoon joined #salt
21:50 dthom91 joined #salt
21:54 jhauser joined #salt
22:04 kleinishere joined #salt
22:11 jeddi joined #salt
22:14 emocakes joined #salt
22:17 qba73 joined #salt
22:21 whiskybar joined #salt
22:32 kiorky .N
22:33 bluemoon joined #salt
22:51 dthom91 joined #salt
22:59 oz_akan_ joined #salt
22:59 aat joined #salt
23:00 hilt joined #salt
23:03 efixit joined #salt
23:03 whit joined #salt
23:05 tpe11etier joined #salt
23:16 KyleG joined #salt
23:20 qba73 joined #salt
23:26 cxz joined #salt
23:27 tpe11etier joined #salt
23:38 mgw joined #salt
23:39 whit joined #salt
23:39 lemao is there a way to group a set or related command that need to be executed in a sequence without having to add a require for each?
23:42 tpe11eti1r joined #salt
23:42 kleinishere joined #salt
23:45 dave_den lemao: You probably are looking for overstate: http://docs.saltstack.com/ref/states/overstate.html
23:51 dthom91 joined #salt

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