Perl 6 - the future is here, just unevenly distributed

IRC log for #salt, 2016-09-25

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

All times shown according to UTC.

Time Nick Message
00:06 MTecknology salt-call pillar.data
00:11 jab416171 joined #salt
00:11 dandelo joined #salt
00:16 rpb joined #salt
00:18 jenastar joined #salt
00:25 thehaven joined #salt
00:29 toastedpenguin joined #salt
00:35 rideh joined #salt
00:35 qman__ joined #salt
00:36 jcockhren joined #salt
00:37 kuromagi joined #salt
00:41 bryguy joined #salt
00:43 jas02 joined #salt
00:48 tbrb joined #salt
00:50 amontalban joined #salt
00:56 JamieH_ joined #salt
00:56 edrocks joined #salt
00:56 shawnbutts joined #salt
01:01 systemdave joined #salt
01:03 gbfdewr What should I configure in the *.sls with file.managed when the source is in the gitfs? "- source: git@git.example.com/user/salt-state.git/path" ?!?
01:05 adongy joined #salt
01:12 jas02_ joined #salt
01:27 catpigger joined #salt
01:32 DEger joined #salt
01:34 DEger_ joined #salt
01:38 hemebond Doesn't it just use salt:// ?
01:39 hemebond I thought gitfs was a way of creating a file source that was transparent to states.
01:46 jas02 joined #salt
01:47 DEger joined #salt
01:51 mTeK joined #salt
01:51 amontalban joined #salt
01:52 mTeK joined #salt
01:53 Salander27 joined #salt
01:54 systo joined #salt
01:59 XenophonF joined #salt
02:06 jimklo joined #salt
02:08 Salander27 joined #salt
02:20 DEger joined #salt
02:21 spuder joined #salt
02:23 DEger_ joined #salt
02:25 khorben joined #salt
02:27 spuder joined #salt
02:28 DEger joined #salt
02:30 DEger_ joined #salt
02:45 jas02 joined #salt
02:51 barmaley joined #salt
02:54 MaZ- joined #salt
02:54 jas02_ joined #salt
02:59 edrocks joined #salt
03:27 spuder joined #salt
03:30 alexlist joined #salt
03:45 jas02 joined #salt
03:47 armguy joined #salt
03:49 justanotheruser joined #salt
03:54 amontalban joined #salt
04:04 spuder joined #salt
04:21 jas02_ joined #salt
04:21 _W_ joined #salt
04:44 mikecmpbll joined #salt
04:46 jas02 joined #salt
05:11 theblazehen_ joined #salt
05:16 cyborg-one joined #salt
05:43 DEger joined #salt
05:44 zer0def joined #salt
05:47 jas02 joined #salt
05:56 amontalban joined #salt
05:56 amontalban joined #salt
06:01 edrocks joined #salt
06:03 jas02_ joined #salt
06:04 mpanetta joined #salt
06:05 swa_work joined #salt
06:34 NVX joined #salt
06:38 jxm_ joined #salt
06:48 jas02 joined #salt
06:53 mikecmpbll joined #salt
07:14 swa_work joined #salt
07:25 bocaneri joined #salt
07:35 saltstackbot joined #salt
07:36 Pulp joined #salt
07:46 sfxandy joined #salt
07:48 jas02 joined #salt
07:52 MTecknology Is cmd.run going away entirely in the future? The warning makes it sound like it's being completely removed
07:56 llua what message?
07:56 MTecknology depracation warning
07:57 haam3r joined #salt
07:58 amontalban joined #salt
08:01 jas02_ joined #salt
08:01 MTecknology [WARNING ] /usr/lib/python2.7/dist-packages/salt/utils/templates.py:73: DeprecationWarning: Starting in 2015.5, cmd.run uses python_shell=False by default, which doesn't support shellisms (pipes, env variables, etc). cmd.run is currently aliased to cmd.shell to prevent breakage. Please switch to cmd.shell or set python_shell=True to avoid breakage in the future, when this aliasing is removed.
08:02 DarkKnightCZ joined #salt
08:03 MTecknology Where's the "be quiet and don't alias it" switch?
08:05 CeBe joined #salt
08:18 haam3r1 joined #salt
08:18 DEger joined #salt
08:30 sgo_ joined #salt
08:31 DEger joined #salt
08:33 hardwire joined #salt
08:49 jas02 joined #salt
09:00 netcho joined #salt
09:03 DEger joined #salt
09:04 edrocks joined #salt
09:05 s_kunk_ joined #salt
09:11 CeBe joined #salt
09:23 Rumbles joined #salt
09:25 nebuchadnezzar joined #salt
09:33 gbfdewr Can Ich use with file.managed for source "salt://git@git.example.com/user/repo.git"?
09:38 sgo_ joined #salt
09:50 jas02 joined #salt
10:00 amontalban joined #salt
10:00 amontalban joined #salt
10:06 johnkeates joined #salt
10:09 nidr0x joined #salt
10:29 sgo_ joined #salt
10:45 theblazehen_ joined #salt
10:50 tercenya joined #salt
10:51 jas02 joined #salt
10:52 amcorreia joined #salt
10:59 theblazehen_ joined #salt
11:02 ivanjaros joined #salt
11:05 mikecmpbll joined #salt
11:05 cryptolukas joined #salt
11:06 edrocks joined #salt
11:07 cryptolukas I set up an ext pillar, but I don't get pillar data back when I execute salt '*' pillar.data
11:07 cryptolukas How can I debug the problem?
11:21 whytewolf cryptolukas: check your /var/log/salt/master logs if nothing change the log level. also try forcing an update with saltutil.refresh_pillar [shouldn't be needed]
11:22 DEger joined #salt
11:46 cryptolukas I detect a problem with the root in the config from the ext_pillar. I fixed it to a existend dir in the git repo. How can I enforce the master to fetching the ext_pillar?
11:51 whytewolf https://docs.saltstack.com/en/latest/topics/development/external_pillars.html#reminder
11:51 jas02 joined #salt
11:53 XenophonF cryptolukas: hey man - sorry i was flying yesterday and missed your messages
11:53 cryptolukas no problem
11:53 cryptolukas XenophonF: I could fix it ;)
11:53 cryptolukas But the ext_pillar doens
11:53 XenophonF cryptolukas: here's my salt-master config - https://github.com/irtnog/salt-pillar-example/blob/master/salt/example/com/init.sls#L234
11:54 XenophonF i need to update it because i'm using s3fs in addition to gitfs and the regular roots fs provider
11:55 XenophonF that link also shows how i have gitpython configured
11:56 XenophonF (in case you still need that - but it sounds like you figured that bit out)
11:56 ivanjaros joined #salt
11:57 cryptolukas XenophonF: Yes Gitfs for States works fine.
11:58 cryptolukas XenophonF: Ext_pillar make problems. https://gist.github.com/LukasDoe/916fef18bc620b6c15e9afd405cf0fac
11:59 cryptolukas XenophonF: It is a good way to delete the cache folder under /var/cache?
12:02 amontalban joined #salt
12:05 cryptolukas XenophonF: That error comes in the Log "Failed to checkout master from git_pillar remote 'master git@git.example.com:lukas/salt-pillar.git': remote ref does not exist"
12:06 mpanetta joined #salt
12:09 XenophonF you can just rm -rf /var/cache/salt/master/gitfs_pillar (iirc)
12:09 XenophonF and restart the master
12:14 cryptolukas XenophonF: Yes, but I get errors :( "Failed to checkout master from git_pillar remote 'git@git.example.com:lukas/salt-pillar.git': remote ref does not exist"    https://gist.github.com/LukasDoe/91c9e6a08d6aff14779c3a81cab75c19
12:18 kevops joined #salt
12:20 XenophonF you have `git.example.com` in the error message above but a different hostname in the gist
12:21 XenophonF are you sure that you have the correct config applied to your master?
12:22 whytewolf there is also the fact the error references master, not base
12:24 whytewolf try salt-call config.get ext_pillar
12:26 netcho joined #salt
12:29 amontalban joined #salt
12:33 whytewolf cryptolukas: what is your repo name?
12:33 whytewolf error not repo but what branch should be linked to base?
12:37 jas02 joined #salt
12:40 XenophonF oh yeah, his example references a branch named "base" - does that actually exist in your repo, cryptolukas?
12:43 whytewolf actually his example doesn't reference any branch. but a subdirectory named base
12:46 XenophonF oh i assumed "root" meant branch
12:46 whytewolf nope, root is root of filesystem
12:46 XenophonF makes sense
12:52 wiqd joined #salt
12:53 gazarsgo joined #salt
12:53 bbhoss joined #salt
12:53 SteamWells joined #salt
12:53 kutenai joined #salt
12:54 CaptTofu joined #salt
12:54 imanc joined #salt
12:54 Freek joined #salt
12:54 johtso joined #salt
12:55 mihait joined #salt
12:55 moy joined #salt
12:55 bmcorser joined #salt
12:55 Awesomecase joined #salt
12:55 jas02_ joined #salt
13:08 edrocks joined #salt
13:15 t0m0 joined #salt
13:21 jas02_ joined #salt
13:23 DEger joined #salt
13:26 DarkKnightCZ joined #salt
13:30 freelock[m] joined #salt
13:41 subsignal joined #salt
13:47 ageorgop joined #salt
13:47 theblazehen joined #salt
13:56 tercenya joined #salt
13:58 jas02_ joined #salt
14:15 geomacy joined #salt
14:22 jas02 joined #salt
14:27 netcho joined #salt
14:30 sgo_ joined #salt
14:59 jas02_ joined #salt
15:05 DEger joined #salt
15:06 jas02_ joined #salt
15:10 edrocks joined #salt
15:16 jas02_ joined #salt
15:22 cryptolukas Oh ok it seems that I doesn't understand the ext_pillar configuration
15:22 catpig joined #salt
15:24 cryptolukas I have only a branch named master
15:26 cryptolukas I could fix it :)
15:26 cryptolukas It works now
15:28 XenophonF yay!
15:28 XenophonF vier gratulieren or however that's spelled
15:29 XenophonF ;)
15:29 cryptolukas Wir gratulieren ;)
15:29 XenophonF omg my spelling is so bad
15:31 cryptolukas I had googled for a additional Feature, but I don't found a documentation. I know that it works. I can store files to publish in my state git repo. How must configured the state to use the file in the git repo? I mean the state module file.managed an the key source:
15:31 cryptolukas XenophonF: You are from Netherlands?
15:31 XenophonF for states, just commit the file to the repo
15:31 XenophonF although i'm not sure how that works for large files
15:32 XenophonF that's why i combine gitfs with s3fs
15:32 XenophonF i keep large files in AWS S3
15:32 XenophonF no, I'm from the US
15:33 cryptolukas XenophonF: Ok. My buddy us it. I ask him and say you how it works ;)
15:33 dh joined #salt
15:35 XenophonF you have to set up the bucket to match your salt environments, if you use that
15:36 cryptolukas What do you mean?
15:37 XenophonF well, to keep things simple, let's say you just use the base environment
15:37 XenophonF so when you create the s3 bucket, upload things to a prefix named "base/"
15:38 cryptolukas ah ok.
15:38 XenophonF e.g., "s3://my-salt-states/base/app/dist/app-1.2.3.zip"
15:38 XenophonF which might translate into a salt URL of "salt://app/dist/app-1.2.3.zip"
15:39 cryptolukas I start to write states and pillars yesterday. I need more experience in set up a salt infra. I make a poc atm, but I want to publish salt in my infra. til this year
15:39 cryptolukas Seems like a nice feature ;)
15:40 XenophonF on the salt master, you have to add s3fs to file_roots, and you have to set s3.keyid, s3.key, and s3.buckets
15:41 XenophonF more complex setups are possible
15:41 XenophonF but for now, keep it simple :)
15:42 XenophonF hm, i haven't posted my s3fs config example to github
15:43 XenophonF i use salt-formula to manage my salt master config
15:43 XenophonF salt salts itself :)
15:43 cryptolukas at the moment it's a little bit hard for me
15:44 cryptolukas I check out the book git essentials to take in salt.
15:45 deus_ex joined #salt
15:46 XenophonF that's good
15:49 subsignal joined #salt
15:58 om2 joined #salt
16:08 mpanetta joined #salt
16:18 jas02 joined #salt
16:21 sgo_ joined #salt
16:25 DarkKnightCZ joined #salt
16:27 netcho joined #salt
16:31 justan0theruser joined #salt
16:32 systo joined #salt
16:41 impi joined #salt
16:53 krymzon joined #salt
16:59 ronnix joined #salt
17:04 west575_ joined #salt
17:04 voileux__ joined #salt
17:04 sjohnsen- joined #salt
17:05 tristianc_ joined #salt
17:06 tehsu joined #salt
17:06 netzvieh joined #salt
17:12 edrocks joined #salt
17:15 Salander27 joined #salt
17:17 jas02_ joined #salt
17:21 kaak_ joined #salt
17:22 kaak_ is it possible to have a pillar item be the contents of a file rather than in-lining the contents?
17:24 DarkKnightCZ joined #salt
17:24 babilen kaak_: There's a file_tree pillar that achieves that
17:26 kaak_ babilen, ah, thanks! I'll have a look.
17:31 jas02 joined #salt
17:46 keimlink joined #salt
17:46 DEger joined #salt
17:48 Lionel_Debroux joined #salt
17:57 Trauma joined #salt
18:28 netcho joined #salt
18:32 jas02 joined #salt
18:52 chamunks joined #salt
18:53 amontalban joined #salt
18:53 amontalban joined #salt
18:54 kiorky joined #salt
19:12 subsignal joined #salt
19:14 edrocks joined #salt
19:19 jas02_ joined #salt
19:24 keimlink joined #salt
19:26 barmaley joined #salt
19:30 DarkKnightCZ joined #salt
19:32 jas02 joined #salt
19:34 jimklo joined #salt
19:40 amontalban joined #salt
19:47 DEger joined #salt
20:04 ronnix_ joined #salt
20:05 Trauma joined #salt
20:13 DEger joined #salt
20:19 jimklo_ joined #salt
20:20 jas02_ joined #salt
20:20 jas02 joined #salt
20:21 jas02_ joined #salt
20:22 jimklo joined #salt
20:24 Criggie why do they have management access to your router?
20:24 DEger joined #salt
20:24 Criggie and if its their router, why did the visible interface change ?
20:24 Trauma joined #salt
20:25 jimklo joined #salt
20:26 jas02_ joined #salt
20:29 netcho joined #salt
20:30 mavhq joined #salt
20:34 Reverend joined #salt
20:37 jas02 joined #salt
20:38 akhter joined #salt
20:40 jas02_ joined #salt
20:40 jas02_ joined #salt
20:44 jas02_ joined #salt
20:44 jas02 joined #salt
20:47 jimklo joined #salt
20:48 jimklo joined #salt
20:50 netcho joined #salt
20:54 Derailed joined #salt
20:54 armyriad joined #salt
20:54 sebastian-w joined #salt
20:55 Trauma joined #salt
21:03 Trauma joined #salt
21:03 sgo_ joined #salt
21:10 Trauma joined #salt
21:11 netcho joined #salt
21:15 amcorreia joined #salt
21:16 edrocks joined #salt
21:17 keimlink joined #salt
21:18 Trauma joined #salt
21:25 Trauma joined #salt
21:33 lazybear joined #salt
21:44 Trauma joined #salt
21:44 jas02 joined #salt
21:50 Trauma joined #salt
21:57 kevops joined #salt
21:58 Trauma joined #salt
22:07 |aaron i have a state that uses a bunch of jinja, is there a way to see what it looks like for a given minion after the jinja is processed, without actually running it?
22:11 mpanetta joined #salt
22:21 catpig joined #salt
22:36 eseyman joined #salt
22:44 smcquay joined #salt
22:45 jas02 joined #salt
22:59 hemebond Can salt-cloud be used to provision an EC2 instance without being able to connect to it?
23:00 hemebond Even disabling bootstrapping (deploy: False) results in an error, though the instance is created.
23:01 Criggie I doubt it.
23:11 mikecmpbll joined #salt
23:18 edrocks joined #salt
23:34 dandelo_ joined #salt
23:36 daxomati1 joined #salt
23:42 hemebond Looks like it does require SSH access to do its thing; e.g., naming, tagging, etc.
23:42 hemebond Using an SSH gateway worked.
23:42 hemebond I thought salt-cloud would just be a wrapper around awscli or something and I'd be able to figure out a separate process for bootstrapping.
23:43 hemebond Looks like that's possibly not an option.
23:44 jas02_ joined #salt
23:46 jas02 joined #salt
23:47 pfallenop joined #salt
23:54 dandelo_ joined #salt
23:59 pfallenop joined #salt

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