Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2017-09-19

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

All times shown according to UTC.

Time Nick Message
00:07 icebal joined #salt
00:09 dstensnes joined #salt
00:21 cyborg-one joined #salt
00:26 johnj_ joined #salt
00:26 mikecmpbll joined #salt
00:28 justanotheruser joined #salt
00:37 asyncsec joined #salt
00:38 dxiri joined #salt
00:45 noraatepernos joined #salt
00:51 shoemonkey joined #salt
00:58 jas02 joined #salt
01:03 patrek joined #salt
01:17 squishypebble joined #salt
01:18 justanotheruser joined #salt
01:27 johnj_ joined #salt
01:28 zerocool_ joined #salt
01:30 systemex1t joined #salt
01:55 ilbot3 joined #salt
01:55 Topic for #salt is now Welcome to #salt! <+> Latest Versions: 2016.11.7, 2017.7.1 <+> Support: https://www.saltstack.com/support/ <+> Logs: http://irclog.perlgeek.de/salt/ <+> Paste: https://gist.github.com/ <+> See also: #salt-devel, #salt-offtopic <+> We are volunteers and may not have immediate answers
02:05 yagnik joined #salt
02:16 _JZ_ joined #salt
02:18 relidy joined #salt
02:28 johnj_ joined #salt
02:30 shoemonkey joined #salt
02:46 shred joined #salt
02:54 tao joined #salt
02:57 tao left #salt
03:16 shred joined #salt
03:29 johnj_ joined #salt
03:36 pualj joined #salt
03:40 v0rtex joined #salt
03:47 johnj_ joined #salt
04:05 Cumulo741 joined #salt
04:48 justan0theruser joined #salt
04:48 msn joined #salt
04:48 golodhrim|work joined #salt
04:50 justan0theruser joined #salt
04:57 sarlalian joined #salt
04:58 jas02 joined #salt
05:01 sarlalian joined #salt
05:03 sarlalian joined #salt
05:03 johnj_ joined #salt
05:15 vchauhan joined #salt
05:17 Bock joined #salt
05:24 justanotheruser joined #salt
05:30 justanotheruser joined #salt
05:50 felskrone1 joined #salt
05:53 evle2 joined #salt
06:02 msn I have written this small salt formula https://github.com/manpreetsnehra/openssl-CA-formula
06:03 do3meli joined #salt
06:04 johnj_ joined #salt
06:05 wedgie joined #salt
06:05 Dereckson joined #salt
06:05 Sketch joined #salt
06:05 c4rc4s joined #salt
06:05 babilen joined #salt
06:05 Xevian joined #salt
06:05 mschiff joined #salt
06:05 eac joined #salt
06:05 basepi joined #salt
06:05 mschiff joined #salt
06:05 TomJepp joined #salt
06:05 oyvindmo joined #salt
06:05 AvengerMoJo joined #salt
06:05 Zachary_DuBois joined #salt
06:05 rideh joined #salt
06:05 UForgotten joined #salt
06:05 teratoma joined #salt
06:05 Armadillo joined #salt
06:05 bdrung_work joined #salt
06:05 ahammond joined #salt
06:06 davedash joined #salt
06:06 lubyou_ joined #salt
06:06 rylnd joined #salt
06:06 theanalyst joined #salt
06:06 Grauwolf joined #salt
06:06 mauli joined #salt
06:06 doriftoshoes__ joined #salt
06:06 demize joined #salt
06:06 Eugene joined #salt
06:06 johtso joined #salt
06:06 DanyC joined #salt
06:06 Ryan_Lane joined #salt
06:06 Gareth joined #salt
06:08 Cumulo741 joined #salt
06:09 dlloyd joined #salt
06:10 evilet joined #salt
06:10 bbradley_ joined #salt
06:10 hoolio joined #salt
06:10 descrepes joined #salt
06:11 do3meli joined #salt
06:11 do3meli left #salt
06:13 dvdmuckle joined #salt
06:14 Deliant joined #salt
06:16 swills joined #salt
06:31 swills joined #salt
06:31 swills joined #salt
06:40 robinsmidsrod joined #salt
06:42 DanyC joined #salt
06:43 pyvpx_ left #salt
06:45 Ricardo1000 joined #salt
06:49 maestropandy joined #salt
06:50 robinsmidsrod joined #salt
06:50 DanyC joined #salt
06:59 sarlalian joined #salt
07:01 sarlalian joined #salt
07:03 johnj joined #salt
07:12 aldevar joined #salt
07:17 swills joined #salt
07:17 swills joined #salt
07:18 Processus42 joined #salt
07:20 Hybrid joined #salt
07:25 Diaoul joined #salt
07:27 jas02 joined #salt
07:27 jhauser joined #salt
07:31 swills joined #salt
07:31 swills joined #salt
07:35 robman joined #salt
07:37 freelock joined #salt
07:37 toofoo[m] joined #salt
07:37 hackel joined #salt
07:37 gomerus[m] joined #salt
07:37 benjiale[m] joined #salt
07:37 jerrykan[m] joined #salt
07:37 psychi[m] joined #salt
07:37 aboe[m] joined #salt
07:37 ThomasJ|m joined #salt
07:37 theblazehen joined #salt
07:37 fujexo[m] joined #salt
07:37 renaissancedev[m joined #salt
07:40 jhauser joined #salt
07:46 swills joined #salt
07:46 swills joined #salt
07:51 _KaszpiR_ joined #salt
07:54 mikecmpbll joined #salt
07:55 DanyC joined #salt
07:58 abrcdbr joined #salt
08:01 toanju joined #salt
08:02 alexlist joined #salt
08:04 johnj joined #salt
08:09 pbandark joined #salt
08:16 swills joined #salt
08:18 ahrs joined #salt
08:19 cyteen joined #salt
08:31 swills joined #salt
08:31 swills joined #salt
08:32 Mattch joined #salt
08:51 maestropandy joined #salt
08:59 maestropandy1 joined #salt
09:02 squishypebble joined #salt
09:04 gmoro joined #salt
09:05 johnj joined #salt
09:11 mbologna joined #salt
09:15 _aeris_ joined #salt
09:21 tellendil joined #salt
09:30 count0 joined #salt
09:46 swills joined #salt
09:46 swills joined #salt
09:46 maestropandy joined #salt
09:48 count0 left #salt
09:50 count0ru joined #salt
09:50 count0ru Hi, i trying to use consul module in state
09:50 count0ru https://gist.github.com/count0ru/7c268dfa80143026c1bc4afcb748a537
09:50 count0ru and got error:  'Required argument node argument is missing' from module.
09:50 count0ru when i run from command line salt '*' consul.catalog_register node='mynode' address='mynode' service='clickhouse_exporter' service_address='10.10.10.1' service_port='9116'
09:50 count0ru service_id='redis_server1' consul_url='http://consulhost:8500' all works
09:50 count0ru whats wrong with my state?
09:56 manji hey allo
09:56 manji does anyone know why the yaml examples here
09:56 manji https://docs.saltstack.com/en/latest/ref/roster/all/salt.roster.cache.html#module-salt.roster.cache
09:57 manji are empty ?
09:59 debian112 joined #salt
10:06 johnj joined #salt
10:16 mayk joined #salt
10:19 debian112 joined #salt
10:25 debian112 joined #salt
10:28 debian112 joined #salt
10:36 debian1121 joined #salt
10:38 maestropandy joined #salt
10:42 debian112 joined #salt
10:43 ivanjaros joined #salt
10:45 debian1121 joined #salt
10:51 jas02 joined #salt
10:54 _KaszpiR_ joined #salt
10:56 jas02 joined #salt
11:07 johnj joined #salt
11:15 wavded joined #salt
11:18 johnj joined #salt
11:22 zulutango joined #salt
11:27 jas02 joined #salt
11:46 _KaszpiR_ joined #salt
11:55 zerocool_ joined #salt
12:04 usernkey joined #salt
12:05 dxiri joined #salt
12:06 dxiri joined #salt
12:11 GMAzrael joined #salt
12:14 Nahual joined #salt
12:16 swills joined #salt
12:16 swills joined #salt
12:17 jas02 joined #salt
12:18 mikecmpbll in the example here using onchanges: https://docs.saltstack.com/en/latest/ref/states/requisites.html#state-target-matching
12:18 mikecmpbll does the file.managed state only execute when the archive extracts and there's changes?
12:19 mikecmpbll and in the case that the archive.extracted state had an if_missing argument which was present, the file.managed state would not run?
12:19 shoemonkey joined #salt
12:19 squishypebble joined #salt
12:33 ssplatt joined #salt
12:39 rburkholder joined #salt
12:44 Marcus___ joined #salt
12:45 toastedpenguin joined #salt
12:46 Marcus___ left #salt
12:48 Disaster123 joined #salt
12:55 gh34 joined #salt
12:56 dxiri_ joined #salt
12:57 shoemonkey joined #salt
12:59 Hybrid joined #salt
12:59 mchlumsky joined #salt
13:01 tiwula joined #salt
13:02 cgiroua joined #salt
13:04 numkem joined #salt
13:07 johnj joined #salt
13:09 swills joined #salt
13:09 swills joined #salt
13:09 swills_ joined #salt
13:18 Hybrid joined #salt
13:18 XenophonF OK so I think I've got it
13:19 XenophonF selinux.fcontext_policy_present does the equivalent of `semanage fcontext whatever`
13:19 XenophonF and selinux.fcontext_policy_applied does the equivalent of `restorecon whatever`
13:19 * XenophonF waves his hands.
13:20 XenophonF and ne'er the twain meet b/c fcontext_policy_present takes a regexp for the target pathname, while fcontext_policy_applied takes a pathname
13:21 Brew joined #salt
13:30 XenophonF I wish that was clearer in the documentation.
13:43 squishypebble joined #salt
13:43 JohnnyRun joined #salt
13:44 mbologna joined #salt
13:44 kbaikov joined #salt
13:50 Cumulo741 joined #salt
13:51 _JZ_ joined #salt
13:53 fredprod joined #salt
13:53 fredprod left #salt
13:53 ashmckenzie joined #salt
13:56 smead joined #salt
13:57 smead Hey all, I'm trying to use salt-cloud --query to only list running VMs
13:57 smead any pointers ?
13:57 wavded joined #salt
13:58 racooper joined #salt
13:58 Hybrid joined #salt
13:59 smead Or, does anybody know where salt-cloud select documentation is?  My googl-fu stinks today
14:00 squishypebble joined #salt
14:08 csmule joined #salt
14:08 johnj joined #salt
14:10 edrocks_ joined #salt
14:10 XenophonF smead: what problem are you having?
14:10 XenophonF CLI docs are here - https://docs.saltstack.com/en/latest/ref/cli/salt-cloud.html#query-options
14:10 smead I want to query salt cloud and only see state: "running"
14:10 smead not all of the vms
14:13 XenophonF output to json and post-process?
14:14 edrocks joined #salt
14:23 XenophonF jq makes my brian hurt so I'd probably pipe that to a python script
14:23 XenophonF s/brian/brane/
14:27 schemanic joined #salt
14:28 haam3r_ well for vmware the jq filter is something like: "salt-cloud -f list_nodes cluster_name --out json | jq '.cluster_name.vmware | with_entries(select(.value.state == "poweredOn"))' "
14:42 pualj joined #salt
14:45 exegesis joined #salt
14:49 ikarpov joined #salt
14:57 schasi joined #salt
15:04 shoemonkey joined #salt
15:05 choke joined #salt
15:08 johnj joined #salt
15:12 ztychr joined #salt
15:12 ztychr joined #salt
15:17 mikecmpbll joined #salt
15:17 Naresh joined #salt
15:20 onlyanegg joined #salt
15:22 nmflounder joined #salt
15:23 zerocool_ joined #salt
15:24 sarcasticadmin joined #salt
15:27 colegatron joined #salt
15:32 ivanjaros joined #salt
15:35 jmb13562 joined #salt
15:37 ssn joined #salt
15:38 csmule Any problems setting environment: on the minion itself via /etc/salt/minion? I know there is a general dislike for environments. Just trying to learn my options.
15:39 nmflounder Wondering if anyone has had issues adding keys on news system since upgrading to the new version of Salt?
15:48 Heartsbane joined #salt
15:48 Heartsbane joined #salt
15:49 _ssn_06 joined #salt
15:52 _ssn_06 Hello guys, could someone experienced in salt-cloud, please ?
15:57 DanyC joined #salt
15:58 dxiri joined #salt
15:58 schasi_ joined #salt
15:58 nixjdm joined #salt
16:02 woodtablet joined #salt
16:05 smead joined #salt
16:06 DanyC joined #salt
16:08 onlyanegg _ssn_06: what's your question?
16:08 edrocks joined #salt
16:09 johnj joined #salt
16:09 aldevar left #salt
16:15 jmb13562 joined #salt
16:16 slugfish anyone here a got proxy moxy? ie point me in the right direction for finding out why my proxy's just stop responding?
16:18 johnj joined #salt
16:19 nledez joined #salt
16:19 nledez joined #salt
16:21 zerocool_ joined #salt
16:27 Lionel_Debroux joined #salt
16:32 fatal_exception joined #salt
16:38 jmb13562 joined #salt
16:42 zerocool_ joined #salt
16:47 schasi joined #salt
16:52 jmb13562 joined #salt
16:55 edrocks joined #salt
16:59 ikarpov joined #salt
17:00 oida joined #salt
17:00 jmb13562 joined #salt
17:01 shanth joined #salt
17:02 shanth anyone got a working salt windows minon? im not able to do pkg.refresh_db and im sure it's something simple and stupid. it sure is infuriating though
17:04 schasi_ joined #salt
17:05 shoemonkey joined #salt
17:08 shanth cant for the life of me get it to refresh database on windows minions https://gist.github.com/sazaro/c98ded3eb07600d536d4f512a0c9e3a5
17:09 fatal_exception joined #salt
17:12 SaucyElf_ joined #salt
17:12 jmb13562 joined #salt
17:15 nixjdm joined #salt
17:17 squishypebble joined #salt
17:24 schasi joined #salt
17:28 _KaszpiR_ joined #salt
17:34 csmule joined #salt
17:38 LeProvokateur joined #salt
17:41 edrocks joined #salt
17:52 wavded joined #salt
17:58 dave293785 joined #salt
17:59 ChubYann joined #salt
17:59 phpdave11 joined #salt
17:59 phpdave11 how do i get a mysql_query.run to not show "changed" if 0 rows were affected?
18:03 debian112 joined #salt
18:04 wavded joined #salt
18:14 nixjdm joined #salt
18:21 omie888777 joined #salt
18:23 omie88877777 joined #salt
18:26 edrocks joined #salt
18:27 mayk joined #salt
18:34 Guest62054 joined #salt
18:34 Guest62054 left #salt
18:40 _serg_06 joined #salt
18:42 schemanic joined #salt
18:42 _ssn_06_ joined #salt
18:44 _ssn_06_ Hello guys, could someone suggest me some person or channel to join in I need to ask regarding "salt-cloud", getting the issue with "str" error
18:44 _ssn_06_ please
18:46 nkuttler just ask your question
18:48 ivo_ joined #salt
18:48 _ssn_06_ ok. 1 min, will copy the log
18:50 _ssn_06_ followed by https://docs.saltstack.com/en/latest/topics/cloud/azure.html I have tried to check existent images by # salt-cloud --list-images my-azure-config and got output:
18:50 _ssn_06_ $ salt-cloud --list-images my-azure-config [ERROR   ] 'str' object does not support item assignment
18:51 _ssn_06_ I have using the same config from page
18:54 schasi joined #salt
18:54 _ssn_06_ seems wrong usage or config, not sure
19:03 it_dude joined #salt
19:06 shoemonkey joined #salt
19:14 nixjdm joined #salt
19:21 csmule joined #salt
19:27 _ssn_06_ good to know is there someone who is working with Azure thru SaltStack ?
19:27 _ssn_06_ please
19:38 jhauser joined #salt
19:51 socket- hey all, i am trying to add a state to my topfile based on cidr, but it seems not not be working. https://apaste.info/xCFj any ideas why it says "No Top file or external nodes data matches found"
19:53 noraatepernos joined #salt
19:54 lordcirth_work socket-, -S works on the command line, but that won't make it work in top.sls
19:54 socket- is there a way to target by network ID in the topfile?
19:54 lordcirth_work You forgot - match: ipcidr
19:54 lordcirth_work https://docs.saltstack.com/en/latest/topics/targeting/ipcidr.html
19:55 socket- ohh, thanks i vaguely recall that now
19:56 schemanic joined #salt
19:56 schasi joined #salt
19:58 socket- hmm, got the same thing, all i need to do is run salt-run fileserver.update to pull the latest top from gitfs
20:00 shanth anyone know why the windows repo wont refresh db? https://gist.github.com/sazaro/c98ded3eb07600d536d4f512a0c9e3a5
20:00 shanth for windows salt minions
20:02 lordcirth_work shanth, smells like version mismatch
20:03 shanth hmm
20:06 socket- lordcirth_work: same thing, https://apaste.info/yLAF
20:07 socket- any ideas what im doing wrong?
20:07 lordcirth_work socket-, what are your master and minion versions?
20:08 mpanetta joined #salt
20:08 socket- master, 2017.7.0+ds-1  minion, 0.17.5+ds-1
20:09 lordcirth_work socket-, so you have a version mismatch.  I bet 0.17 doesn't even support ipcidr
20:09 socket- must be, good catch, thanks ill look into making sure that minion is using our correct bootstrap script
20:11 jesusaur joined #salt
20:12 onlyanegg joined #salt
20:13 choke joined #salt
20:14 nixjdm joined #salt
20:18 Hybrid joined #salt
20:18 hacks_ left #salt
20:20 XenophonF joined #salt
20:21 doubletwist I don't think https://github.com/saltstack-formulas/rsyslog-formula is working. It's not pulling info from pillar at all. Or even map.jinja I don't think
20:22 sjorge joined #salt
20:22 doubletwist nm, I'm just dumb. :)
20:44 edrocks joined #salt
20:45 aneeshusa joined #salt
20:48 _ssn_06__ joined #salt
20:49 _ssn_06__ fixed the previous issue and getting a new one "No permissions to access "/var/log/salt/cloud", are you running as the correct user?"
20:50 _ssn_06__ cloud file:
20:50 _ssn_06__ root_dir: /home/ssn/Azure/git/azure
20:50 _ssn_06__ where is "var" folder placed as well
20:51 _ssn_06__ but salt-cloud seems doen't look at this config
20:52 _ssn_06__ config placed here /etc/salt/cloud
20:52 zulutango joined #salt
20:53 Hybrid joined #salt
20:54 jas02 joined #salt
20:54 shandonjuan joined #salt
20:57 shandonjuan hello
20:59 schemanic Hey, so I have calculated values built up out of pillar data. I'm storing those values in my state currently, but I'm wondering if it makes sense to store it in a mapfile. How do I declare additional variables that should be in the map.jinja dict?
20:59 shandonjuan I am attempting to retrieve a grain value in a linux script on Redhat 7.3. However, I am finding some inconsistencies when leveraging the the grains.get syntax when templating the script for jinja
21:00 shandonjuan here is the issue? the following command:  {{salt'grains.get' }} in Windows: yields cloudinfrasandbox  in Linux yields RedHat ['cloudinfrasandbox']
21:00 shandonjuan the desired output is the windows value. which is the value of the grain. the linux value is throwing the extra brackets and quotes. any ideas?
21:01 whytewolf um, it sounds like the linux version is a list while the windows vs is just a string. [not sure what grain you are accessing because your syntax didn't post right]
21:02 shandonjuan its a custom grain
21:03 mikecmpbll joined #salt
21:05 shandonjuan here is the complete command: {{salt['grains.get']('tags:ApplicationName')}}
21:06 whytewolf shandonjuan: the issue isn't you getting the grain, but the content of the grain
21:06 shandonjuan here is how the custom grain is being set: salt-call grains.append ApplicationName tibcopocems
21:07 shandonjuan so maybe i shouldnt be using grain.append
21:07 shoemonkey joined #salt
21:07 whytewolf no, you shouldn't be
21:07 shandonjuan got it
21:07 whytewolf unless you need the grain to be a list
21:07 shandonjuan ill check the modules documentation again.
21:07 shandonjuan thank you
21:08 whytewolf grains.set
21:08 shandonjuan thanks!
21:09 rojem joined #salt
21:14 nixjdm joined #salt
21:15 Hybrid joined #salt
21:32 jmb13562 joined #salt
21:33 y0t3ht left #salt
21:33 jmb13562 joined #salt
21:38 Hybrid joined #salt
21:43 ds joined #salt
21:45 Eugene joined #salt
21:46 csmule Best way to share states with different enviroments? Is the base environment for that?
21:50 doubletwist odd. I've got a vmware vm that the grains 'virtual' returns 'xen'
21:52 doubletwist despite the productname and serialnumber both showing VMware
21:52 dendazen joined #salt
21:55 dswinec2 joined #salt
21:56 sp0097 joined #salt
21:58 doubletwist it's the minion running on the master. The other minions [created from same VM template] all show vmware. Only difference is the 'wrong' one has 4gb ram and 2vcpu instead of 1gb ram and 1vcpu
21:58 dswinec2 Hi there, I am trying to provision a windows ec2 instance using salt-cloud.
21:59 dswinec2 I am able to get to the point where the instance is created, however during the provisioning process, get errors messages such as "[DEBUG   ] Attempting connection to host 172.31.82.183 on port 445"
21:59 Neighbour that is not an error message...it clearly says DEBUG :)
22:00 dswinec2 At the end of the provisioning process, I am unable to connect to the instance
22:00 dswinec2 and I don't think the salt-minion has been properly installed.
22:01 dswinec2 Yes, technically, I misspoke.
22:02 dswinec2 At the end of the provisioning process, I get [ERROR   ] Port connection timed out: 900 Error: There was a profile error: Failed to connect to remote windows host (winrm)
22:03 morissette joined #salt
22:03 doubletwist Plus virt-what returns vmware
22:05 dswinec2 snippet of my cloud.profile configuration: https://gist.github.com/anonymous/5f5211e5fd3146e2eaf23704fcbc5677
22:07 sp0097 left #salt
22:07 ssplatt joined #salt
22:08 dswinec2 Any suggestions would be appreciated.  :)  I suspect I must be missing something very basic.
22:18 choke joined #salt
22:22 whytewolf dswinec2: does the windows image you are trying to use have winrm?
22:23 whytewolf https://docs.saltstack.com/en/latest/topics/cloud/windows.html and have you followed this?
22:23 dswinec2 whytewolf:  How can I tell?  I just ass-u-med that all versions contained it.
22:24 dswinec2 I did follow the article you listed above.
22:25 * whytewolf shrugs then.
22:25 whytewolf i don't use windows so other then the docs i really have nothing to go off of
22:26 dswinec2 ok, thanks.  Let me dig around to see how to enable winrm. That might be the missing link.  Thanks.
22:27 whytewolf oh, make sure the security group assigned to the instance allows port 445 through
22:27 whytewolf [from the master]
22:28 whytewolf and 5986
22:29 dswinec2 I definitely did both of those.
22:29 ssplatt joined #salt
22:34 usernkey joined #salt
22:46 phpdave11 left #salt
22:50 rathier joined #salt
22:57 jas02 joined #salt
23:04 _JZ_ joined #salt
23:07 shoemonkey joined #salt
23:23 Hybrid joined #salt
23:35 cyborg-one joined #salt
23:35 morissette joined #salt
23:36 hoonetorg joined #salt
23:42 stanchan joined #salt
23:48 cyborg-one joined #salt
23:50 shoemonkey joined #salt
23:51 bcat_ joined #salt

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