Perl 6 - the future is here, just unevenly distributed

IRC log for #puppet-openstack, 2017-05-31

| Channels | #puppet-openstack index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:27 ansmith joined #puppet-openstack
00:47 markvoelker joined #puppet-openstack
01:02 vnogin joined #puppet-openstack
01:16 markvoelker_ joined #puppet-openstack
01:23 markvoelker joined #puppet-openstack
02:23 jaganathan joined #puppet-openstack
03:15 openstackgerrit zhongshengping proposed openstack/puppet-cinder master: Fix unit test  https://review.openstack.org/467832
03:26 udesale joined #puppet-openstack
03:31 udesale joined #puppet-openstack
03:41 ratailor joined #puppet-openstack
04:13 jaosorior joined #puppet-openstack
04:48 udesale joined #puppet-openstack
04:50 _ody joined #puppet-openstack
05:18 jaganathan joined #puppet-openstack
05:23 karthiks joined #puppet-openstack
05:50 openstackgerrit Merged openstack/puppet-nova stable/newton: Update 9.5.4  https://review.openstack.org/469237
05:50 yprokule joined #puppet-openstack
06:02 karthiks joined #puppet-openstack
06:06 openstackgerrit zhongshengping proposed openstack/puppet-neutron master: Switch to wsgi with apache starting neutron-server  https://review.openstack.org/469337
06:10 rcernin joined #puppet-openstack
06:17 jaosorior joined #puppet-openstack
06:33 dgurtner joined #puppet-openstack
06:33 dgurtner joined #puppet-openstack
06:39 skramaja joined #puppet-openstack
06:44 basilAB joined #puppet-openstack
06:53 tesseract joined #puppet-openstack
06:54 shardy joined #puppet-openstack
07:00 bogdando joined #puppet-openstack
07:03 jaganathan joined #puppet-openstack
07:08 openstackgerrit Merged openstack/puppet-gnocchi stable/ocata: Add metric_processing_delay param  https://review.openstack.org/469223
07:18 chem joined #puppet-openstack
07:26 EmilienM hellow
07:30 amoralej hi EmilienM
07:31 vnogin joined #puppet-openstack
07:32 jaganathan joined #puppet-openstack
07:40 hjensas joined #puppet-openstack
07:40 hjensas joined #puppet-openstack
07:40 qwerty joined #puppet-openstack
07:56 jpich joined #puppet-openstack
08:03 ccamacho joined #puppet-openstack
08:20 fxpester joined #puppet-openstack
08:21 skramaja_ joined #puppet-openstack
08:42 jaganathan joined #puppet-openstack
08:43 danpawlik Good morning everyone!
08:43 rmart04 joined #puppet-openstack
08:44 derekh joined #puppet-openstack
08:52 udesale__ joined #puppet-openstack
08:53 rmart04_ joined #puppet-openstack
08:56 strigazi_ joined #puppet-openstack
08:59 rasca_ joined #puppet-openstack
09:00 dtantsur_ joined #puppet-openstack
09:00 radez` joined #puppet-openstack
09:04 jistr joined #puppet-openstack
09:05 skramaja joined #puppet-openstack
09:06 b3nt_pin joined #puppet-openstack
09:08 sileht joined #puppet-openstack
09:09 mkarpin joined #puppet-openstack
09:10 sileht joined #puppet-openstack
09:13 salmankhan joined #puppet-openstack
09:31 openstackgerrit Emilien Macchi proposed openstack/puppet-nova master: nova/wsgi: change script path  https://review.openstack.org/465153
09:31 openstackgerrit Emilien Macchi proposed openstack/puppet-openstack-integration master: Revert "Stop deploying Nova API in WSGI with Apache"  https://review.openstack.org/462281
09:58 jaganathan joined #puppet-openstack
10:21 jaganathan joined #puppet-openstack
10:22 salmankhan joined #puppet-openstack
11:14 openstackgerrit Merged openstack/puppet-swift stable/ocata: Add support for ignore_projects for ceilometer events  https://review.openstack.org/469212
11:18 pradk joined #puppet-openstack
11:40 social joined #puppet-openstack
11:47 salmankhan joined #puppet-openstack
12:02 morazi joined #puppet-openstack
12:06 jaganathan joined #puppet-openstack
12:18 openstackgerrit Alex Schultz proposed openstack/puppet-cinder master: Align stars, fix CI  https://review.openstack.org/469276
12:29 dprince joined #puppet-openstack
12:41 ansmith joined #puppet-openstack
12:50 openstackgerrit Merged openstack/puppet-neutron master: server: fix wrong puppet syntax for resource collector  https://review.openstack.org/469246
13:05 dpawlik joined #puppet-openstack
13:33 openstackgerrit Emilien Macchi proposed openstack/puppet-openstack-integration master: WIP - Add support to test Puppet 5  https://review.openstack.org/469482
13:34 alee joined #puppet-openstack
13:35 openstackgerrit Emilien Macchi proposed openstack/puppet-openstack-integration master: WIP - Add support to test Puppet 5  https://review.openstack.org/469482
13:39 dfisher joined #puppet-openstack
13:44 rmart04_ joined #puppet-openstack
13:50 openstackgerrit Emilien Macchi proposed openstack/puppet-openstack-integration master: WIP - Add support to test Puppet 5  https://review.openstack.org/469482
14:02 mgagne has anyone used and tested Puppet type hint? I'm having an issue where an Integer parameter fails if I use fact interpolation in Hiera and this fact needs to be an Integer. For instance: foobar::wsgi_processes: '%{::processorcount}'
14:02 rmart04 joined #puppet-openstack
14:02 mgagne you can't interpolate fact without quotes but using quotes casts the value to String
14:02 mwhahaha :(
14:03 mwhahaha You could do Variable[Integer, String]
14:03 mgagne hilarious, isn't it? =)
14:03 mwhahaha i think that's the syntax
14:03 mwhahaha it would limit it to either string or integer
14:03 mgagne Variant*
14:03 mwhahaha yea that
14:04 mgagne yes but I would need to still validate later and also make it to "always" accept String/Integer to support the case where people uses fact interpolation in Hiera...
14:04 mwhahaha and there inlies the problem with hiera :(
14:04 mgagne :D
14:04 * mwhahaha pokes Hunner
14:05 mgagne so I'm a bit sad to reach an edge case that looks to not be supported
14:05 mgagne or thoroughly tested
14:05 mwhahaha i don't like the typing with hiera because of this
14:05 mwhahaha there's no like hiera_int() function
14:06 mwhahaha and it's even worse in the data lookup like you're using
14:07 mgagne ok so no known solution as of now (except Variant[String, Integer]) =)
14:09 mwhahaha ya
14:09 mwhahaha it'
14:09 mwhahaha it's a problem we would also face in tripleo because heat likes to convert stuff to strings as well
14:10 mwhahaha seems like you always end up having to do Variant[String, <something>] unless it's being consumed only in puppet
14:54 agrebennikov joined #puppet-openstack
15:02 Topic for #puppet-openstack is now CI Status: ORANGE - github is having random networking issues | Puppet OpenStack modules http://docs.openstack.org/developer/puppet-openstack-guide/
15:58 rmart04 joined #puppet-openstack
16:46 rcernin joined #puppet-openstack
17:03 Hunner sup
17:03 mwhahaha Hunner: how does one do proper data typing in hiera?
17:04 Hunner oh, I see a bool2num() but no string2num() in stdlib
17:04 Hunner hiera should handle whatever data types the backend returns, but I think the problem you see is the string interpolation in the yaml backend is for strings
17:05 Hunner eg, if you did foobar::wsgi_processes: 5 it would be an int
17:05 mwhahaha yea vs foobar::wsgi_processes: "5" which would be a string
17:05 Hunner So I was looking for a way to cast in puppet, and the only thing that comes to mind is the stdlib functions of x2y()
17:06 mwhahaha yea we've also hit that in tripleo where we're doing the 0 + hiera('thing') to convert it
17:06 mwhahaha which is annoying (and lame)
17:07 Hunner yeah, I can't think of casting in puppet :(
17:07 mwhahaha yet you can add type restrictions
17:07 mwhahaha ...
17:43 vnogin joined #puppet-openstack
17:51 vnogin joined #puppet-openstack
18:12 alee joined #puppet-openstack
18:25 Hunner mwhahaha: https://docs.puppet.com/puppet/4.10/lang_data_number.html#converting-strings-to-numbers
18:25 Hunner we do have casting :)
18:25 Hunner (like Integer("1"))
18:28 mwhahaha Hunner: does that work in params like Integer(heira('foo'))?
18:38 Hunner I bet so
18:54 alee joined #puppet-openstack
18:54 Hunner mwhahaha: also, https://docs.puppet.com/puppet/4.10/function.html#creating-a-semver
19:00 mwhahaha interesting
19:35 salmankhan joined #puppet-openstack
20:22 rcernin joined #puppet-openstack
20:42 alee joined #puppet-openstack
20:42 salmankhan joined #puppet-openstack
21:45 rodrigopaiva joined #puppet-openstack
22:26 rpittau joined #puppet-openstack
23:08 rwsu joined #puppet-openstack

| Channels | #puppet-openstack index | Today | | Search | Google Search | Plain-Text | summary