Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2014-03-13

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

All times shown according to UTC.

Time Nick Message
00:01 agliodbs joined #salt
00:03 vbabiy_ joined #salt
00:03 mpanetta joined #salt
00:04 bhosmer joined #salt
00:04 cewood joined #salt
00:05 ch0pstick joined #salt
00:07 Guest27346 joined #salt
00:11 allanparsons how do i incorporate grains in a for loop.  i.e.:   {% for server,ips in salt['publish.publish']( 'G@ec2_roles:*redis-master* and G@ec2_environment:'grains.get('ec2_environment',[]), 'network.ip_addrs', expr_form='compound').items() -%}
00:13 manfred replace publish.publish with grains.get and remove the first thing where it specifies the ec2_roles and ec2_environments since you will just be getting the stuff for that server
00:14 manfred {% for something in salt['grains.get']('mysql:databases', []) %}
00:15 manfred or just grains['mysql']['databases']
00:17 fllr joined #salt
00:18 allanparsons manfred, well: this works:  {% for server,ips in salt['publish.publish']( 'G@ec2_roles:*redis-master* and G@ec2_environment:dev', 'network.ip_addrs', expr_form='compound').items() -%}
00:18 vbabiy joined #salt
00:18 allanparsons it's when i attempt to match the environment to my current minion grain[ec2_environment] that i get the error
00:19 allanparsons so i only want to return a list of ips where the ec2_environment tag matches my minion's ec2_enviroment tag and where the ec2_roles tag is like redis-master
00:20 manfred hrm... oh, i see what you are trying to do now
00:20 manfred no idea
00:21 allanparsons i guess i could do an inner if check.. but that seems inefficient.
00:21 allanparsons there's gotta be a sexier way to do that
00:21 schimmy joined #salt
00:28 saurabhs left #salt
00:28 jnials_laptop Anyone know if reclass works with 2014.1?
00:28 manfred allanparsons: have you tried putting a + instead of just putting them next to each other, similar to concatinating in python?
00:29 cpenner461 joined #salt
00:29 agliodbs anyone have any suggestions on debugging http://salt.privatepaste.com/198565cdd7 ?
00:30 manfred allanparsons: if that doesn't work, this should ['G@ec2_roles:*redis-master* and G@ec2_environment:', grains.get('ec2_environment',[])]|join('')
00:31 madduck joined #salt
00:31 madduck joined #salt
00:32 sroegner joined #salt
00:32 Kyle____ joined #salt
00:33 arapaho joined #salt
00:35 crane joined #salt
00:35 jgelens joined #salt
00:35 manicouman joined #salt
00:35 ajw0100 joined #salt
00:35 nliadm joined #salt
00:37 cb joined #salt
00:38 allanparsons manfred: this didnt work:  {% for server,ips in salt['publish.publish']( '@ec2_roles:*redis-master* and G@ec2_environment:' + grains.get('ec2_environment',[]), 'network.ip_addrs', expr_form='compound').items() -%}
00:38 allanparsons Unable to manage file: Jinja error: cannot concatenate 'str' and 'list' objects
00:38 arthabaska joined #salt
00:38 allanparsons trying second one now
00:38 manfred well
00:38 manfred ok
00:38 manfred so i knwo why that won't work, because it is returning a list
00:38 manfred you should have grains.get('ec2_environment', '')
00:39 allanparsons oh yeah, whoops
00:39 vlcn allanparsons, I believe you need to use .items() there
00:39 manfred vlcn: he has .items at the very very end
00:39 vlcn oh, completely missed it
00:39 ch0pstick joined #salt
00:40 allanparsons Unable to manage file: Jinja error: cannot concatenate 'str' and 'list' objects
00:40 scalability-junk joined #salt
00:40 allanparsons {% for server,ips in salt['publish.publish']( '@ec2_roles:*redis-master* and G@ec2_environment:' + grains.get('ec2_environment',''), 'network.ip_addrs', expr_form='compound').items() -%}    <======================
00:41 bhosmer joined #salt
00:42 agliodbs I'm confused because there is no grain called "roles"
00:42 Outlander joined #salt
00:42 APLU joined #salt
00:42 allanparsons i write it with custom grains
00:43 manfred allanparsons: what does your grain look like for that
00:43 manfred is it just ec2_environment: something or is there a newline involved?
00:44 allanparsons ec2_environment:
00:44 allanparsons dev
00:44 allanparsons new line involved
00:44 allanparsons do i need to [0] it?
00:45 allanparsons {% for server,ips in salt['publish.publish']( '@ec2_roles:*redis-master* and G@ec2_environment:' + grains.get('ec2_environment','')[0], 'network.ip_addrs', expr_form='compound').items() -%}
00:47 allanparsons yeah, that one didnt work.
00:48 manfred put dev on the same line so it is a string
00:48 manfred or a key value
00:48 manfred instead, with what you have above it is making a list.
00:48 manfred ec2_environment: dev
00:48 yomilk_ joined #salt
00:49 dh joined #salt
00:50 timoguin joined #salt
00:50 allanparsons if i hard code it, it works
00:50 simonmcc joined #salt
00:50 hillna_ joined #salt
00:50 yomilk joined #salt
00:50 octarine joined #salt
00:53 Gareth joined #salt
00:53 ajw0100 joined #salt
00:54 kedo39 joined #salt
00:54 ahammond joined #salt
00:54 berto- joined #salt
00:55 Cidan joined #salt
00:55 codekoala joined #salt
00:55 codekoala joined #salt
00:55 dcmorton joined #salt
00:58 wkf_ joined #salt
00:59 ajprog_laptop1 joined #salt
01:03 jeffro_ joined #salt
01:03 allanparsons woohoo.  got it
01:03 allanparsons {% for server,ips in salt['publish.publish']( 'G@ec2_roles:*redis-master* and G@ec2_environment:' + ''.join(grains.get('ec2_environment','')), 'network.ip_addrs', expr_form='compound').items() -%}
01:06 mgw joined #salt
01:06 _bt joined #salt
01:07 justlooks joined #salt
01:08 justlooks hi, can i install minion on master machine? so i also can collect information of master?
01:08 allanparsons yes
01:08 allanparsons justlooks: yes
01:12 xt joined #salt
01:14 n8n_ joined #salt
01:17 manicouman joined #salt
01:23 ekhall joined #salt
01:24 ekhall left #salt
01:25 ch0pstick joined #salt
01:31 fllr joined #salt
01:34 GradysGhost joined #salt
01:35 druonysus joined #salt
01:35 druonysus joined #salt
01:36 manicouman joined #salt
01:39 n8n joined #salt
01:42 manicouman joined #salt
01:48 justlooks why i logout salt-api ,still can get info use old token? it's bug?  https://gist.github.com/justlooks/9480880
01:50 vejdmn joined #salt
01:51 cewood joined #salt
01:52 bhosmer joined #salt
01:53 fllr joined #salt
01:54 GradysGhost joined #salt
01:59 juicer2 joined #salt
02:00 cpenner461 joined #salt
02:01 occupent joined #salt
02:01 occupent howdy
02:03 anitak joined #salt
02:03 ch0pstick joined #salt
02:04 occupent fiddling with salt cloud here and can't figure out where my deploy script should be in the file system. is there a standard dir ? this is on debian wheezy using the debian.saltstack.com pkgs
02:05 occupent thought it might be in the same dir as my profile conf file, but not worky
02:06 manfred /etc/salt/cloud.deploy.d/
02:08 schimmy joined #salt
02:09 n0170 joined #salt
02:11 occupent manfred: sweet! works, now must debug the deploy script. much thx -
02:12 manfred np
02:12 Sypher joined #salt
02:16 hunter joined #salt
02:16 hunter joined #salt
02:17 n0170 joined #salt
02:19 Linz joined #salt
02:20 jeffro joined #salt
02:23 schimmy1 joined #salt
02:23 rostam joined #salt
02:25 nocturn joined #salt
02:32 ajw0100 joined #salt
02:32 n0170 joined #salt
02:36 n0170 joined #salt
02:42 mgw joined #salt
02:46 Linz joined #salt
02:48 naiyte joined #salt
02:52 manicouman joined #salt
02:55 jaimed joined #salt
03:15 jaimed joined #salt
03:17 frasergraham joined #salt
03:24 jeremyfelt joined #salt
03:25 manicouman joined #salt
03:26 budrose joined #salt
03:28 rojem joined #salt
03:35 CeBe1 joined #salt
03:36 manicouman joined #salt
03:39 jaimed joined #salt
03:40 bhosmer joined #salt
03:45 ravibhure joined #salt
03:48 djaime joined #salt
03:48 Linz_ joined #salt
03:55 Katafalk_ joined #salt
03:56 chadhs joined #salt
03:57 rojem joined #salt
04:05 Linz joined #salt
04:07 Furao joined #salt
04:10 Katafalkas joined #salt
04:21 hunter joined #salt
04:21 xl1 joined #salt
04:21 n8n joined #salt
04:25 smcquay joined #salt
04:25 dstanek joined #salt
04:31 Katafalkas joined #salt
04:36 Katafalkas joined #salt
04:40 Linz joined #salt
04:44 jalbretsen joined #salt
04:44 faldridge joined #salt
04:44 tlyng joined #salt
04:49 Linz joined #salt
04:49 frasergraham joined #salt
04:52 lietu joined #salt
04:59 ch0psti34 joined #salt
05:03 ch0pstick joined #salt
05:07 alunduil joined #salt
05:13 Katafalkas joined #salt
05:14 n8n joined #salt
05:29 bhosmer joined #salt
05:29 joehillen joined #salt
05:38 schimmy joined #salt
05:40 joehillen joined #salt
05:59 DaveQB joined #salt
06:00 andr386 joined #salt
06:04 dstanek joined #salt
06:06 bhosmer joined #salt
06:08 anitak1 joined #salt
06:23 nmistry joined #salt
06:24 Katafalk_ joined #salt
06:37 ChaosPsyke joined #salt
06:38 fllr joined #salt
06:41 _fllr_ joined #salt
06:43 fllr joined #salt
06:44 ndrei joined #salt
06:45 _fllr_ joined #salt
06:49 n8n joined #salt
06:53 ch0pstick joined #salt
07:04 ndrei joined #salt
07:10 faldridge joined #salt
07:11 ajw0100 joined #salt
07:17 bhosmer joined #salt
07:21 gammalget joined #salt
07:23 mikeywaites joined #salt
07:28 roolo joined #salt
07:28 Iwirada joined #salt
07:33 Iwirada1 joined #salt
07:34 Iwirada2 joined #salt
07:41 kadel joined #salt
07:46 ml_1 joined #salt
07:51 Tinuva joined #salt
07:51 ndrei joined #salt
07:52 ch0pstick joined #salt
07:52 sdlarsen from a python script I've created a runner and call runner.cmd('manage.safe_accept', [minion_name]) but get: WARNING: Unable to bind socket, error: [Errno 98] Address already in use. The script is (no longer) running anything else. Suggestions welcome
07:53 ch0psti77 joined #salt
07:56 faldridge joined #salt
07:56 aleszoulek joined #salt
08:01 Furao joined #salt
08:01 favadi joined #salt
08:04 Kenzor joined #salt
08:10 babilen Can I set gitfs_root per repository or is it set once for all gitfs_remotes? (cf. http://docs.saltstack.com/topics/tutorials/gitfs.html#serving-from-a-subdirectory )
08:13 fllr joined #salt
08:14 yomilk joined #salt
08:15 harobed_ joined #salt
08:16 harobed_ joined #salt
08:17 harobed_ joined #salt
08:19 ch0pstick joined #salt
08:19 Nazca__ joined #salt
08:19 ch0pstick joined #salt
08:31 lionel joined #salt
08:32 hhenkel Furao: Are you around?
08:32 johtso joined #salt
08:33 Furao hhenkel: yes
08:33 malinoff joined #salt
08:37 linjan_ joined #salt
08:37 hhenkel Furao: I had some time to look into your gist, thanks again.
08:37 hhenkel Furao: I was wondering what the difference between roles and global roles are?
08:38 Furao hhenkel: the global_roles is probably not a good name
08:38 Furao roles is what is applied to a single minion
08:38 Furao global_roles is the list of all roles (applied to a minion or not)
08:38 Furao so if a minion had a role for a while and it's not assigned that role anymore, I got a $rolename/absent.sls
08:38 Furao to "uninstall" that role specifics
08:39 Furao it slow things down, but I got some clients that needed it
08:39 Furao that's why the $rolename.absent application can be turned off
08:40 hhenkel Furao: okay, that makes it more clear to me. You have this "salt['cp.list_master_dirs'](saltenv, 'roles')" to set the list of roles, can you explain to me where this list is set?
08:41 Furao global_roles is made from listing all formula under roles
08:41 Furao I got this big "common" git repo that don't contains any role, the roles are defined in the client specific repos
08:42 hhenkel Furao: okay, so you got within your salt master a dir containing all the roles?
08:42 hhenkel Furao: Within this code youre "sourcing" the file names as roles then?
08:43 Furao i use gitfs to "merge" in salt master both git repos
08:43 googolhash joined #salt
08:43 fllr joined #salt
08:43 Furao so cp.list_master_dirs just list sub-folder in roles/
08:44 Furao which are like roles/frontend/init.sls and roles/frontend/absent.sls
08:44 Furao and they sometimes contains role specific additions, such as set DNS entries, custom templates, extended stuff, etc
08:45 Furao this is where I turn on backup, monitoring and stats integration
08:46 tlyng joined #salt
08:48 scalability-junk joined #salt
08:49 hhenkel Furao: okay, I think I got an idea on how you're using it now. Thanks.
08:49 yomilk_ joined #salt
08:52 topochan joined #salt
08:53 hhenkel Furao: One more question... ;) For your pillar data you're using a more static top.sls I guess?
08:54 babilen Can I set gitfs_root per repository or is it set once for all gitfs_remotes? (cf. http://docs.saltstack.com/topics/tutorials/gitfs.html#serving-from-a-subdirectory )
08:54 Furao hhenkel: no
08:54 Furao sometimes my pillar data is stored in an inventory system
08:55 hhenkel Furao: inventory system? a cmdb or something like that?
08:56 Furao one of those I did so far was a custom django application with a REST API, as it was used to fill a very specific requirement
08:56 Furao I wrote an ext_pillar to feed pillar from custom inventory
08:57 hhenkel Furao: ah, okay. What I wanted to know is, if you there target your hosts within the pillar files in only one env (base).
08:58 Furao I have a branch pillar key
08:58 hhenkel Therefore are you using something like "base: fqdn: -pillar.file"
08:58 Furao to let operator run salt on different git branches such as testing, develop, etc
08:58 Furao so there is one env per branch
08:59 Furao hhenkel: you should come to my conference saturday I'm doing a speech on salt and explaining most of this :P
09:00 Furao http://www.pycon.my/mini-pycon-my-2014/speakers (at the bottom)
09:01 hhenkel Furao: I really would like to...but it's kind of short notice to go to malaysia.... ;) Also I planned to go skiing on sunday. ;)
09:01 hhenkel Furao: Will the session be recored ?
09:02 Furao I think yes
09:02 Furao at least my GF will do mine
09:02 Furao to laugh at me
09:02 hhenkel hehe, nice... ;)
09:04 hhenkel Would be interesting to see this then as we're currently "just starting" with salt.
09:04 Furao what is your baseline in term of OS?
09:04 googolhash joined #salt
09:04 Furao and which kind of app you're deploying?
09:05 bhosmer joined #salt
09:07 Furao i mean which "ecosystem"? java? ruby? .net?
09:09 mikeywaites joined #salt
09:09 giantlock_ joined #salt
09:14 googolhash joined #salt
09:23 hhenkel Furao: I'll query you if that's okay?
09:28 ch0pstick joined #salt
09:28 eculver joined #salt
09:28 eculver joined #salt
09:31 yomilk joined #salt
09:32 ndrei joined #salt
09:38 salt_ joined #salt
09:38 salt_ what is the latest stable of version and how can we find it
09:38 salt_ please let me know how to find the installed version salt
09:40 ch0pstick joined #salt
09:43 fllr joined #salt
09:44 tlyng joined #salt
09:50 bezaban salt-minion/master --version
09:54 carlos joined #salt
09:54 ch0pstick joined #salt
09:57 googolhash joined #salt
09:57 faldridge joined #salt
10:00 mtorromeo joined #salt
10:01 mtorromeo left #salt
10:03 toastedpenguin joined #salt
10:03 toastedpenguin left #salt
10:08 AdamSewell_ joined #salt
10:11 Adam_ joined #salt
10:12 johtso joined #salt
10:13 googolhash joined #salt
10:18 AdamSewell joined #salt
10:18 AdamSewell joined #salt
10:18 googolhash joined #salt
10:23 googolhash joined #salt
10:25 ndrei joined #salt
10:29 salt_ salt-master --version salt-master 2014.1.0
10:29 salt_ what does it mean
10:31 googolhash joined #salt
10:34 Katafalkas joined #salt
10:34 Furao salt_: it's broken as there is no 0 january
10:34 Furao or it's 31 december 2013
10:34 Furao datetime.datetime(2014,1,1) - datetime.timedelta(1)
10:34 Furao err days=1
10:36 googolhash joined #salt
10:38 ch0psti77 joined #salt
10:39 googolhash joined #salt
10:39 ze- hey. is there a way to generate a graph dependencies for states ?
10:40 Furao someone wrote a returner for that
10:40 Furao maybe not a returner
10:40 babilen Can I set gitfs_root per repository or is it set once for all gitfs_remotes? (cf. http://docs.saltstack.com/topics/tutorials/gitfs.html#serving-from-a-subdirectory )
10:41 Furao ze-: someone did it but I can't find it in my bookmarks
10:41 Furao it's not built-in salt
10:41 manicouman joined #salt
10:43 fllr joined #salt
10:43 Shish using the currently released version of reclass on the server side, it doesn't seem to support environments; I was hoping that setting "environment: staging" in my minion.conf would work from the client side, but it seems not :(  "salt-call pillar.items" shows environment: staging, but highstate still fetches from base. Ideas?
10:45 googolhash joined #salt
10:50 googolhash joined #salt
10:53 bhosmer joined #salt
10:56 ch0pstick joined #salt
10:56 viod joined #salt
10:59 babilen Can you think of a way to prevent the installation of recommended packages on Debian? I tried introducing explicit "pkg.purge" states for them, but that simply causes them to be installed and then purged immediately afterwards. It does the job somehow, but is ugly and increases the runtime unnecessarily. (and you always have to list every single possible package that might have been pulled in which is not maintainable)
11:00 tlyng joined #salt
11:00 babilen Mind that I don't want to disable this globally.
11:01 Furao skip_suggestions: True ?
11:03 babilen I thought that would only prevent some kind of magic "you obviously meant "nagios3" when you wrote "naguois3" ..
11:03 babilen "Force strict package naming. Disables lookup of package alternatives." is however not easy to understand
11:04 babilen It is completely beyond me what "lookup of package alternatives" would mean exactly -- but let me try that and see if it does the job in this case.
11:07 babilen And it says that it is available in 2014.1.1 -- has that been released already?
11:11 babilen I don't see it anywhere and skip_suggestions: True has no effect in 2014.1.0 (no error either)
11:13 babilen No v2014.1.1 tag in git either, guess I won't be able to use that (if it would have done the job)
11:16 babilen I've just looked into pkg.py and it seems as all skip_suggestions would achieve is to Present a list of "suitable" packages if the actual name is not found.
11:17 nkuttler babilen: simply configure apt instead?
11:17 nkuttler wrt recommends
11:18 babilen nkuttler: Yes, I am trying my luck with a "disable-recommends" and "enable-recommends" state (creating/removing a suitable configuration file in /etc/apt.conf.d/) with proper dependencies ..
11:18 nkuttler oh wait, never mind
11:18 nkuttler you don't want it global
11:19 babilen I don't want to set this globally so I have to switch it on before installing certain packages and then undoing those changes afterwards.
11:19 babilen pesky nagios maintainers using Recommends: nagios3 for nagios-nrpe-server  ... as if one wants a full-blown nagios3 server installation on every box where one uses nrpe plugins :)
11:21 bhosmer joined #salt
11:22 Katafalkas joined #salt
11:23 babilen Now I only have to figure out how to properly wrap the "install nagios-nrpe-server" state in the "disable-apt-recommends" and "enable-apt-recommends" ones :-/
11:31 babilen If only I could write decorators for states
11:40 manicouman joined #salt
11:42 tlyng joined #salt
11:42 ndrei joined #salt
11:43 fllr joined #salt
11:45 manicouman joined #salt
11:49 yomilk joined #salt
11:52 babilen Any way to couple the states closer together than with the require: statements in http://paste.debian.net/87492/ ? I don't want to unintentionally affect other states here ...
11:52 mikeywaites joined #salt
11:53 ch0pstick joined #salt
11:56 ndrei joined #salt
11:58 ch0psti77 joined #salt
11:59 Furao joined #salt
12:00 ggoZ joined #salt
12:02 ch0pstick joined #salt
12:06 ndrei joined #salt
12:06 bastion1704 joined #salt
12:10 Katafalkas joined #salt
12:17 analogbyte joined #salt
12:19 cpenner461 joined #salt
12:21 oz_akan_ joined #salt
12:22 ch0psti80 joined #salt
12:24 ch0psti80 joined #salt
12:27 topochan joined #salt
12:27 oz_akan_ hi guys
12:27 oz_akan_ http://www.saltstack.com/salt-blog/2014/2/27/vote-for-your-favorite-saltstack-talks-at-openstack-summit
12:27 oz_akan_ the links there are no longer valid
12:27 oz_akan_ basepi: ^^
12:31 ch0pstick joined #salt
12:34 manicouman joined #salt
12:38 ch0pstick joined #salt
12:39 mgw joined #salt
12:42 bhosmer_ joined #salt
12:42 ajprog_laptop joined #salt
12:42 ch0pstick joined #salt
12:43 vbabiy joined #salt
12:43 fllr joined #salt
12:46 bram_ joined #salt
12:47 bezaban hmm.. having issues with default values not being assigned when a pillar variable is empty
12:47 bezaban ie. - shell: {{ salt['pillar.get']('users:'+name+':shell') | default('/bin/sh') }}
12:47 bram_ hi everyone... salt noob question: I have a dir "users" in which I init.sls the users I want to create. Then I want to install a certain package and run this as one of the users I created in my users/init.sls... how do I set up a requirement for this?
12:47 ch0psti24 joined #salt
12:48 samkottler joined #salt
12:48 jaimed joined #salt
12:48 bastion1704 joined #salt
12:49 bezaban you can use cmd.run along with sudo
12:50 bezaban err su
12:50 bram_ well, no, I mean, I want to use virtualenv in that users' home dir. So the home dir needs to exist before I can create the virtualenv...
12:51 bezaban yeah. create user, install package, su - user -c command: cmd.run:
12:51 bezaban I've never actually done it though.  You could probably also do it with a managed script file
12:51 ch0pstick joined #salt
12:51 bezaban static or generated within a pillar
12:52 bram_ heh? but I want to do it with salts SLS'es, not with scripts I have to run...
12:52 bram_ I can create a user via an SLS right?
12:52 bezaban yes, the first option is without a script
12:52 bezaban yes
12:52 bezaban http://docs.saltstack.com/ref/states/all/salt.states.cmd.html
12:52 bram_ I used this to create my user: http://docs.saltstack.com/ref/states/all/salt.states.user.html
12:54 bram_ in users/init.sls, now I have python/init.sls which should create a virtualenv (using http://docs.saltstack.com/ref/states/all/salt.states.virtualenv.html ) in the users' directory
12:54 bram_ using -if possible- - runas: web
12:55 bram_ (which is the user I created)
12:55 bram_ does this make any sense what I'm trying to do?
12:55 bezaban ah right, it's a separate module, I have not used that
12:55 mikeywaites left #salt
12:55 bram_ *pfew* thought I was join' mad for a sec there :)
12:56 bram_ going
12:56 bezaban but if you just want to run a command you can use the cmd.run, if you want it to run as a certain user you can do su -
12:56 bezaban su user -c command'
12:56 bram_ sure sure!
12:56 bram_ but I don't want to run a command! :)
12:56 bezaban oooh right. sorry, misunderstood :)
12:56 bezaban it's me going crazy! ;)
12:56 bram_ I want to require the users' existence before I run the virtualenv state
12:57 bezaban you can add a require: statement
12:57 bram_ I tried: require -sls: users and some other variations, but that's not really working...
12:58 bezaban hmm right.
12:59 bram_ ok, now we've come to the core of my problem :)
12:59 bram_ hehehe
12:59 wkf_ joined #salt
12:59 bezaban I'd assume require: - sls: full.name.to.users should work
12:59 bezaban :>
12:59 bram_ shit, being called in a meeting, will come back later!!
12:59 bezaban 'have fun'
13:00 faldridge joined #salt
13:02 pvial joined #salt
13:02 DaveQB joined #salt
13:03 pvial hello salty people.  does anyone have any experience deploying openstack VM's with salt-cloud that have only a private network interface?
13:04 vejdmn joined #salt
13:08 juicer2 joined #salt
13:09 manicouman joined #salt
13:10 akoumjian joined #salt
13:10 ndrei joined #salt
13:10 sandbender1512 joined #salt
13:12 pass_by_value joined #salt
13:22 cpenner461 joined #salt
13:24 dccc joined #salt
13:25 fllr joined #salt
13:27 _fllr_ joined #salt
13:28 manicouman joined #salt
13:28 jcsp1 joined #salt
13:31 baboon` joined #salt
13:32 ekristen joined #salt
13:32 ekristen so I have startup_state: sls and sls_list with two states, but it doesn’t seem to be working
13:33 xmj .oO startup states never seem to be working
13:33 kermit joined #salt
13:33 ekristen xmj: great to hear :/
13:34 timoguin joined #salt
13:34 xmj ekristen: (that was supposed to be a pun on startups; offtipic)
13:35 ekristen xmj: I think it holds true to salt though too
13:35 ekristen I can’t ever seem to get them to work ;)
13:36 ekristen so perhaps its because the states don’t exist in base
13:37 ekristen is there a way to specify startup env?
13:37 nkuttler_ joined #salt
13:37 favadi joined #salt
13:39 ekristen I see “2014-03-13 13:38:28,946 [salt.utils.schedule][DEBUG   ] schedule.handle_func: Checking job against fun mine.update: {'fun': 'state.sls', 'jid': 'req', 'pid': 2056, 'ret': '', 'arg': [['luksencryption', 'mongodb.service’]]}” but nothing else like I’d normally see with a job being run, and I have logging set to debug
13:40 ekristen df -h
13:40 ch0pstick joined #salt
13:40 SkyRocknRoll__ joined #salt
13:40 tdilly joined #salt
13:40 billygoat joined #salt
13:41 tdilly I recall running a salt command that showed all of the grains for all of the minions in YAML but I can't recall where or how I did that...
13:41 ch0pstick joined #salt
13:43 seapasulli joined #salt
13:43 tdilly Ahh nvm, grains.items is what I was searching for
13:43 fllr joined #salt
13:45 oz_akan_ joined #salt
13:46 HeadAIX joined #salt
13:48 sdlarsen joined #salt
13:49 jeremyfelt joined #salt
13:49 ekristen this is frustrating
13:49 harobed joined #salt
13:53 obimod joined #salt
13:53 rojem joined #salt
13:55 bezaban hmm does jinja have some sort of string manipulation capability? Perhaps via gettext?
13:55 bezaban I might be putting too much logic into my templates.
13:57 TamCore joined #salt
13:58 TamCore Hi, how can I ensure that a few lines always exist in a file and if they don't they get appended to it?
13:58 bezaban you could manage the file in it's entirity of course :/
13:59 ekristen well highstate seems to work for startup state
13:59 ekristen but sls does not
14:01 dave_den TamCore: file.append
14:02 GradysGhost joined #salt
14:02 bezaban oh nice. File.append is pretty powerful
14:02 ajw0100 joined #salt
14:03 TamCore dave_den: thanks!
14:05 Ahlee is there a way to set the default env= on the salt cli?
14:05 sroegner joined #salt
14:07 repl1cant so windows question .. I'm wanting to test some python code using the same interpreter or dll that the salt install is using. any way to invoke it w/o installing another instance of python?
14:07 repl1cant basically want to open up a python shell
14:08 mgw joined #salt
14:09 rgbkrk joined #salt
14:09 sdlarsen why is it that a python script accepting a key and afterwords using LocalClient calls local.cmd('*', 'test.ping') hits nothing when runnign the script again works as intended?
14:14 bram_ joined #salt
14:14 kzx joined #salt
14:14 nikicat joined #salt
14:14 jeremyquinton joined #salt
14:15 jeremyquinton Hi all. Im a chef user. I need to get up to speed with salt stack. My goal is to provision a jenkins environment with the correct plugins and job configuration.
14:15 jeremyquinton Is that possible to do and can someone point me in the right direction
14:15 pdayton joined #salt
14:16 jeremyquinton in chef the terminology is cookbooks what is the terminology in salt so I can at least google correctly :-)
14:17 toastedpenguin joined #salt
14:17 timoguin jeremyquinton, the closest thing is the formulas: https://github.com/saltstack-formulas
14:18 timoguin and http://docs.saltstack.com/topics/conventions/formulas.html
14:18 quickdry21 joined #salt
14:18 jeremyquinton thanks
14:19 jeremyquinton from doing a search
14:19 jeremyquinton https://github.com/saltstack-formulas?query=jenkins
14:19 jeremyquinton https://github.com/saltstack-formulas/jenkins-formula
14:19 jeremyquinton Install jenkins from the source package repositories and start it up.
14:20 jeremyquinton doesn't seem like there is much to manage plugins and build configuration but my guess is I could script that all
14:20 jeremyquinton my concern is that hasn't been updated in 8 months
14:20 timoguin ideally you could write new states that could be added to the formula.
14:20 timoguin the formulas are still pretty sparse.
14:21 jeremyquinton thanks for the info and help
14:21 timoguin so if you were to expand that one, you'd create a new state jenkins.plugins, for example
14:22 jeremyquinton makes sense
14:22 jslatts joined #salt
14:22 diegows joined #salt
14:24 rostam joined #salt
14:27 tlyng joined #salt
14:30 chrisjones joined #salt
14:30 bhosmer_ joined #salt
14:31 babilen How can I get the current hostname of the minion in a file rendered with jinja? (I seem to be blind and can't find it)
14:32 GradysGhost babilen: Try {{ grains['hostname'] }}
14:33 babilen Oh .. yeah .. sure. I quite obviously need more coffee right now :)
14:33 babilen Thanks :)
14:33 zooz joined #salt
14:34 GradysGhost no prob
14:34 * GradysGhost emails babilen a coffee
14:35 bastion1704 joined #salt
14:37 babilen GradysGhost: Wouldn't that be grains['host'] ? Or do I want grains['localhost'] ? I guess I have to take a look at grains.py again :)
14:37 swissknife joined #salt
14:37 bastion1704 Hey Guys, I am looking for a monitoring system that can be managed by salt. So we create or delete a machine using salt it would be added to the monitoring system ? Anyone having this type of scenario ?
14:38 sandbender1512 babilen: {{ grains['host'] }} I think is what you want, not 'hostname'
14:38 jalbretsen joined #salt
14:38 sporkd2 bastion1704: I think using salt'
14:38 sporkd2 s reactor system
14:38 sporkd2 i was brainstorming that not too long ago
14:39 billygoat bastion1704, graphite and logtash are good for monitoring
14:39 babilen bastion1704: If you ever manage to set this up (e.g. with nagios) *please* post to the mailing list and make it available to the community. (even if you just find an existing solution)
14:39 gnugnu9 joined #salt
14:39 sandbender1512 we're setting up such a system right now for nagios
14:39 sandbender1512 but still in the works :/
14:39 alunduil joined #salt
14:40 swissknife Hi, I'm trying to invoke 'puppetd -v -t' by a salt call like  'salt puppet.run'
14:41 swissknife but I get stdout:         err: Could not request certificate: The certificate retrieved from the master does not match the agent's private key.
14:41 babilen sandbender1512: Oh, I would love to combine that with my work on a better nagios-formula ..
14:41 babilen swissknife: heresy! ;)
14:41 swissknife while a direct 'puppetd -v -t' call on the minion works : please what am I making wrong ? thks
14:42 sporkd2 swissknife: thats a key problem
14:43 Mr_N Hm.  This is "interesting".  I have a state that I use with salt-ssh
14:43 Mr_N to bootstrap new minions
14:43 Mr_N It works fine on my centOS minions, but fails on my new debian minion,  "unable to import msgpack or msgpack_pure python modules"
14:43 babilen sandbender1512: Mind sharing what you have so far? I happily invest a few hours too.
14:44 swissknife it can't be a keys issue
14:44 sdlarsen any ideas why a LocalClient.cmd call to '*' would hit no minions (when a minion is in fact running and the key accepted)
14:45 ndrei joined #salt
14:45 Mr_N Hmmmmm.
14:46 Mr_N I find papertrails that indicate this might be fixed in 2014.1
14:46 sgflt joined #salt
14:46 swissknife actually salt looks into '/var/lib/puppet/ssl/certs/' while my keys are in '/var/puppet/ssl/certificate_requests/'
14:48 timoguin swissknife, that module is fairly untested. i'm sure it could use some love.
14:49 sandbender1512 babilen: still internal/not ready for any kind of public consumption yet... if you wanna ping me or themadcanudist in a week or two we might have something more suited to sharing in some form :)
14:49 swissknife I'll make a symbolic link
14:50 timoguin swissknife, is your cert location a common one for puppet?
14:51 swissknife probably not, I don't know
14:51 swissknife look, I see now: salt '*' puppet.run agent onetime no-daemonize no-usecacheonfailure no-splay ignorecache
14:51 swissknife maybe I can pass it as an option
14:51 eculver_ joined #salt
14:52 clearcla1 joined #salt
14:52 analogby1e joined #salt
14:52 dh__ joined #salt
14:52 babilen sandbender1512: Sure, I'll happily do that. If you send something to the mailing list I will see it too, but you can also ping me here. I'll push the nagios-formula soon (which might come in handy for you)
14:52 babilen sandbender1512: with soon == "in the next few days"
14:53 mgw joined #salt
14:54 fllr joined #salt
14:54 swissknife I got it twice : Executing command 'puppet agent --vardir /var/lib/puppet ... --vardir /var/puppet'
14:56 swissknife it's hardcoded ; I have to make a link
14:56 gammalget_ joined #salt
14:56 budrose joined #salt
14:57 GradysGhost babilen: Sorry, I did give you bad data. 'host' will give you a short hostname, 'fqdn' will give you the full thing
14:57 GradysGhost Sorry about that.
14:58 ksalman_ joined #salt
14:58 vortec_ joined #salt
14:59 babilen GradysGhost: No worries! I figured it out and the channel was attentive enough to remind me too :)
14:59 kzx in a salt jinja template how to I check say if a grains['id'] starts with something?   {% if grains['id']|startswith('someprefix' %}  ?
15:02 bram_ hey guys is there a way to give a git repo an alias so I can refer to it in a require? I.e. I have https://github.com/.....: git.latest and some other parts of the sly need to require on that repo to be there, do I really then have to write require: - git: http://......
15:02 bram_ s/sly/sla
15:02 bram_ argh! sls! :)\
15:02 dh joined #salt
15:03 sandbender1512 babilen: cool, thanks... I'll keep an eye out for your nagios-formula, it might help us with ours too/remove the need for some of what we're doing with it :)
15:03 arodizzy joined #salt
15:05 ipmb joined #salt
15:06 ndrei joined #salt
15:07 jeremyfelt joined #salt
15:07 jforest joined #salt
15:07 gparent joined #salt
15:07 DaveQB joined #salt
15:08 xerxas joined #salt
15:08 anitak joined #salt
15:09 cpenner461 joined #salt
15:09 Networkn3rd joined #salt
15:10 ccase joined #salt
15:11 MTecknology joined #salt
15:11 basepi oz_akan_: thanks for pointing out those broken links
15:11 elfixit joined #salt
15:12 oz_akan_ basepi: np
15:12 CeBe joined #salt
15:12 oz_akan_ I may talk at openstack about salt and marconi deployment, so while checking, I found that page
15:12 babilen sandbender1512: https://github.com/babilen/nagios-formula/tree/dev is what I have so far, but I am not happy with it (documentation, pillar integration/differences between Arch and Debian, ...)
15:12 abe_music joined #salt
15:13 jeremyBass1 joined #salt
15:13 babilen sandbender1512: So, a bit more work and cleanup is needed before I consider it mergeable
15:14 Mr_N When a multimaster fix gets upstreamed, I will throw a party >_>  /just as a note/
15:14 Mr_N And probably buy whoever pushed it a beer
15:14 sandbender1512 babilen: awesome, thx for sharing I'll definitely check it out!
15:14 funzo joined #salt
15:14 CeBe joined #salt
15:15 [diecast] joined #salt
15:17 JaredR joined #salt
15:18 rallytime joined #salt
15:18 bram_ hehehe, shit, I launched a command that will never exit in a minion, how do I stop it? :/
15:21 jergerber joined #salt
15:22 jpcw_ joined #salt
15:22 schimmy joined #salt
15:23 timoguin bram_, whelp... remote into it and kill it?
15:23 Mr_N bram_: Kill the minion
15:23 Mr_N Yeah; what tim said.
15:23 Mr_N ><
15:23 bram_ yeah, just figured it out too :)
15:24 timoguin or ps.get_pid_list and ps.kill_pid if you wanna know another way to do it through salt. :-P
15:24 naiyte joined #salt
15:26 rainmanjam joined #salt
15:27 Mr_N :/ My 2014.1 minions are broken, there's no downgrade in the repos, and I don't want to upgrade my master to 2014...
15:27 Mr_N How to fix this with minimal headache...
15:27 ml_1 joined #salt
15:30 thayne joined #salt
15:31 txmoose Mr_N: Its my understanding that the master has to be >= version number of the minions.  What's broken about them?
15:31 utz joined #salt
15:33 forrest joined #salt
15:33 Gordonz joined #salt
15:33 sporkd2 Mr_N: apt-get remove salt-minion just removes the package so you can reinstall whatever version
15:33 sporkd2 just dont purge
15:35 razar joined #salt
15:37 timoguin Mr_N, what distro?
15:38 ndrei joined #salt
15:38 mortis__ when using "require" on a file.managed, do you specify the username after "- user:" or the namespace? (or can you do both?)
15:38 baniir joined #salt
15:38 Mr_N Sorry about the delay, had been trying to install 17.5 via deb, badly
15:38 Mr_N This is on a debian minion.
15:39 timoguin Not sure about Debian, sorry. I know they added a new PPA for 0.17 for Ubuntu.
15:39 kzx does file.copy work on directories ?
15:39 Mr_N and txmoose That would make sense, there's a key error during verify_master :/
15:39 Mr_N Which certainly sounds like version incompatibility.
15:39 Mr_N Yeah; we're all CentOS and windows here, with the odd debian machine
15:40 Katafalkas joined #salt
15:40 Mr_N so the ubuntu PPA isn't, unfortunately, a magic bullet.
15:40 jeremyquinton left #salt
15:40 joe____ joined #salt
15:40 Mr_N (I guess I could fight with it, but I'd preferr to just bring it back to 17.5 via the .deb I have)
15:41 joe____ Question: I'm trying to get my salt minions to execute startup states automatically after connecting to the master.  I didn't get how to accomplish this from this doc: http://docs.saltstack.com/ref/states/startup.html
15:42 joe____ Is there another example for startup states that I can read?
15:42 razar probably an insanely stupid question. Haven't found an answer in the docs. I want to deploy salt to literally 100's of vm's without logging into 100's of vm's. I'm sure someones covered this somewhere.
15:44 Mr_N The main issue seems to be that even specifying 0.17.5+ds-1 as the previous version, there are uninstallable unmet dependencies
15:44 Mr_N which is "fun"
15:44 ch0pstick joined #salt
15:44 smcquay joined #salt
15:45 ccase joined #salt
15:45 ch0pstick joined #salt
15:45 timoguin razar, existing VMs?
15:46 razar aye, all redhat
15:46 timoguin salt has a POSIX bootstrap script that you could execute on them
15:46 sandbender1512 razar: func?
15:46 mgw1 joined #salt
15:46 timoguin razar, https://github.com/saltstack/salt-bootstrap
15:47 razar ya I'm familiar with the bootstrap script and I may bastardize it to work internally only. Not all systems have access to the outside.
15:47 timoguin that's what i'd do.
15:48 Ryan_Lane joined #salt
15:49 razar I figured this would be the case :) just had to ask
15:50 kzx does file copy with directories work on windows? here is short .sls file to copy a directory and it seems to fail (failure shown below as well) http://pastie.org/8915253
15:50 ndrei joined #salt
15:53 joe____ I'll make my question more specific wrt startup states..... where do I define: "startup_states: highstate"?  On the master or on the minion?
15:53 fxhp Has anyone used the _grains "dynamic directory" in their Salt file_roots ?
15:53 joe____ kzx -- I'll be trying that same thing momentarily!  copying a directory to Windows
15:54 fxhp if so, how does it work?  Does it simply drop files into every minions grains directory?
15:54 kzx is it because the require has an exception and I didn't specify that correctly (what I am doing is trying to run a second version of salt minion on windows, am copying C:\salt then modifying its config to run on a different ipc port and id)
15:54 timoguin joe____, on the minion, i believe
15:54 kzx joe____: let me know how it works, I tried single forward clashes first then move to double back slashes
15:55 joe____ will do, creating my sls now
15:56 aleszoulek joined #salt
15:57 schimmy joined #salt
15:57 joe____ OK thanks timoguin
15:58 frasergraham joined #salt
15:58 smcquay_ joined #salt
15:58 joe____ basically what I'm doing is naming the minions automatically as part of a salt install script, then when the minion reports back to the master its name, I would like it to execute commands based on the name
15:59 smcquay_ joined #salt
15:59 hunter joined #salt
16:00 conan_the_destro joined #salt
16:00 longdays question on states. I need to check if the device /dev/sdb exists if it does I need to see if a certain lvm pv also exists. At a high level should I be using requistes to do this?
16:00 joe____ so I guess, I'll have another script that sets the highstate on the minion
16:00 longdays or should I be writing the functionality in with python?
16:02 che-arne joined #salt
16:02 faldridge joined #salt
16:02 zzzirk joined #salt
16:03 dave_den kzx: i don't thing file.copy works on directories
16:03 dave_den kzx: also, your require is wrong
16:03 timoguin joe____, you'll want to look at the event / reactor system, and maybe Remote Control States to execute state runs on minions
16:04 joe____ oooo OK
16:04 dave_den kzx: based on your paste, your require would be:   - require:\n    - file: saltdircopy
16:04 Gordonz joined #salt
16:04 kzx dave_den: ok, thanks, so require can be a file, that is what I wanted!
16:04 joe____ thanks timoguin!  that sounds like what I'm looking for
16:04 dave_den requisites are in the form:   module: id_declaration
16:04 Mr_N longdays: You could certainly use the pydsl, but I think there are *.managed stanzas that allow you to operate on "other stuff", see mknod, unless I'm misunderstanding you
16:05 kzx dave_den: what should I use to copy a directory?
16:05 dave_den locally, just use cmd and cp -ar
16:06 ndrei joined #salt
16:06 dave_den file.recurse is what you would use if you wanted to copy a dir from the salt master
16:07 kzx dave_den: yeah this is just local (trying to close salt minion directory), on windows it would probably be xcopy
16:08 kzx any idea how to run a command if a directory doesn't exist (basically trying to order 3 or 4 things), should I use states and requires or just write a script and execute it?
16:09 oeuftete I'm having a routine pkg.install fail on 2014.1.0.  KeyError: 'pkg_resource.find_changes'   Ring any bells?  Couldn't find it in search of github issues
16:09 ipalreadytaken joined #salt
16:10 arthabaska joined #salt
16:11 oeuftete trying on a fresh minion just now, and no problems.  So perhaps somehow related to upgrading?  Still could totally be my fault somehow too.
16:11 Mr_N oeuftete: at the risk of a naive suggestion, are you running with -ldebug?
16:11 Mr_N that often gives helpful information
16:11 Mr_N (both the salt-minion and the salt command)
16:12 Gordonz joined #salt
16:12 schimmy joined #salt
16:13 ccase_ joined #salt
16:13 Gordonz joined #salt
16:14 dave_den oeuftete: yes, try running with debug logging, also you can rm the minion cache dir and restart your minion. /var/cache/salt
16:17 r0rySavag3 joined #salt
16:17 r0rySavag3 Hello
16:18 oeuftete this is about the only thing useful, I think: https://gist.github.com/oeuftete/eb1f179de24fe8affb66  I will try clearing the cache
16:18 bhosmer_ joined #salt
16:19 rgbkrk joined #salt
16:21 schimmy1 joined #salt
16:21 oeuftete minion stopped, cache cleared, minion restarted, same issue.  It does actually do the installation of the package (or removal, same issue there).  But comes back with that exception.
16:22 seapasulli joined #salt
16:22 joehillen joined #salt
16:23 ajw0100 joined #salt
16:26 [diecast] joined #salt
16:27 oeuftete aha, this seems suspicious... the file generating the exception, /usr/lib/python2.7/dist-packages/salt/modules/apt.py ... doesn't exist.  Just its .pyc.
16:29 xmj that means it's been moved to some other place, and you might want to delete the pyc
16:29 oeuftete xmj: yes, testing that now
16:30 oeuftete seems like this is a problem that should be well-understood... why did upgrading the ubuntu package leave the previous package's .pyc remnants around?
16:30 oeuftete That did fix it, cleaning up the .pyc files
16:33 xmj not sure how it is with ubuntu. freebsd defaults to removing all .py[oc] files, *normally*
16:34 dave_den oeuftete: iirc there was a packaging issue for that
16:34 xmj poke the ubuntu salt maintainers... joehh ?
16:34 dave_den oeuftete: https://github.com/saltstack/salt/issues/10967
16:35 ccase joined #salt
16:36 oeuftete dave_den: thanks, that's the one.  Guess I'll make a salt state to fix the upgraded minion. :)
16:36 _fllr_ joined #salt
16:36 bhosmer joined #salt
16:41 meteorfox joined #salt
16:41 hunter joined #salt
16:42 KyleG joined #salt
16:42 KyleG joined #salt
16:42 Ryan_Lane1 joined #salt
16:42 faldridge joined #salt
16:44 budrose joined #salt
16:45 xmltok joined #salt
16:51 Katafalkas joined #salt
16:52 seapasulli_ joined #salt
16:52 dstanek joined #salt
17:00 bezaban aaah
17:01 bezaban been working with salt['pillar.get'](value) and trying to get it to work with | default ('defaultvalue').  Just realized that you can just to ['pillar.get']('value', 'defaultvalue')
17:01 bezaban s/to/do/
17:01 Ahlee is it possible to add an onlyif to a require: statement?
17:01 Ahlee like, i only want to start atd if i'm actually going to upgrade salt-minion (atd gets started to then shut restart salt-minion and then stop atd again)
17:02 bezaban you can do it with jinja templating {% if value == 'lala' %} require: lala {% else %} fallbackstuff {% endif %}
17:02 bezaban assuming you are able to grab what is relevant in your case with jinja
17:03 Ahlee true, but that'd require diving into analyzing the lowstate to determine if the state is actually going to execute
17:04 Ahlee i suppose if i could pull the current version on hte system from jinja and compare to the version to be installed
17:04 tlyng joined #salt
17:04 jslatts joined #salt
17:11 |Kellan| joined #salt
17:11 |Kellan| left #salt
17:11 |Kellan| joined #salt
17:12 bastion1704 joined #salt
17:12 R_Shackleford joined #salt
17:15 puppet joined #salt
17:16 manicouman joined #salt
17:19 dave_den joined #salt
17:21 joe____ after updating /etc/salt/master, do I need to just reload the salt-master service to pull in the new config?  or do I have to restart?
17:22 dave_den restart
17:22 joe____ mmkay thanks dave_den
17:27 Furao joined #salt
17:28 xmltok if salt minions connect to all salt masters, how well does that scale if i am planning to have tens of thousands of minions?
17:29 dave_den If you have tens of thousands of minions, use syndics.
17:30 forrest xmltok, yea that is your best bet, I know linkedin is running batches of 8000 minions, but they are just using the remote execution function currently, not the state portion.
17:31 repl1cant forrest: have you seen any HA implementations for doing primarily remote exec?
17:32 forrest repl1cant, HA? Halite?
17:32 repl1cant high availability
17:32 dave_den repl1cant: you can use multimaster for high availability
17:33 forrest repl1cant, oh duh, brain doesn't work so well in the morning I guess. And dave_den's suggestion of multimaster is your best bet, it's currently messed up in 2014.1 however.
17:33 dave_den it can be shared-nothing if you are just doing remote execution. if you are running states you need to make sure each master has the same states
17:33 dave_den yes, stick with 0.17.5 for multimaster right now
17:33 repl1cant how would multimaster work for HA when you are primarily doing remote exec?
17:33 repl1cant i'm trying to solve for that ATM
17:34 repl1cant for example
17:34 repl1cant if I have a client application that needs to send a command to a node
17:34 repl1cant if it sends it to both masters, it will get executed twice on the node
17:34 xmltok thanks guys
17:34 repl1cant so I'll have to write load balancing logic into the client app is what I'm thinking
17:34 baniir joined #salt
17:35 repl1cant master-a down, try master-b. master-a is up, wait for response from minion-a
17:35 Ahlee please tell rackspace they got my phone number at a salt conference, as such i'm not interested in sales calls about hosted chef installations
17:35 repl1cant no response from minion-a, try master-b and see if minion-a responds
17:35 manicouman joined #salt
17:35 forrest Ahlee, lol
17:35 forrest meteorfox, are you around?
17:36 meteorfox forrest: yeah
17:36 forrest meteorfox, can you tell the sales dudes to stop calling Ahlee? :P
17:36 forrest I know he secretly loves chef though, so maybe they know his true intentions...
17:37 xmj in reality he's just sad noone proposes him to buy puppets
17:38 kermit joined #salt
17:38 forrest Ahlee, maybe they want to install a real chef at your place of business
17:38 forrest who will cook you gourmet meals all day
17:39 meteorfox meteorfox: lol, that's interesting.
17:39 forrest third person?
17:39 kzx what is the best way to run a set of commands in order? use pre-requesites ?
17:40 jpcw joined #salt
17:41 forrest kzx, or requires.
17:41 repl1cant in my research I haven't seen anyone implement such a solution. i've seen plenty of talk on how to just do config management with multi masters, but nothing solves for remote exec for true HA
17:42 kzx forrest: that is what I meant, let's say I have 5 steps I always do in order, is that a job for a script or in a state file specify the 5 steps with requires ?
17:42 forrest kzx, I'd just do requires
17:42 Ahlee forrest: no chef on site, just daily catered meals :P
17:42 forrest step 2 requires step 1, step 3 requires step 2
17:42 forrest Ahlee, well I don't know what to tell you then, sounds like you are missing out
17:43 Ahlee yeah, as catered food is just fast food
17:43 kzx forrest: how do you refer to steps  by their "id" ?
17:43 forrest kzx, the name is the id
17:43 forrest so if you have my_first_script: \n - cmd: .... you'd do require: \n - cmd: my_first_script
17:44 amckinley joined #salt
17:45 kzx forrest: alright, I think I got, thank you!
17:45 puppet_ joined #salt
17:45 forrest kzx, yea np, here's a simple example as well
17:45 forrest https://gist.github.com/gravyboat/8677472
17:45 forrest not exactly what you want to do, but it shows using require and such
17:46 nix_ joined #salt
17:46 dave_den repl1cant: yes, that is a problem
17:48 repl1cant dave_den: ok, just wanted to verify i wasn't missing something before we write something ourselves :-)
17:52 nix_ Hi! I have been always using state.highstate to bring new machines up, but now I have an issue with a specific state. What's the syntax for a machine to get a particular state "up"?  (Incidentally, shouldn't this info be in the tutorials, 3.3.1?)
17:52 jrdx joined #salt
17:52 jaimed joined #salt
17:52 dave_den nix_: you can run a single state file using:   salt-call state.sls <your_state_file>
17:52 dave_den or from the master using salt state.sls …
17:55 nix_ dave_den: thanx! But I guess I botched it: salt -v -l debug 'wn021' state.sls /srv/salt/dev/emacs/init.sls => No matching sls found for '/srv/salt/dev/emacs/init.sls' in env 'base'
17:56 dave_den nix_: http://docs.saltstack.com/ref/modules/all/salt.modules.state.html#salt.modules.state.sls
17:57 MTecknology joined #salt
17:58 druonysus joined #salt
17:58 nix_ So... salt 'wn021' state.sls(,dev,,,,,,) emacs?
17:59 jforest joined #salt
17:59 dave_den is this in your base env and file_roots for base? if so:   salt 'wn021' state.sls dev.emacs
17:59 nix_ got it: salt 'wn021' state.sls emacs dev :)
18:00 dave_den yes, if it's in the dev env
18:01 redondos joined #salt
18:01 redondos joined #salt
18:01 nix_ Ok. Now that I can do that, how can I get the full output from the minion? (Specifically, this state should yum install emacs but it doesn't, with not very helpful comment "The following packages failed to install/update: emacs."
18:03 dave_den you would have to enable debug logging in your minion, either by editing the minion config and restarting your minion, or by starting the salt-minion with -ldebug on the cli
18:03 Gareth nix_: try either -v to the salt command or start your minion up in debug mode if you're really stuck.
18:03 ndrei joined #salt
18:03 hunter joined #salt
18:05 JordanRinke joined #salt
18:07 bhosmer joined #salt
18:08 nix_ dave_den: thanks, but doing that resulted in the state running almost fine (it stopped on a require: sls: which is expected). Then I did the highstate and it worked also. Guess that minion really needed a reboot :)
18:10 thayne joined #salt
18:15 manicouman joined #salt
18:16 TheCodeAssassin joined #salt
18:18 bastion1704 joined #salt
18:23 balboah joined #salt
18:23 bhosmer joined #salt
18:27 bhosmer_ joined #salt
18:27 ml_1 joined #salt
18:28 djaime joined #salt
18:29 danielbachhuber joined #salt
18:29 bram_ I finally have a nice and working vagrant+salt setup that sets up a basic django+nginx+uwsgi site... I was wondering 2 things: 1. could someone tell me how I can easily cut this up into pieces ( http://pastebin.com/8CnuYzwi ) and 2) some constructive criticism?
18:30 forrest bram_, You should be looking at this considering 'how do I make this modular?'
18:31 bram_ exactly!
18:31 bram_ that would be 1)
18:31 forrest bram_, take a look at: http://docs.saltstack.com/topics/best_practices.html#modularity-within-states
18:32 forrest bram_, in your case the functionality regarding variables isn't as important, but the rest of it applies with how things are broken up into multiple files.
18:32 dstanek joined #salt
18:33 jaimed joined #salt
18:34 schimmy joined #salt
18:34 timoguin bram_, check out this project too: https://github.com/wunki/django-salted
18:35 timoguin it's a vagrant environment that will spin up nginx+uswgi, postgres, and an example django app
18:35 bram_ timoguin: yeah, I know there are plenty of pre-baked states, but I wanted to learn by doing...
18:35 bram_ so for that this was perfect...
18:35 timoguin good. :)
18:36 bram_ I'm not even looking for salt-enlightenment, I just need to learn the basics so I can follow along while my (future) devops guys do the salt limbo
18:36 bram_ ah, also this guy does a vagrant master-and-minion-in-one, something I definitely did NOT want to have... it took me quite a while to get that fixed
18:36 forrest timoguin, that's a good project, thanks for the link
18:36 schimmy1 joined #salt
18:36 bram_ but... thanks for the input so far!!
18:37 forrest bram_, you should put you project up on github if you can.
18:37 forrest timoguin, if you have more like that they should be added to http://docs.saltstack.com/topics/salt_projects.html
18:37 bram_ hmm, dunno, I might do that in my name, but outputting mediocre "learning code" in the name of our big corp would be a bad idea ;)
18:38 forrest bram_, yea fair enough
18:38 timoguin forrest, will do. i'm sure i have links for some more.
18:38 bram_ forrest: I got it in our internal git repos...
18:38 forrest timoguin, I created https://github.com/saltstack/salt/issues/11210
18:38 forrest bram_, gotcha
18:38 n8n joined #salt
18:39 bram_ holyshit, now I wished I had seen this one before :-D http://blog.gibbon.co/posts/2013-06-12-salting-your-django-stack.html
18:39 bram_ but anyway, then maybe this would not have been such a rich learning experience
18:40 bram_ hmmm... this thing does not use all the nice salt features though
18:40 bram_ like the virtualenv and pip support INSIDE salt
18:40 bram_ - name: {{ pillar['example']['virtualenv'] }}/bin/pip install pip==dev <- eek
18:40 timoguin bram_, this one is pretty good too: http://www.barrymorrison.com/2013/Mar/11/deploying-django-with-salt-stack/
18:40 forrest bram_, yea you have to take all the blog posts with a grain of salt, even the one I made a while back is out of date. So sometimes features aren't in when people write them, or sometimes some of the more... spammy blogs just don't do things the right way
18:41 bram_ forrest: yeah, obviously... :)
18:41 voozl yeah it can be pretty tricky to find the right bits of documentation :)
18:41 bram_ timoguin: I disagree, I find his states rather confusing
18:41 bram_ timoguin: I was looking at this one before...
18:41 [diecast] joined #salt
18:42 timoguin i'm saying t his as someone who hasn't actually gone through the setup. :-P
18:42 bram_ he's doing some crazy long smd.run things as well
18:42 bram_ err, cmd.run
18:42 timoguin ah yea that's not too pretty
18:43 bram_ I wonder why https://github.com/wunki/django-salted uses fabric to collect static and syncdb
18:43 nineteeneightd joined #salt
18:44 patrek joined #salt
18:47 Rusty_Shacklefor joined #salt
18:47 ajprog_laptop anyone around that can help setting up salt-cloud for ec2?
18:48 ajprog_laptop I am getting this error salt-cloud: error: The cloud provider alias 'grains' has an entry missing the required setting 'provider'
18:51 timoguin bram_, I'm guessing he probably already had the Fabric bits written and it was easier to reuse them then create the same functionality with Salt.
18:52 ajprog_laptop I found my problem -- indentation issue
18:52 bram_ timoguin: another dependency... :/
18:52 timoguin effin YAML
18:52 sandbender1512 timoguin: +1 ;)
18:52 timoguin bram_, yea i'd like to mess with it some more. just haven't had to time.
18:53 bram_ timoguin, forrest: thx for the feedback!! ah last Q: if one would search for fresh new devops/sysadmin/... types, where would be the best place to start posting job offers?
18:53 johtso joined #salt
18:53 forrest bram_, careers.stackoverflow is good, but I don't know if they charge, ycombinator also has a page for job postings.
18:54 bram_ thx...!
18:57 johtso_ joined #salt
18:58 johtso_ joined #salt
18:58 johtso_ joined #salt
18:58 eculver joined #salt
19:03 ipalreadytaken joined #salt
19:04 baniir joined #salt
19:05 hunter joined #salt
19:06 alexthegraham joined #salt
19:06 alexthegraham Hey guys.
19:07 alexthegraham I have a small .rpm that I want to install on minions and don't want to create a repo server just for this. Is there a way to specify the master as the source of the .rpm in a salt state?
19:08 alexthegraham I've tried doing it like a file.managed - source: designation, but that's a negatory.
19:08 manicouman joined #salt
19:08 faldridge joined #salt
19:09 alexthegraham And I don't see anything about being able to do that here: http://docs.saltstack.com/ref/states/all/salt.states.pkg.html
19:09 alexthegraham I guess I could file.managed the RPM and install it from local...
19:11 kzx states.cmd.run -creates option doesn't seem to work on windows
19:12 kzx i understand it was supposed to check for the existense of a file then run the command only if it doesn't exist
19:12 kermit joined #salt
19:15 kzx also does a file unde -require: section have to be a managed file or can it be any file on the file system?
19:17 alexthegraham NM, I'm a moron.
19:22 whiteinge alexthegraham: i doubt that :) there's a lot to read in salt-modules-land.  did you find the "sources" arg to pkg.installed?
19:22 chrisjones joined #salt
19:23 hunter joined #salt
19:23 alexthegraham whiteinge: thanks. There is a lot of docs, for sure. I did find that and am working that out now.
19:24 whiteinge great :)
19:26 alunduil joined #salt
19:29 Ahlee is there a way to say 'do this part of the state only if you do this other part' ?
19:29 roolo joined #salt
19:33 Katafalk_ joined #salt
19:33 zooz joined #salt
19:37 abe_music joined #salt
19:39 Heartsbane Quick question: I noticed in the salt.modules.selinux there doesn't appear to be a way to change contexts
19:39 Heartsbane I was wondering in someone could point me the right direction
19:39 n8n joined #salt
19:39 ksalman joined #salt
19:44 joe____ someone was asking about directory copy to Windows earlier
19:44 joe____ I got it to work with double backslashing the Windows path: C:\\test\\directory
19:44 jp_cognet joined #salt
19:46 jp_cognet how would I have an init.sls state file that just includes and requires other states?
19:47 kzx joe____: was a directory copy from windows to windows (local to minion) using file.copy ?
19:47 meteorfox joined #salt
19:47 meteorfox left #salt
19:47 kzx I ended up using xcopy in  cmd instead
19:47 thayne How does one access functions from the main salt library through __salt__ in an external module?
19:48 manfred hrm, you they should automaticcally have all of that injected when the module is loaded by loader.py's gen_module
19:49 thayne Only the functions from the native module and the functions from the external module are available through __salt__.
19:49 thayne For example I'm implementing a roster as an external module . . .
19:50 eofs_ joined #salt
19:50 manfred thayne: what are you trying to use?
19:51 thayne The roster external module is loaded, but __salt__ only has references for the internal and external roster but nothing else.
19:51 manfred which function are you trying to use and where is it located in salts source?
19:51 thayne I want to do this: sis.foo = __salt__['config.option']('sis.foo')
19:52 thayne 'config.option' is nowhere to be found in __salt__.
19:52 whiteinge Ahlee: only via require statements. you might get a little more milage out of sls-level require and failhard: True
19:52 manfred hrm...
19:52 thayne Dumping __salt__: {'sis.targets': <function targets at 0x1af5cf8>, 'sis.RosterMatcher': <class 'salt.loaded.ext.roster.sis.RosterMatcher'>, 'scan.RosterMatcher': <class 'salt.loaded.int.roster.scan.RosterMatcher'>, 'scan.targets': <function targets\
19:52 thayne at 0x1b27848>, 'flat.compile_template': <function compile_template at 0xfa6050>, 'flat.targets': <function targets at 0x1b270c8>, 'flat.RosterMatcher': <class 'salt.loaded.int.roster.flat.RosterMatcher'>, 'sis.declarative_base': <funct\
19:52 thayne ion declarative_base at 0x1af55f0>}
19:53 joe____ kzx: ah ok gotcha
19:53 thayne It appears that __salt__ only has symbols that are from the roster modules.
19:53 joe____ mine was just master to windows
19:53 manfred thayne: that i have no clue on, sorry
19:53 whiteinge Heartsbane: you might have to shell out for that
19:53 whiteinge Heartsbane: what's the CLI command to do that again?
19:54 Heartsbane http://docs.saltstack.com/ref/modules/all/salt.modules.file.html#salt.modules.file.set_selinux_context
19:54 Heartsbane Ya
19:55 kzx joe____: thanks for checking back in and letting me know
19:55 whiteinge Heartsbane: ah, good find. you can call that via a state with module.run
19:55 whiteinge http://docs.saltstack.com/ref/modules/all/salt.modules.file.html#salt.modules.file.set_selinux_context
19:56 whiteinge er
19:56 whiteinge http://docs.saltstack.com/ref/states/all/salt.states.module.html#salt.states.module.run
19:56 jaimed joined #salt
19:57 Heartsbane Grrrrrrrrrrrrr
19:57 Heartsbane k
19:57 Heartsbane thx
19:58 joe____ kzx: np!  sorry I wasn't more help
20:01 MTecknology http://dpaste.com/1724618/  <-- This seems to be a new bug and I can't figure out what's causing it. Any thoughts?
20:02 forrest MTecknology, are you using gitfs?
20:03 MTecknology nope
20:03 forrest weird, did you try clearing all the caches?
20:03 MTecknology most all clients work fine, it's just six new ones that aren't
20:03 forrest there isn't a mismatch between the master and minion version is there?
20:04 [diecast] joined #salt
20:04 jeremyfelt joined #salt
20:06 MTecknology ooops
20:07 rallytime joined #salt
20:09 ml_1 joined #salt
20:11 balboah joined #salt
20:12 Nazca joined #salt
20:12 Nazca joined #salt
20:15 hunter joined #salt
20:16 DaveQB joined #salt
20:18 bhosmer joined #salt
20:20 kickerdog joined #salt
20:20 andrej joined #salt
20:21 hunter joined #salt
20:23 frosty996 joined #salt
20:24 frosty996 so, this is weird:      Comment: Package 'python27-virtualenv' not found (possible matches: python27-virtualenv). Package 'python27' not found (possible matches: python27).
20:24 frosty996 why is that not matching?
20:24 [diecast] joined #salt
20:24 schimmy1 joined #salt
20:25 frosty996 and python27-pkgs looks like this: https://gist.github.com/jfrost/8d06974da6b00bf17cc9
20:25 kballou joined #salt
20:27 smcquay joined #salt
20:28 MTecknology forrest: that was the issue indeed
20:29 harobed joined #salt
20:29 gnugnu9_ joined #salt
20:30 carnedepassaro joined #salt
20:31 ndrei joined #salt
20:32 forrest MTecknology, cool
20:32 frosty996 huh, so throwing the pkg names in double quotes seems to make it all happy
20:37 hunter_ joined #salt
20:38 frosty996 that's weird. I wonder why I need them there but not elsewhere
20:40 forrest frosty996, what release is that on?
20:41 frosty996 forrest: 2014.1
20:41 forrest frosty996, weird, not sure what's up with that then
20:41 frosty996 that same state worked fine with 0.17.5
20:42 Ahlee whiteinge: Thanks, will rip this out into a seperate sls, than.
20:42 gadams999 joined #salt
20:43 kzx I have a badly behaving executable on windows (robocopy) it return with exit code 1 even though it actually succeeds is there any way to customize error handlign and ignore that?
20:44 montyboy_ joined #salt
20:48 tr_h joined #salt
20:48 spiette joined #salt
20:54 schimmy joined #salt
20:54 rojem joined #salt
20:56 obimod hey guys! jw... can the standard salt ports 4505 and 4506 be changed somewhere?
20:57 Ryan_Lane1 obimod: in the config files
20:57 obimod yay! gratzie
20:57 Ryan_Lane1 http://docs.saltstack.com/ref/configuration/minion.html#master-port
20:57 Ryan_Lane1 http://docs.saltstack.com/ref/configuration/master.html#publish-port
20:58 obimod +1 for the extra yard.. thanks Ryan
20:58 Ryan_Lane1 http://docs.saltstack.com/ref/configuration/master.html#ret-port
20:58 Ryan_Lane1 yw
20:58 hunter_ joined #salt
21:04 hunter_ joined #salt
21:04 jeremyfelt joined #salt
21:05 cewood joined #salt
21:05 x11x joined #salt
21:05 x11x hello guys
21:07 x11x I would have a question regarding ext_pillar for mongo which is part of stable branch, isn't it?
21:07 x11x I have installed salt 2014.1.0, configured mongo ext_pillar and I have this crit error in the log
21:08 yomilk joined #salt
21:08 x11x Specified ext_pillar interface mongo is unavailable
21:08 x11x anybody has any idea what's wrong?
21:09 x11x I have Amazon Linux 2013.09 running with python 2.6.9
21:10 x11x salt packages are installed from EPEL 6 repo, I can see than mongo ext_pillar module is in the package
21:10 andr386 joined #salt
21:11 Ahlee Do you have any external pillars working?
21:11 Ahlee Like, are you sure it's a problem with mongo external, or is it just external pillars aren't working
21:12 dave_den x11x: have you installed pymongo?
21:14 x11x yep, I have already found that it was missing
21:14 x11x thanks anyway
21:15 x11x btw, does anybody have a working dynamodb ext_pillar module for 2014.01.0?
21:16 elfixit1 joined #salt
21:16 dave_den x11x: try googling fo saltstack dynamodb
21:17 x11x yea, I tried the one available on github but it's not working on the latest release, so I'm curious whether anybody has a working configuration
21:20 rjc joined #salt
21:20 vejdmn joined #salt
21:20 andrej Stating to dabble w/ more python scripting ... for auditing purposes I used to run a little python script against a list of IPs to execute a few shell commands, and write the findings to an excel-flavoured CSV file.
21:20 andrej I was wondering whether salt provides a function to iterate over minions and achieve the same result
21:21 abe_music joined #salt
21:22 andrej I wouldn't have a clue where in the doco to start reading, or what to search for on google, otherwise I would have gone down that alley :)
21:23 Ahlee andrej: Yes, you can instantiate a salt localclient and do that
21:23 rallytime joined #salt
21:23 abe_music Is it generally recommended not to have multiple providers that attach to the same account in say AWS? (e.g, providers foo and bar are providers that have the same account info, but just named differently)
21:24 andrej Ahlee - thanks, I'll google for localclient :)
21:24 abe_music i think i'm hitting a KeyError because of that
21:28 kballou joined #salt
21:28 jaimed joined #salt
21:29 andrej Ahlee - some of the doco is over my head, do you have any usage examples flying around?  I learn better by example.
21:31 gadams999 joined #salt
21:35 Ahlee andrej: sure, one second.
21:36 Gordonz joined #salt
21:36 hunter_ joined #salt
21:37 Ryan_Lane joined #salt
21:37 Ryan_Lane joined #salt
21:38 Ahlee andrej: https://gist.github.com/jalons/f70e9d282cbb903d27e6
21:38 andrej awesome - ta
21:38 Ahlee you're probably interested in the last part, s = salt.client.LocalClient(), in this i'm just calling test.fib, but you could easily call any salt function, or cmd.run to execute arbitrary commands against minions and get their output
21:39 Ahlee updated it to remove the duplicate opts
21:40 frosty996 left #salt
21:40 Ahlee also, that's a terrible example since i'm over riding the default with my local config rather tahn setting the environment varialbe SALT_MASTER_CONFIG, heh
21:40 Ahlee anyway
21:40 Ahlee good luck
21:40 andrej Yah, I was wondering whether I needed the runner & opts parts at all
21:40 andrej And thanks again, that is getting me started :)
21:40 Ahlee nah, it was just a sample script i had up in an editor and copy/pasted :)
21:40 Ahlee sorry
21:41 JonGretar joined #salt
21:43 manicouman joined #salt
21:47 jeremyfelt joined #salt
21:47 kermit joined #salt
21:48 jeremyfelt joined #salt
21:48 hunter_ joined #salt
21:52 oc joined #salt
21:55 Katafalkas joined #salt
21:55 frasergraham joined #salt
21:55 ahammond joined #salt
21:56 dfinn joined #salt
21:57 balboah joined #salt
21:57 dfinn any concerns upgrade my master from 0.17.5 to 2014.1.0?  apparently one of my guys tried to do the upgrade while I was out on vaca and it didn't go so well but he didn't give me specifics of what broke.  also, any issues with mixing minions running 0.17.5 and master running 20014.1.0?
21:57 yakubs joined #salt
21:58 Ahlee 2014.1.x minions can't talk to 0.17.x masters
21:58 Ahlee so, as always, upgrade masters first
21:58 Ahlee multimaster was broken at one time, not sure where that stands
22:00 Saint-N joined #salt
22:01 dfinn so no concerns upgrade the master, nothing to watch out for?
22:01 r2dk1ng2 joined #salt
22:01 Ahlee afaik multimaster is only thing
22:01 dave_den batch mode in 2014.1.0 is broken as well i think
22:01 Ahlee yikes, that's not good, either
22:01 dfinn maybe best to wait for now?
22:01 dfinn i'm not sure I need either of those but it sounds like it's not quite stable yet?
22:02 Ahlee *shrug* better than previous jumps
22:02 gadams999 joined #salt
22:02 Saint-N hey quick question cuz i suck at searching docs fully... if i do {{ grains['fqdn'] }} inline it should return the equiv of /etc/hostname or is it minion_id ?
22:02 dave_den i am still on 0.17.5, personally
22:02 dfinn ok, i may hold out for a couple of weeks then
22:02 Ahlee same, and i'm likely staying here for awhile
22:02 dfinn what is your plan for upgrading dave_den?
22:03 Ahlee for me, we're waiting for the enterprise cut and then we'll move to it
22:03 dave_den dfinn: waiting for 2014.1.1 which should be pretty soon, then will evaluate in dev
22:03 dfinn ok
22:03 gadams9991 joined #salt
22:08 bhosmer joined #salt
22:08 ede joined #salt
22:08 markizano joined #salt
22:09 dfinn there's a history of upgrades going like this (or worse)?
22:09 forrest joined #salt
22:10 ahammond joined #salt
22:10 ndrei joined #salt
22:12 manicouman joined #salt
22:13 rgbkrk joined #salt
22:14 forrest Gareth, did you decide to update nftables so the errors were better?
22:16 manicouman joined #salt
22:16 googolhash joined #salt
22:19 Gareth forrest: haha nope.  in the salt code I work around it's limitations though :)
22:20 forrest Gareth, nice
22:21 Gareth forrest: the one that I was tripping me up.  If a chain (eg. input, output, etc.) doesn't exist and you try to add a rule to it, it doesn't tell you the chaind doesn't exist.  It just says "no such file or directory"
22:21 forrest ...
22:21 forrest are you serious?
22:21 forrest it doesn't just create the file and append the chain?
22:21 Gareth unfortunately.
22:21 Gareth it does not.
22:21 forrest hmm
22:21 forrest that seems kinda suspect
22:22 forrest so do you have to manually create the file?
22:22 Gareth the chain.  yes.  you have to manually create the chain.
22:22 forrest that's a bummer.
22:24 Gareth yeah. hopefully something that will get fixed before released officially.
22:25 yomilk joined #salt
22:26 Nazca joined #salt
22:26 Nazca joined #salt
22:27 schimmy1 joined #salt
22:28 elfixit1 joined #salt
22:29 ahammond joined #salt
22:30 schimmy2 joined #salt
22:32 dfinn1 joined #salt
22:33 ahammond joined #salt
22:40 asmaps joined #salt
22:41 ndrei joined #salt
22:43 bemehow joined #salt
22:43 toastedpenguin joined #salt
22:48 frasergraham joined #salt
22:54 fxdgear joined #salt
22:56 timoguin joined #salt
23:01 eculver joined #salt
23:05 baniir joined #salt
23:05 manicouman joined #salt
23:05 baniir what format should a tag be given as to the git.latest rev state
23:07 jeremyfelt joined #salt
23:08 tr_h joined #salt
23:10 arthabaska joined #salt
23:11 scalability-junk joined #salt
23:12 timoguin baniir, tags are like v0.17.5
23:12 timoguin vs. 0.17 for a branch
23:12 baniir timoguin: thanks
23:17 KyleG joined #salt
23:17 KyleG joined #salt
23:18 ninkotech__ joined #salt
23:19 davet joined #salt
23:24 fxhp http://russell.ballestrini.net/filter-salt-stack-return-data-output/
23:25 fxhp ^ sometimes you only want to see what changed, and thats OK
23:25 fxhp lol
23:26 ajprog_laptop joined #salt
23:30 manicouman joined #salt
23:31 Fin1te joined #salt
23:35 sporkd2 fxhp: thanks for that link
23:36 dstanek_zzz joined #salt
23:36 KyleG1 joined #salt
23:37 schimmy joined #salt
23:37 Tekni joined #salt
23:37 jeremyBass2 joined #salt
23:37 hunter__ joined #salt
23:38 seapasulli_ joined #salt
23:38 gnugnu9 joined #salt
23:38 yomilk_ joined #salt
23:38 patrek_ joined #salt
23:38 frasergr_ joined #salt
23:38 DaveQB_ joined #salt
23:39 googolhash_x joined #salt
23:39 manicouman joined #salt
23:39 NV is it possible to specify a gitfs remote to be based in a subdirectory?
23:39 ninkotech_ joined #salt
23:40 ksalman_ joined #salt
23:41 ndrei_ joined #salt
23:41 NV as in the root of the git repo is based in a subdirectory of the states tree
23:41 eofs joined #salt
23:43 balboah joined #salt
23:44 mgw joined #salt
23:45 jforest joined #salt
23:45 MTecknology joined #salt
23:46 eofs joined #salt
23:46 forrest joined #salt
23:47 fxhp sporkd2 - welcome, : )
23:47 hunter__ joined #salt
23:48 manicouman joined #salt
23:49 hunter___ joined #salt
23:49 berto- joined #salt
23:51 fllr joined #salt
23:52 eofs joined #salt
23:52 yomilk joined #salt
23:52 JonGretar joined #salt
23:57 schimmy joined #salt
23:59 forresta joined #salt

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