Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-12-20

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

All times shown according to UTC.

Time Nick Message
00:00 eightyeight nay. and we're no stranger to salt either. we've been running it before tom had saltstack as a company. :)
00:00 loggyer joined #salt
00:00 eightyeight i've worked with tom at 3 previous jobs
00:00 eightyeight </bragging_rights>
00:00 eightyeight :)
00:01 ninkotech joined #salt
00:01 nitti joined #salt
00:02 dimeshake eightyeight: then ping him! ;)
00:02 dimeshake eightyeight: prosody is managed as a service via normal init/systemd methods?
00:03 eightyeight dimeshake: yeah. i can "service prosody <stop|start|restart|...>", has an /etc/init.d/prosody init script, is configured via sysv-rc-conf(8), etc
00:03 eightyeight afaik, it's a full normal, run-of-the-mill, sysv init daemon
00:03 babilen eightyeight: Yeah, but something must be different. I use exactly the same code for many other services and would have noticed that behaviour.
00:03 eightyeight same
00:03 eightyeight mail, httpd, ...
00:03 eightyeight all work
00:04 * eightyeight blames ubuntu
00:04 dimeshake ah, that definitely qualifies as a weird OS
00:04 eightyeight unless, this version of salt is requiring upstart sysadmin utils, rather than sysvinit
00:04 eightyeight if that's the case, i don't know if it's "upstart-ized"
00:05 * eightyeight checks
00:08 * eightyeight bags it, and takes off for the weekend
00:08 eightyeight that's what mondays are for
00:09 * eightyeight &
00:09 babilen enjoy!
00:09 murrdoc haha
00:14 aparsons joined #salt
00:16 cruatta joined #salt
00:17 murrdoc joined #salt
00:26 loggyer joined #salt
00:26 atbell joined #salt
00:28 _atbell_ joined #salt
00:32 loggyer How can we check for a value in a list in jinja..something like, "for x in  list" in python
00:32 loggyer any ideas? ...couldn't find anything so far
00:37 beneggett joined #salt
00:38 otter768 joined #salt
00:41 aqua^mac joined #salt
00:47 yomilk joined #salt
00:55 Mso150 joined #salt
01:07 gngsk joined #salt
01:15 pentabular joined #salt
01:24 delinquentme joined #salt
01:24 delinquentme Is it a bad practice to make your salt-master the monitoring node?
01:24 delinquentme and if so, at what size should the salt master + monitoring node be split ?
01:30 JlRd joined #salt
01:31 pdayton joined #salt
01:35 pdayton joined #salt
01:41 sk_0_ my salt-master seems to skip the my minion on rasberry pi. i can ping it but highstate doesn't get to the pi. is the master not waiting long enough?
01:53 pdayton joined #salt
01:57 jeffrubic joined #salt
01:57 RainDoctor joined #salt
02:13 yomilk joined #salt
02:23 ajolo joined #salt
02:30 aqua^mac joined #salt
02:30 jhauser_ joined #salt
02:33 yomilk joined #salt
02:35 Ryan_Lane joined #salt
02:38 otter768 joined #salt
03:21 jnials joined #salt
03:24 atbell joined #salt
03:36 jnials joined #salt
03:42 StDiluted joined #salt
03:46 viq joined #salt
03:47 jonbrefe joined #salt
03:58 StDiluted joined #salt
04:13 budman joined #salt
04:15 VictorLin joined #salt
04:19 aqua^mac joined #salt
04:28 nitti joined #salt
04:31 jonbrefe joined #salt
04:34 bhosmer joined #salt
04:34 Zachary_DuBois joined #salt
04:39 otter768 joined #salt
05:09 steveoliver joined #salt
05:10 TheThing joined #salt
05:36 vbabiy joined #salt
05:41 yomilk joined #salt
05:48 Mindfart joined #salt
05:48 Mindfart joined #salt
05:49 schlueter joined #salt
05:52 ValF joined #salt
05:54 ValF Hi, I've  installed a minon on ubuntu to a master running on centos, the master accepts the key of my minion but then, the minion doesn't return anything to test.ping and the minion process just dies. Anyone can help about this ? Thanks
05:57 aurynn ValF, what's in the minion logs?
05:59 yomilk joined #salt
06:01 ValF aurynn, "2014-12-20 05:42:20,762 [salt             ][ERROR   ] Attempt to authenticate with the salt master failed"   -- that's all
06:01 aurynn ValF, start it from the commandline with, as root, 'salt-minion -l debug'
06:01 aurynn and see what it says
06:03 Ryan_Lane joined #salt
06:04 ValF That might help : http://pastebin.com/JPKcKbYw
06:07 vbabiy joined #salt
06:08 aqua^mac joined #salt
06:08 ValF aurynn, http://pastebin.com/cLTadp6X
06:09 aurynn well, it's clearly failing to authenticate :)
06:09 aurynn delete the keys on master/minion, try again?
06:09 aurynn are they both the same version?
06:09 ValF hehe :) Tried that, keys are accepted again, then blackout
06:10 ValF That's the problem, minion is running on Ubuntu and master on Centos, here is the version summary : http://pastebin.com/JPKcKbYw  .  salt is the same version but not every 'dependency' is because it's two different distro..
06:27 aurynn bring the master up in debug, see what it says
06:31 thehaven_ joined #salt
06:39 cberndt joined #salt
06:40 otter768 joined #salt
06:47 TronPaul_ joined #salt
06:59 Rockj joined #salt
07:02 Rockj joined #salt
07:04 Rockj joined #salt
07:07 Sway joined #salt
07:07 delinquentme so it seems when im sshed into a minion ( doing some troubleshooting ) ... that when I run: $ salt-call --local state.highstate -l debug
07:08 delinquentme it is unable to find any of the state files ... however when the highstate is called from master -- it can find them easy-peasy
07:11 kossy joined #salt
07:12 JordanTesting joined #salt
07:12 hebz0rl joined #salt
07:13 pf_moore joined #salt
07:13 fintler_ joined #salt
07:13 m0nky joined #salt
07:13 thunderbolt joined #salt
07:13 seanz joined #salt
07:13 renoirb joined #salt
07:14 muebel joined #salt
07:14 gadams joined #salt
07:14 steveoliver joined #salt
07:15 antonw joined #salt
07:15 joeyparsons joined #salt
07:15 goki_______ joined #salt
07:16 JonGretar joined #salt
07:16 kalail_ joined #salt
07:16 Sway joined #salt
07:16 georgemarshall joined #salt
07:17 esharpmajor joined #salt
07:17 neilf______ joined #salt
07:18 berto- joined #salt
07:18 InAnimaTe joined #salt
07:18 claytron joined #salt
07:18 geekatcmu joined #salt
07:20 mihait joined #salt
07:21 bernieke joined #salt
07:22 IOMonster joined #salt
07:22 IOMonster joined #salt
07:22 kossy joined #salt
07:23 seanz joined #salt
07:23 Gareth joined #salt
07:25 ValF_ joined #salt
07:27 navim joined #salt
07:27 ValF_ Hey aurynn , sorry for delay. I tried salt master in debug mode and it doesn't spit anything relevant unfortunately. I'm pretty sure it's one of those versions mismatch  .. bloody CentOs
07:27 Sway joined #salt
07:28 GvJordan joined #salt
07:28 packeteer joined #salt
07:28 wavis joined #salt
07:29 [vaelen] joined #salt
07:29 georgemarshall joined #salt
07:30 kossy joined #salt
07:30 kossy joined #salt
07:30 octarine joined #salt
07:31 berto- joined #salt
07:31 Goncyn joined #salt
07:32 Vye joined #salt
07:32 kormoc joined #salt
07:32 geekatcmu joined #salt
07:33 phil_ joined #salt
07:33 seanz joined #salt
07:33 sk_0 joined #salt
07:33 [vaelen] joined #salt
07:33 Eugene joined #salt
07:33 kossy joined #salt
07:33 skarn joined #salt
07:33 Gareth joined #salt
07:33 madduck joined #salt
07:38 georgemarshall joined #salt
07:38 Mso150 joined #salt
07:39 xenoxaos joined #salt
07:42 zadock joined #salt
07:42 _ikke_ joined #salt
07:44 zadock joined #salt
07:57 aqua^mac joined #salt
08:06 aquinas joined #salt
08:08 TheThing joined #salt
08:14 sdk joined #salt
08:41 otter768 joined #salt
08:44 ndrei joined #salt
08:54 ValF_ aurynn: I installed pycrypto: 2.6.1 and it works now, my ubuntu was behind ...
08:54 druonysus joined #salt
08:59 evidence joined #salt
09:22 wt joined #salt
09:24 thehaven joined #salt
09:45 aqua^mac joined #salt
09:52 lempa joined #salt
09:54 yomilk joined #salt
10:42 otter768 joined #salt
10:54 delinquentme {%- if grains['os_family'] == 'Debian' %}
10:54 delinquentme this is jinja markup right?
11:05 eliasp delinquentme: yes
11:05 delinquentme ^_^
11:05 eliasp delinquentme: but with a syntax error
11:05 TyrfingMjolnir joined #salt
11:05 delinquentme oh?
11:06 eliasp opening with {%- and closing with just %}
11:06 eliasp so either use {% ... %} or {%- ... -%}
11:07 delinquentme so I'm actually working on someone elses open source code here ... happen to have a link to these conventions ?
11:07 TyrfingMjolnir Does saltstack work with Mac?
11:07 TyrfingMjolnir Can it be used for "SKEL" functionality when creating new users?
11:07 eliasp delinquentme: for Jinja: http://jinja.pocoo.org/docs/dev/templates/
11:08 eliasp delinquentme: that's plain Jinja without any Salt stuff in it…
11:08 eliasp Salt related Jinja documentation: http://docs.saltstack.com/en/latest/ref/renderers/all/salt.renderers.jinja.html
11:08 delinquentme ahh cool the - strips white space
11:09 eliasp TyrfingMjolnir: it works with OS X, yes… for 'skel' functionality, you might wanna manage /etc/skel (or whichever directory provides 'skel' on OS X) using SaltStack
11:09 eliasp TyrfingMjolnir: then create users using the 'users' state: http://docs.saltstack.com/en/latest/ref/states/all/salt.states.user.html
11:14 delinquentme eliasp, http://www.mpaste.com/p/yaVnIHD  << I'm getting these salt state errors ... but I've grepped through the codebase for strings: "executeable" " recurse" "script"
11:14 delinquentme and I only found matches for "recurse" -- but in commenting the lines out --- I still get the same error
11:15 eliasp delinquentme: unless I see how your states look, I can't tell you much what's going on here
11:15 eliasp delinquentme: please nopaste your corresponding states
11:16 eliasp delinquentme: ah, sorry… now I get it
11:16 delinquentme http://nopaste.info/6d7df2a807.html
11:16 delinquentme I THINK thats the offending file ... as the only keyword identifiers in that error ... arent anywhere else in the stat files of that project
11:17 eliasp delinquentme: where do you have those SLS from? so I could clone the repo and have a look at it by myself
11:17 eliasp the nopasted state doesn't contain anything related
11:18 TyrfingMjolnir SKEL on MacOS X is located here: /System/Library/UserTemplate
11:19 eliasp TyrfingMjolnir: ok, then either use 'file.managed' to manage individual files in your UserTemplate directory or use 'file.recurse' to provide the whole directory from a central source
11:19 eliasp delinquentme: ah, looks like you're using the graphite-formula
11:20 delinquentme https://github.com/carlcrott/graphite-formula
11:20 TyrfingMjolnir I have 1 mac that has all the users and all the drivers, then I clone from there
11:20 eliasp delinquentme: any reason why you're using this clone instead of the original: https://github.com/saltstack-formulas/graphite-formula
11:20 delinquentme just forked it earlier ... actually eliasp I THINK whats happening ... as I just checked the user list on the minion ...
11:20 delinquentme is that user isn't present
11:20 eliasp delinquentme: ah, ok
11:20 delinquentme eliasp, yeah because I'm making additions to generalize it to ubuntu -- then I'ma pull request that stoof ~=]
11:21 eliasp delinquentme: ok, great
11:21 eliasp delinquentme: let's have a look
11:22 eliasp delinquentme: how are you applying the state to your minion? could it be you have some other SLS lying around causing this problem? the graphite-formula definitely doesn't contain anything related to your error messages
11:23 delinquentme salt '*-monitor' cmd.run 'cat /etc/passwd | grep graphite'
11:23 delinquentme that returns no user
11:24 eliasp delinquentme: besides that: the hardcoded SECRET_KEY in the formula is really bad… this should depend on a pillar provided value and fail if the value isn't provided
11:24 delinquentme lel.
11:24 delinquentme lel.
11:24 eliasp delinquentme: cat abuse!! :)   "getent passwd graphite"
11:25 delinquentme eliasp, is there a better way to find users ? passwd ... feels like a bad name
11:26 eliasp delinquentme: "getent passwd" is the best way, as this queries NSS and would then also provide users from possibly  other sources whereas "grep /etc/passwd" will only provide users from /etc/passwd
11:26 delinquentme something similar for groups?
11:26 eliasp delinquentme: otherwise you'd have to use low-level glibc methods (getpwnam())
11:27 eliasp delinquentme: sure: getent group $your-group-name
11:27 delinquentme group!
11:27 delinquentme yeeee using dem man getent
11:27 eliasp delinquentme: or just use Salt's builtin tools: "salt your-minion group.getent"
11:27 delinquentme #axor
11:28 delinquentme OK! I think i found le problem
11:28 delinquentme relax times
11:34 aqua^mac joined #salt
11:37 ggoZ joined #salt
11:37 xsteadfastx joined #salt
11:39 SpX joined #salt
11:40 peters-tx joined #salt
11:43 Twiglet joined #salt
11:49 seblu joined #salt
12:11 Sypher joined #salt
12:29 rtuin joined #salt
12:33 catpig joined #salt
12:40 ndrei joined #salt
12:43 otter768 joined #salt
12:47 elfixit joined #salt
12:48 mapu joined #salt
12:51 hasues joined #salt
12:51 hasues left #salt
13:06 yomilk joined #salt
13:07 yomilk_ joined #salt
13:14 xsteadfastx joined #salt
13:18 ndrei joined #salt
13:22 zadock joined #salt
13:23 aqua^mac joined #salt
13:36 zadock joined #salt
13:47 cads joined #salt
13:56 ktosiek is there some tool for unit testing salt formulas?
13:56 ktosiek (more-than-a-unit testing would be nice too :-))
13:58 ktosiek I'm thinking about testing jinja macros, but also easily running some "apply this with those settings, assert there's some port open and some other command runs" overall tests
14:00 eliasp ktosiek: https://github.com/simonmcc/kitchen-salt
14:01 zandy joined #salt
14:04 ktosiek wow, that looks pretty cool
14:04 ktosiek eliasp: thanks! ^_^
14:10 mikkn joined #salt
14:11 rjc joined #salt
14:13 simonmcc_ ktosiek: eliasp that's what we use it for, Jenkins jobs trigger on a change landing in gerrit
14:14 simonmcc_ If we had some way of doing code coverage in the sls files I'd be much happier :)
14:15 eliasp great… I'm far from that… being a one-man show here, I have to make certain compromises and most of the time I'm busy fixing/extending existing modules
14:20 felskrone joined #salt
14:21 FRANK_T joined #salt
14:33 Flusher joined #salt
14:38 ktosiek simonmcc_: well, coverage is always 100%. What you want is mutation testing
14:42 zandy joined #salt
14:44 otter768 joined #salt
14:44 dude051 joined #salt
14:48 ktosiek hmm, or is it... with Jinja it might be less (if some parts are never used in the result)
14:48 ktosiek ok, I'm off now
15:02 scooby2 joined #salt
15:05 monkey66 left #salt
15:12 aqua^mac joined #salt
15:16 xsteadfastx joined #salt
15:21 beneggett joined #salt
15:26 yerodin joined #salt
15:27 beneggett joined #salt
15:34 brianfeister joined #salt
15:36 karimb joined #salt
15:49 nitti joined #salt
15:54 avn joined #salt
16:13 viq joined #salt
16:14 jonbrefe joined #salt
16:15 jeffspeff joined #salt
16:17 imil_ joined #salt
16:19 MKFG joined #salt
16:19 andrej_ joined #salt
16:19 Valda joined #salt
16:19 Jimlad_ joined #salt
16:19 clone1018__ joined #salt
16:19 Xiao_ joined #salt
16:20 Hammerheart joined #salt
16:20 davidone_ joined #salt
16:21 a1j_ joined #salt
16:21 babilen_ joined #salt
16:21 patrek_ joined #salt
16:21 ze-_ joined #salt
16:22 heaumer_ joined #salt
16:22 mariusv__ joined #salt
16:22 darvon_ joined #salt
16:22 jeremyb_ joined #salt
16:23 peters-tx0 joined #salt
16:23 \ask_ joined #salt
16:25 Geek_Juice joined #salt
16:25 msciciel2 joined #salt
16:25 catpigger joined #salt
16:26 MTecknol1gy joined #salt
16:27 MaZ- joined #salt
16:28 jevonearth1 joined #salt
16:28 mfournier1 joined #salt
16:28 mgw joined #salt
16:30 gadams_ joined #salt
16:31 jagardaniel joined #salt
16:31 grepory_ joined #salt
16:31 kalail__ joined #salt
16:32 thick_mcrunfast joined #salt
16:32 goki_______ joined #salt
16:32 antonw_ joined #salt
16:32 rcsheets_ joined #salt
16:32 ramishra_ joined #salt
16:32 abele_ joined #salt
16:33 goal_ joined #salt
16:33 gyre007_ joined #salt
16:33 heaumer joined #salt
16:34 MTecknology joined #salt
16:34 lkannan_ joined #salt
16:34 dustinrc_ joined #salt
16:34 CaptTofu_ joined #salt
16:35 wolog joined #salt
16:35 MK_FG joined #salt
16:35 MK_FG joined #salt
16:35 dude051 joined #salt
16:35 mikepea joined #salt
16:36 copelco joined #salt
16:36 AirOnSkin joined #salt
16:36 _ikke_ joined #salt
16:37 xMopxShell joined #salt
16:37 torment joined #salt
16:37 chamunks- joined #salt
16:37 Karunamon|2 joined #salt
16:37 stooj joined #salt
16:37 thunderbolt joined #salt
16:38 modafinil joined #salt
16:38 g3cko joined #salt
16:38 jayne_ joined #salt
16:39 Hipikat joined #salt
16:39 jerrcs joined #salt
16:39 themacproguy joined #salt
16:39 chitown_ joined #salt
16:39 morsik joined #salt
16:40 rogst joined #salt
16:40 xsteadfa1 joined #salt
16:40 mlanner joined #salt
16:40 worm5er joined #salt
16:40 morsik hi… simple question, but maybe important. better to match minions by hostname, or by fqdn? :D
16:40 renoirb_ joined #salt
16:40 Diaoul_ joined #salt
16:41 cruatta_ joined #salt
16:41 jasonrm_ joined #salt
16:41 yomilk joined #salt
16:41 dynamicudpate joined #salt
16:41 jgelens joined #salt
16:41 AbyssOne joined #salt
16:41 xDamox joined #salt
16:41 fintler joined #salt
16:41 fintler joined #salt
16:41 eliasp morsik: FQDN, as hostnames might be duplicates depending on your environment
16:42 eliasp morsik: if you have multiple domains, you might have a hostname like srv0001 in more than one domain
16:42 eliasp morsik: if you have only one domain and this certainly won't change, hostname is more comfortable to handle
16:43 mschiff joined #salt
16:43 mschiff joined #salt
16:43 yerodin_ joined #salt
16:43 yerodin_ joined #salt
16:43 arnoldB joined #salt
16:43 bhosmer joined #salt
16:43 morsik eliasp: yeah, i know "what if I", i was wondering how rest of the world does it (-;
16:43 blast_hardcheese joined #salt
16:43 snuffop_ joined #salt
16:44 morsik and what preffers and why
16:44 bfoxwell joined #salt
16:44 Bryanstein joined #salt
16:44 jmccree joined #salt
16:44 cofeineSunshine joined #salt
16:44 cofeineSunshine joined #salt
16:44 harkx joined #salt
16:44 morsik i saw some companies have — for example — location inside domain name (after first/second dot)
16:44 trevorj joined #salt
16:44 GnuLxUsr joined #salt
16:44 delinquentme joined #salt
16:44 pmcg joined #salt
16:44 jpaetzel joined #salt
16:45 Miq joined #salt
16:45 navim joined #salt
16:45 packeteer joined #salt
16:45 akitada joined #salt
16:45 akitada joined #salt
16:45 rhand joined #salt
16:45 ThomasJ joined #salt
16:45 otter768 joined #salt
16:45 ggoZ joined #salt
16:45 jab416171 joined #salt
16:45 Pixionus joined #salt
16:45 Sypher joined #salt
16:45 cwyse joined #salt
16:45 DaveQB joined #salt
16:45 neco` joined #salt
16:45 badon joined #salt
16:45 APLU joined #salt
16:46 beauby joined #salt
16:46 forze joined #salt
16:46 Ssquidly joined #salt
16:46 muss joined #salt
16:46 claytron joined #salt
16:46 fxhp joined #salt
16:46 hasues joined #salt
16:46 ze- joined #salt
16:46 GrueMaster joined #salt
16:46 crashmag joined #salt
16:46 flebel joined #salt
16:46 darvon joined #salt
16:46 MaZ- joined #salt
16:46 scooby2 joined #salt
16:46 eliasp morsik: well, IMHO it makes sense to make the minion naming mirror the DNS naming… so for a single domain, just use the hosts, for structured/multiple domains, use the FQDN
16:47 tempspace joined #salt
16:47 eliasp morsik: so if you have more than 1 domain or subdomains, use the FQDN
16:47 morsik ok (-;
16:47 alexhayes joined #salt
16:47 eliasp (unless you have an enforced naming scheme for hostnames which makes them alone unique)
16:48 SaveTheRbtz joined #salt
16:48 ndrei joined #salt
16:48 leszq joined #salt
16:49 tedski joined #salt
16:49 qybl joined #salt
16:49 aquinas joined #salt
16:49 markm_ joined #salt
16:49 Hazelesque joined #salt
16:49 neilf______ joined #salt
16:49 \ask joined #salt
16:49 arnoldB joined #salt
16:50 GnuLxUsr joined #salt
16:50 grepory joined #salt
16:50 kalail_ joined #salt
16:50 goki_______ joined #salt
16:50 antonw joined #salt
16:50 rcsheets joined #salt
16:50 ramishra joined #salt
16:50 abele joined #salt
16:50 gyre007 joined #salt
16:50 lkannan joined #salt
16:50 CaptTofu_ joined #salt
16:50 dude051 joined #salt
16:50 mikepea joined #salt
16:50 copelco joined #salt
16:50 thunderbolt joined #salt
16:50 modafinil joined #salt
16:51 Auroch joined #salt
16:51 kermit joined #salt
16:51 akitada joined #salt
16:52 neilf______ joined #salt
16:54 ndrei joined #salt
16:55 mikkn joined #salt
17:01 aqua^mac joined #salt
17:02 brianfeister joined #salt
17:04 cedwards1 joined #salt
17:05 LordOfLA joined #salt
17:10 electrix joined #salt
17:12 hasues left #salt
17:16 mackstick joined #salt
17:16 zlhgo joined #salt
17:18 mackstick joined #salt
17:30 budman joined #salt
17:33 Emantor joined #salt
17:35 aquinas joined #salt
17:43 aquinas joined #salt
17:51 madduck is it possible to disable the entire crypto and cert auth in Salt?
17:52 madduck rationale: I'll be using a secure channel anyway (since I don't trust Salt communications) and then I don't need to have this additional layer of complexity
17:52 Emantor joined #salt
17:57 panther joined #salt
17:59 nitti joined #salt
17:59 xenoxaos joined #salt
18:00 iMil joined #salt
18:01 qybl joined #salt
18:15 karimb joined #salt
18:17 mr_chris joined #salt
18:21 Emantor joined #salt
18:22 budman joined #salt
18:23 Emantor joined #salt
18:29 andrej_ joined #salt
18:29 theologian joined #salt
18:30 ttrumm_ joined #salt
18:31 hrist joined #salt
18:32 SpX joined #salt
18:41 mgw joined #salt
18:43 jtanner joined #salt
18:45 ttrumm_ joined #salt
18:46 yomilk joined #salt
18:46 otter768 joined #salt
18:47 budman_ joined #salt
18:49 budman_ joined #salt
18:50 aqua^mac joined #salt
18:51 ggoZ joined #salt
19:03 dotz joined #salt
19:04 dotz Guys, how do I properly require for postgresql_user? I'm getting "The following requisites were not found: require: postgresql_user: my_db_user_name"
19:07 electrix joined #salt
19:10 xenoxaos joined #salt
19:13 dimeshake can you show us the state you have that creates the user and the state that requires it
19:13 dimeshake pastie.org or somesuch
19:15 dimeshake dotz: ^^
19:16 dotz dimeshake: that would be simplest solution, unfortnately they're pretty complicated and I respect your time :|
19:16 dotz -l debug for now
19:17 dimeshake make sure the state that creates the postgres user is included from the state using the require
19:17 dotz dimeshake: it is
19:17 dimeshake - include: postgres.user or whatever sls it is
19:17 dimeshake hm
19:17 cruatta joined #salt
19:19 dotz dimeshake: Can I, for example, require specific database user (postgresql_user: ...) when I create database with postgresql_database?
19:20 wt joined #salt
19:23 dotz dimeshake: do I need special configuration for PostgreSQL in /etc/salt/minion? I'm on Ubuntu, using default PPA
19:25 dimeshake i assume you need admin account credentials in the minion config
19:25 dimeshake but that would be a different error
19:25 dotz dimeshake: well, I don't for DB creation and deletion
19:25 dotz but, anywhere I use -requires: postgresql_user: someuser, it fails.
19:25 dimeshake http://pastie.org/private/dvluxzcpebxniez3mqhdgq
19:26 dimeshake ought to work
19:26 dotz dimeshake: thanks, gimmie a sec
19:27 dotz dimeshake: ok, this works.
19:27 CeBe joined #salt
19:27 dotz dimeshake: now, let me add some extra stuff I use and see when it fails
19:31 dotz dimeshake: this doesn't
19:31 dotz http://pastie.org/9791866
19:32 cedwards joined #salt
19:32 dimeshake postgresql_user should be postgres_user
19:33 dotz dimeshake: well, in the old times I'd hit my forehead really hard at this moment.
19:33 dotz dimeshake: thanks
19:33 dotz Thanks a million, in fact.
19:33 dimeshake hahah happens to the best of us :D
19:34 dotz dimeshake: anything I can do for you? Can I buy you a coffee? PM me your paypal =)
19:34 dimeshake ahh not necessary
19:34 dotz dimeshake: I insist.
19:38 hasues joined #salt
19:38 dimeshake if you insist
19:39 Mso150 joined #salt
19:42 hasues left #salt
19:56 Mso150 joined #salt
20:02 dotz joined #salt
20:04 knot` joined #salt
20:04 xenoxaos joined #salt
20:06 ttrumm joined #salt
20:11 P0bailey joined #salt
20:12 P0bailey joined #salt
20:13 RainDoctor joined #salt
20:16 cruatta joined #salt
20:17 TheThing joined #salt
20:18 aquinas joined #salt
20:20 babilen joined #salt
20:23 aquinas joined #salt
20:28 aquinas joined #salt
20:37 TheThing_ joined #salt
20:38 JlRd joined #salt
20:39 aqua^mac joined #salt
20:39 TheThing_ joined #salt
20:40 bhosmer joined #salt
20:47 otter768 joined #salt
20:47 aquinas joined #salt
20:48 ndrei joined #salt
20:50 thehaven joined #salt
20:57 ProT-0-TypE joined #salt
21:20 * madduck notes that salt-master still does not reliably exit on ctrl-c :(
21:21 madduck https://github.com/saltstack/salt/issues/5810
21:24 doriftoshoes joined #salt
21:36 otter768 joined #salt
21:54 cads joined #salt
21:58 ProT-0-TypE joined #salt
22:02 ggoZ joined #salt
22:02 xenoxaos joined #salt
22:06 ttrumm joined #salt
22:07 ajolo joined #salt
22:13 cberndt joined #salt
22:17 Ryan_Lane joined #salt
22:17 P0bailey joined #salt
22:18 P0bailey joined #salt
22:23 delinquentme .sls files are what file format?
22:23 delinquentme erm I mean the markup in .sls files ...
22:24 delinquentme is it just markup? I dont have colors in my text editor for .sls files and I want to change that :D
22:24 aurynn delinquentme: it's in jinja
22:24 aurynn and the sls itself is yaml
22:24 delinquentme ( by giving sublime some inputs )
22:28 aqua^mac joined #salt
22:47 budman joined #salt
22:55 Ryan_Lane joined #salt
23:03 ckao joined #salt
23:09 Hipikat left #salt
23:24 jasonrm joined #salt
23:29 felskrone joined #salt
23:31 Hipikat joined #salt
23:36 delinquentme is there a file operation akin to $ mkdir -p blah/dingo/bango
23:36 delinquentme ( to ensure that its parent are built if necessary )
23:41 jdmf joined #salt
23:45 P0bailey joined #salt
23:46 P0bailey joined #salt
23:54 badon_ joined #salt
23:58 otter768 joined #salt

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