Thursday, 2018-12-06

*** schrd_ has joined #openstack-chef03:41
*** schrd has quit IRC03:45
*** schrd_ is now known as schrd03:45
openstackgerritweizj proposed openstack/cookbook-openstack-client master: Change openstack-dev to openstack-discuss  https://review.openstack.org/62280307:39
*** asidorenko has quit IRC14:30
openstackgerritMerged openstack/cookbook-openstack-client master: Change openstack-dev to openstack-discuss  https://review.openstack.org/62280314:53
*** asidorenko has joined #openstack-chef18:43
asidorenkohttps://github.com/openstack/cookbook-openstack-identity/blob/d139297cf905d6eca5638baf52a37db1da24509d/recipes/server-apache.rb#L311-L31718:43
asidorenkoI have some issues with this hack, apache gets restarted during each chef run :-D18:43
asidorenkoWithout to dive deep in, would it be a solution to have the both notifications in the each apache related resource within this recipe?18:44
asidorenkoor at least within web_app and apache_site18:45
asidorenkohttps://github.com/openstack/cookbook-openstack-identity/blob/d139297cf905d6eca5638baf52a37db1da24509d/recipes/server-apache.rb#L319-L32319:04
asidorenkoI think this is also obsolete, chef manages selinux labels by itself. Not?19:04
scasthe apache2 cookbook has received updates, so we might be able to refactor some of that out19:27
scasas far as selinux goes, that execute block is pretty old. i'm happy to review and help test any changes you propose to gerrit19:29
asidorenkoI still have issues to get to the CCLA within my org, the guy who was responsible for it left the company. And due to upcoming holiday period there is no real hope to get this point addressed, so it will time some time :(20:46
asidorenkobut I'm currently testing the ideas via delete_resource/edit_resource ways, once I get the CCLA question resovled, I'll push it upstream20:47
asidorenkobtw, funny thing, you can't use edit_resource for custom resources (e.g. web_app from apache2), as custom resources are completely expanded in the run_context during the compile phase20:49
asidorenkoeven with_run_context can't help here20:49
asidorenkobut a hack like20:49
asidorenkoruby_block 'reload apache immediately' do20:49
asidorenko  block { true }20:49
asidorenko  action :nothing20:49
asidorenko  subscribes :run, 'web_app[identity]', :immediately20:49
asidorenko  notifies :restart, 'service[apache2]', :immediately20:49
asidorenkoend20:49
asidorenkoworks wonderfull20:49
asidorenkonope, it doesn't work either. But its also doesn't raise an error....20:56
scascool. i've been more focused on the mariadb portion of things, since it needs its own fair share of work21:16

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!