Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-03-06

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

All times shown according to UTC.

Time Nick Message
00:01 antpa joined #salt
00:01 aqua^c_ joined #salt
00:08 jalbretsen joined #salt
00:09 cyborg-one joined #salt
00:09 edrocks joined #salt
00:11 berserk joined #salt
00:13 Rumbles joined #salt
00:16 misconfig joined #salt
00:18 iggy hemebond: no
00:18 hemebond oh
00:18 iggy lungaro: write your own state that does what you need
00:18 lungaro iggy, how do I do that?
00:19 iggy misconfig: you can use modules instead of grains
00:19 lungaro ah I see. i'll go RTFM. reading https://docs.saltstack.com/en/latest/ref/states/writing.html
00:19 misconfig iggy, thanks. I'll use the module route - I wanted to try to find the info in grains so I knew what I was searching for first.
00:20 catpiggest joined #salt
00:22 aw110f joined #salt
00:25 aw110f_ joined #salt
00:28 amcorreia joined #salt
00:33 catpig joined #salt
00:33 debian112 joined #salt
00:35 edrocks joined #salt
00:45 zenlot joined #salt
01:02 berserk joined #salt
01:02 antpa joined #salt
01:03 vpm joined #salt
01:08 drawsmcgraw joined #salt
01:15 vpm joined #salt
01:27 misconfig Is one able to require other formulas in salt? I see where require supports a SLS, but I need to load an entire formula, e.g (https://gist.github.com/ndobbs/db96fff738aedfa37e53)
01:28 iceyao joined #salt
01:30 hemebond misconfig: You can require states, I think.
01:31 hemebond Or just order your states to that the required state/formula is done first.
01:31 hemebond https://docs.saltstack.com/en/latest/ref/states/requisites.html#require-an-entire-sls-file
01:33 lungaro is there a way to inspect what a module provides? or get help? ie, "salt-call grains -h" or something would be very useful. I see grains.setval but no getval
01:34 misconfig Thanks hemebond. Maybe I'm approaching it wrong. I have a few states that need to be used with many other apps, such as installing java. However I was going to make a 'top level' state for certain roles, this will allow me to reuse states.
01:35 hemebond misconfig: I just did that. Created a java.sls that installs Java and listed it first for the minion making it run before the others.
01:36 zzzirk joined #salt
01:37 misconfig hemebond: I think you and I are the same page with the concept, I think my directory layout is the main issue here. Maybe if I place all of my states in a single dir, this would work.
01:37 misconfig I'm going to run a test case, thanks for the clarification and willingness to help me.
01:37 hemebond What do you mean by one directory?
01:38 hemebond I could also have used /states/java/init.sls
01:38 misconfig See here in my GIST: https://gist.github.com/ndobbs/db96fff738aedfa37e53
01:38 hemebond The reference from top.sls is the same.
01:39 hemebond That looks fine. What does your top.sls look like for the minion involved?
01:41 misconfig https://gist.github.com/ndobbs/dea3dccd0c21dde7e5e9
01:42 hemebond And there is a "java" in the grains?
01:42 hemebond Sorry, in the roles grain.
01:42 misconfig it works if I set java in roles grain, yes. It also works if I set a server type (role) in grains as well such as 'nsm-standalone' or nsm-sensor
01:43 misconfig however in a state called nsm-standalone, I define my requirements - java, - suricata et al.
01:43 hemebond Oooooh, that's not how require works.
01:43 misconfig that's where I'm tripping up. Maybe I'm going too deep into this rabbit hole for the sake of simplicity, which is really making this more complicate.d
01:43 hemebond It doesn't include the required state.
01:43 hemebond It just sets ordering and dependencies.
01:43 hemebond But won't add the state for you.
01:44 hemebond So you must include the java state, either via top.sls or in another state by using the include keyword.
01:44 misconfig hemebond: I think that's what I was looking for! include is likely going to do the trick!
01:47 misconfig hemebond: that worked
01:47 misconfig haha I can't thank you enough for your help and insight
01:47 hemebond You're welcome :-)
02:00 berserk joined #salt
02:05 hal58th joined #salt
02:07 zzzirk joined #salt
02:16 berserk joined #salt
02:26 donmichelangelo joined #salt
02:29 viq joined #salt
02:30 ageorgop joined #salt
02:37 berserk joined #salt
02:42 zzzirk joined #salt
02:47 ilbot3 joined #salt
02:47 Topic for #salt is now Welcome to #salt! | Latest Version: 2015.8.7 | Register for SaltConf16: http://saltconf.com/register/ | Paid support available for open source Salt! https://www.saltstack.com/support/ | Logs: http://irclog.perlgeek.de/salt/ | Paste: https://gist.github.com/ (please don't multiline paste into channel) | Ask with patience as we are volunteers and may not have immediate answers
02:51 zzzirk joined #salt
03:03 antpa joined #salt
03:08 hal58th joined #salt
03:13 iceyao joined #salt
03:25 misconfig joined #salt
03:29 XenophonF joined #salt
03:29 iggy lungaro: sys.doc or the online docs
03:33 zmalone joined #salt
03:35 aqua^c joined #salt
03:39 brianfeister joined #salt
03:44 iceyao joined #salt
04:02 antpa joined #salt
04:06 anthpa joined #salt
04:09 malinoff joined #salt
04:12 jfelchner_ joined #salt
04:14 catpig joined #salt
04:15 hal58th joined #salt
04:24 cyborg-one joined #salt
04:38 mdasilva joined #salt
04:39 sfz- left #salt
04:44 mavhq joined #salt
04:52 fracklen joined #salt
04:56 malinoff joined #salt
05:04 fracklen_ joined #salt
05:16 hal58th joined #salt
05:22 fracklen joined #salt
05:30 fracklen joined #salt
05:42 zzzirk joined #salt
05:49 oida joined #salt
05:50 anmol joined #salt
05:51 zzzirk joined #salt
06:02 zzzirk joined #salt
06:08 hamsham joined #salt
06:12 zzzirk joined #salt
06:12 antpa joined #salt
06:17 aqua^c joined #salt
06:17 mavhq joined #salt
06:23 gcfhvjbkn joined #salt
06:24 anmol joined #salt
06:58 malinoff joined #salt
06:58 jimklo joined #salt
07:13 jimklo joined #salt
07:13 jimklo joined #salt
07:16 brianvdawson joined #salt
07:16 jimklo joined #salt
07:21 jimklo joined #salt
07:35 brianfeister joined #salt
07:35 brianvdawson left #salt
07:49 viq joined #salt
07:50 Trauma joined #salt
08:00 jimklo joined #salt
08:06 jimklo joined #salt
08:12 Miouge joined #salt
08:15 jimklo joined #salt
08:25 chrismoos joined #salt
08:28 Trauma joined #salt
08:36 nidr0x joined #salt
08:42 cyborg-one joined #salt
08:53 cyborg-one joined #salt
08:55 cyborglone joined #salt
08:56 baoboa joined #salt
09:00 aqua^c joined #salt
09:02 evle joined #salt
09:17 hal58th joined #salt
09:24 brianfeister joined #salt
09:29 polyidus joined #salt
09:34 iceyao joined #salt
09:41 martoss joined #salt
09:43 nidr0x joined #salt
09:46 beardedeagle joined #salt
09:46 martoss joined #salt
09:52 jfelchner joined #salt
09:58 nidr0x joined #salt
10:03 kahiru joined #salt
10:04 mdupont joined #salt
10:04 gcfhvjbkn left #salt
10:17 nidr0x joined #salt
10:18 Trauma joined #salt
10:39 Rumbles joined #salt
10:42 Fiber^ joined #salt
11:13 brianfeister joined #salt
11:19 nidr0x joined #salt
11:24 zenlot joined #salt
11:26 malinoff joined #salt
11:27 martoss joined #salt
11:36 brianfeister joined #salt
11:37 TyrfingMjolnir joined #salt
11:57 ggoZ joined #salt
11:59 shiriru joined #salt
12:04 martoss1 joined #salt
12:15 fracklen joined #salt
12:16 nidr0x joined #salt
12:17 fracklen joined #salt
12:20 nidr0x joined #salt
12:21 fracklen joined #salt
12:27 nidr0x joined #salt
12:27 sauvin joined #salt
12:29 misconfig joined #salt
12:37 baoboa joined #salt
12:38 fracklen joined #salt
12:50 nidr0x joined #salt
12:51 abednarik joined #salt
12:51 feliks joined #salt
13:02 nidr0x joined #salt
13:03 nidr0x joined #salt
13:09 cyborg-one joined #salt
13:10 malinoff joined #salt
13:10 fracklen joined #salt
13:19 hal58th joined #salt
13:23 Nazca joined #salt
13:23 fracklen joined #salt
13:28 abednarik joined #salt
13:31 aqua^c joined #salt
13:38 fracklen joined #salt
13:41 mavhq joined #salt
13:44 dmaiocchi joined #salt
13:48 beardedeagle joined #salt
13:49 Jimlad joined #salt
13:58 fracklen joined #salt
13:59 misconfig joined #salt
14:02 baoboa joined #salt
14:24 fracklen joined #salt
14:24 mdasilva joined #salt
14:37 Rebus joined #salt
14:50 MadHatter42 joined #salt
14:50 catpig joined #salt
14:53 Nazzy joined #salt
15:04 fracklen_ joined #salt
15:05 fracklen joined #salt
15:19 hal58th joined #salt
15:20 MadHatter42 joined #salt
15:23 aqua^c joined #salt
15:24 fracklen joined #salt
15:25 fracklen joined #salt
15:28 slav0nic joined #salt
15:44 zengine joined #salt
15:49 beardedeagle joined #salt
15:51 fredvd joined #salt
15:55 Jimlad joined #salt
15:55 ggoZ joined #salt
16:18 cpowell joined #salt
16:21 slav0nic joined #salt
16:25 scoates joined #salt
16:31 zzzirk joined #salt
16:36 anmol joined #salt
16:37 ggoZ1 joined #salt
16:38 zer0def joined #salt
16:51 VR-Jack joined #salt
16:57 zzzirk joined #salt
16:58 muep joined #salt
17:10 zengine joined #salt
17:13 jfelchner I just found a slightly misleading error message.
17:14 jfelchner When file.copy has `force` set, and the files are the same the error message says that the file exists and therefore has not been overridden.  This implies that `force` is not working, rather than the appropriate error message stating that the files are the same so nothing was done.
17:20 abednarik joined #salt
17:25 berserk joined #salt
17:27 Rumbles joined #salt
17:36 amcorreia joined #salt
17:40 berserk joined #salt
17:43 lungaro joined #salt
17:44 ronnix joined #salt
17:56 berserk joined #salt
17:57 ronnix joined #salt
17:58 Trauma_ joined #salt
17:58 zzzirk joined #salt
18:03 malinoff joined #salt
18:13 zzzirk joined #salt
18:14 liskl joined #salt
18:21 zzzirk joined #salt
18:26 zsoftich4 joined #salt
18:26 iggy feel free to send a pull request
18:27 zmalone joined #salt
18:28 kim0 joined #salt
18:28 hasues joined #salt
18:28 hasues left #salt
18:35 Lionel_Debroux_ joined #salt
18:38 berserk joined #salt
18:41 bry4n joined #salt
18:52 noraatepernos joined #salt
18:53 ageorgop joined #salt
18:53 edrocks joined #salt
18:56 mdasilva joined #salt
18:57 |Fiber^| joined #salt
19:00 zsoftich4 left #salt
19:00 quix joined #salt
19:03 misconfig joined #salt
19:04 misconfig joined #salt
19:05 mdasilva joined #salt
19:05 berserk joined #salt
19:12 keimlink joined #salt
19:15 zmalone joined #salt
19:18 berserk joined #salt
19:18 beardedeagle joined #salt
19:22 jalbretsen joined #salt
19:25 cpowell joined #salt
19:32 berserk joined #salt
19:33 KyleG joined #salt
19:33 KyleG joined #salt
19:38 chiui joined #salt
19:39 berserk_ joined #salt
19:40 mdasilva joined #salt
19:46 mdasilva joined #salt
19:50 aqua^c joined #salt
19:52 berserk joined #salt
20:08 brianfeister joined #salt
20:09 misconfig joined #salt
20:16 jfelchner_ joined #salt
20:18 zmalone joined #salt
20:20 capricorn_1 joined #salt
20:27 digitalhero joined #salt
20:29 Trauma_ joined #salt
20:37 jhauser joined #salt
20:37 zmalone joined #salt
20:44 fracklen joined #salt
20:52 sauvin joined #salt
21:00 digitalhero joined #salt
21:18 drawsmcgraw joined #salt
21:19 beardedeagle joined #salt
21:20 drawsmcgraw joined #salt
21:23 drawsmcgraw joined #salt
21:25 drawsmcgraw joined #salt
21:27 ffredrikk joined #salt
21:28 sauvin joined #salt
21:28 fracklen joined #salt
21:31 zengine joined #salt
21:40 Rumbles joined #salt
21:41 fracklen joined #salt
22:00 keimlink joined #salt
22:01 ggoZ joined #salt
22:11 Rumbles joined #salt
22:16 linjan_ joined #salt
22:19 scoates joined #salt
22:28 flowstate joined #salt
22:32 digitalhero joined #salt
22:35 brianfeister joined #salt
22:41 zenlot6 joined #salt
22:45 ronnix joined #salt
22:47 Trauma joined #salt
22:49 digitalhero joined #salt
22:52 captain_magnus joined #salt
22:53 Trauma joined #salt
23:20 beardedeagle joined #salt
23:22 digitalhero joined #salt
23:26 aqua^c joined #salt
23:31 flowstate joined #salt
23:40 mavhq joined #salt
23:44 west575_ joined #salt
23:49 mavhq joined #salt
23:52 mavhq joined #salt
23:54 mavhq joined #salt
23:55 mavhq joined #salt
23:56 aqua^c joined #salt
23:57 polyidus joined #salt
23:58 flowstate joined #salt

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