)]}'
{"manifests/db.pp":[{"author":{"_account_id":7732,"name":"IvanBerezovskiy","email":"ivan.berezovskii@gmail.com","username":"iberezovskiy"},"change_message_id":"aba3d9d540325f7afc01fafb8900be7cba76c236","unresolved":false,"context_lines":[{"line_number":64,"context_line":"        require \u0027mysql::bindings\u0027"},{"line_number":65,"context_line":"        require \u0027mysql::bindings::python\u0027"},{"line_number":66,"context_line":"        if $database_connection_real \u003d~ /^mysql\\+pymysql/ {"},{"line_number":67,"context_line":"            $backend_package \u003d $::neutron::params::pymysql_package_name"},{"line_number":68,"context_line":"        } else {"},{"line_number":69,"context_line":"            $backend_package \u003d false"},{"line_number":70,"context_line":"        }"}],"source_content_type":"text/x-puppet","patch_set":5,"id":"9a8ffd7b_a9b81a76","line":67,"updated":"2015-12-02 18:35:22.000000000","message":"nit: use two spaces","commit_id":"5a1224df107bce95288eaf9c513904b1125c2fda"},{"author":{"_account_id":7732,"name":"IvanBerezovskiy","email":"ivan.berezovskii@gmail.com","username":"iberezovskiy"},"change_message_id":"aba3d9d540325f7afc01fafb8900be7cba76c236","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        if $database_connection_real \u003d~ /^mysql\\+pymysql/ {"},{"line_number":67,"context_line":"            $backend_package \u003d $::neutron::params::pymysql_package_name"},{"line_number":68,"context_line":"        } else {"},{"line_number":69,"context_line":"            $backend_package \u003d false"},{"line_number":70,"context_line":"        }"},{"line_number":71,"context_line":"      }"},{"line_number":72,"context_line":"      /^postgresql:\\/\\//: {"}],"source_content_type":"text/x-puppet","patch_set":5,"id":"9a8ffd7b_69af922a","line":69,"updated":"2015-12-02 18:35:22.000000000","message":"nit: ditto","commit_id":"5a1224df107bce95288eaf9c513904b1125c2fda"}],"manifests/params.pp":[{"author":{"_account_id":1955,"name":"Alan Pevec","email":"alan.pevec@redhat.com","username":"apevec"},"change_message_id":"3cf0013b1391b9f077e7e51baa5d5b4d3758d381","unresolved":false,"context_lines":[{"line_number":78,"context_line":"    $kernel_headers     \u003d \"linux-headers-${::kernelrelease}\""},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    $sqlite_package_name  \u003d undef"},{"line_number":81,"context_line":"    $pymysql_package_name \u003d \u0027python2-PyMySQL\u0027"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"  } elsif($::osfamily \u003d\u003d \u0027Debian\u0027) {"},{"line_number":84,"context_line":""}],"source_content_type":"text/x-puppet","patch_set":1,"id":"da85f559_cce707ab","line":81,"updated":"2015-11-13 23:07:52.000000000","message":"Puppet (still) cannot handle RPM Provides ??","commit_id":"db43da93bd55682876892712d960c8d5baec3458"},{"author":{"_account_id":7732,"name":"IvanBerezovskiy","email":"ivan.berezovskii@gmail.com","username":"iberezovskiy"},"change_message_id":"2c5704f0ceef5792621a42dc090710690f56d5b2","unresolved":false,"context_lines":[{"line_number":78,"context_line":"    $kernel_headers     \u003d \"linux-headers-${::kernelrelease}\""},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    $sqlite_package_name  \u003d undef"},{"line_number":81,"context_line":"    $pymysql_package_name \u003d undef"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"  } elsif($::osfamily \u003d\u003d \u0027Debian\u0027) {"},{"line_number":84,"context_line":""}],"source_content_type":"text/x-puppet","patch_set":2,"id":"ba8a016a_2aa3d09e","line":81,"updated":"2015-11-18 13:04:31.000000000","message":"python2-PyMySQL","commit_id":"2065a34cdfafc5b058103da33d8ef8c7a7156e39"},{"author":{"_account_id":13294,"name":"Javier Peña","email":"jpena@redhat.com","username":"jpena"},"change_message_id":"96b48b9e2c4d05667bbd21d52295349c22f4edad","unresolved":false,"context_lines":[{"line_number":78,"context_line":"    $kernel_headers     \u003d \"linux-headers-${::kernelrelease}\""},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    $sqlite_package_name  \u003d undef"},{"line_number":81,"context_line":"    $pymysql_package_name \u003d undef"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"  } elsif($::osfamily \u003d\u003d \u0027Debian\u0027) {"},{"line_number":84,"context_line":""}],"source_content_type":"text/x-puppet","patch_set":2,"id":"ba8a016a_5dd4dcbb","line":81,"in_reply_to":"ba8a016a_2aa3d09e","updated":"2015-11-18 13:24:13.000000000","message":"Please see comment in patch set, there was a reason for this.","commit_id":"2065a34cdfafc5b058103da33d8ef8c7a7156e39"}],"spec/classes/neutron_db_spec.rb":[{"author":{"_account_id":7732,"name":"IvanBerezovskiy","email":"ivan.berezovskii@gmail.com","username":"iberezovskiy"},"change_message_id":"1ab4de289ef9fbefae57cd458f25bab79f2204ec","unresolved":false,"context_lines":[{"line_number":86,"context_line":"      end"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"      it { is_expected.to contain_neutron_config(\u0027database/connection\u0027).with_value(\u0027mysql+pymysql://neutron:neutron@localhost/neutron\u0027).with_secret(true) }"},{"line_number":89,"context_line":"      it { is_expected.to contain_package(\u0027neutron-backend-package\u0027).with({ :ensure \u003d\u003e \u0027present\u0027, :name \u003d\u003e platform_params[:pymysql_package_name] }) }"},{"line_number":90,"context_line":"    end"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"  end"}],"source_content_type":"text/x-ruby","patch_set":4,"id":"9a8ffd7b_b571e8e2","line":89,"updated":"2015-11-24 11:45:46.000000000","message":"it is already covered in \u0027with specific parameters\u0027 context, isn\u0027t? I think you can add package check to that context and that\u0027s it","commit_id":"da788ab29c8ed300d7142423e417cc8300bb07c7"},{"author":{"_account_id":13294,"name":"Javier Peña","email":"jpena@redhat.com","username":"jpena"},"change_message_id":"a50b3f38fdcb3f12fe25e671915cb3abdb9e28bb","unresolved":false,"context_lines":[{"line_number":86,"context_line":"      end"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"      it { is_expected.to contain_neutron_config(\u0027database/connection\u0027).with_value(\u0027mysql+pymysql://neutron:neutron@localhost/neutron\u0027).with_secret(true) }"},{"line_number":89,"context_line":"      it { is_expected.to contain_package(\u0027neutron-backend-package\u0027).with({ :ensure \u003d\u003e \u0027present\u0027, :name \u003d\u003e platform_params[:pymysql_package_name] }) }"},{"line_number":90,"context_line":"    end"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"  end"}],"source_content_type":"text/x-ruby","patch_set":4,"id":"9a8ffd7b_bb7465cf","line":89,"in_reply_to":"9a8ffd7b_424b175a","updated":"2015-11-24 16:43:56.000000000","message":"This is what I was trying to explain in the previous message. It is very likely that for RHEL the package will not be named \u0027python2-PyMySQL\u0027 but \u0027python-PyMySQL\u0027, so we could have a conflict here between the CentOS-provided package and the RHEL-provided one.\n\nThe conflict is not a real issue when using yum, because the python2-PyMySQL RPM provides \u0027python-PyMySQL\u0027, however with the Puppet yum provider this behaviour needs to be explicitly enabled by setting allow_virtual \u003d\u003e true, and this only works on Puppet 3.6 and later.\n\nSetting pymysql_package_name to undef avoids the issue, and leaves the burden for the packager. In both CentOS and RHEL, this should be a non-issue, because the OpenStack API services depend on python-oslo-db, which in turn depends on python-PyMySQL (be it provided by a package with the same name or by python2-PyMySQL).\n\nI\u0027m ok with setting the variable to python2-PyMySQL, but this will surely bring another batch of changes in the near future to accommodate to the RHEL package naming.","commit_id":"da788ab29c8ed300d7142423e417cc8300bb07c7"},{"author":{"_account_id":7732,"name":"IvanBerezovskiy","email":"ivan.berezovskii@gmail.com","username":"iberezovskiy"},"change_message_id":"1fc3a65b23baa7952993d6ac3aff854d99d9ae08","unresolved":false,"context_lines":[{"line_number":86,"context_line":"      end"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"      it { is_expected.to contain_neutron_config(\u0027database/connection\u0027).with_value(\u0027mysql+pymysql://neutron:neutron@localhost/neutron\u0027).with_secret(true) }"},{"line_number":89,"context_line":"      it { is_expected.to contain_package(\u0027neutron-backend-package\u0027).with({ :ensure \u003d\u003e \u0027present\u0027, :name \u003d\u003e platform_params[:pymysql_package_name] }) }"},{"line_number":90,"context_line":"    end"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"  end"}],"source_content_type":"text/x-ruby","patch_set":4,"id":"9a8ffd7b_424b175a","line":89,"in_reply_to":"9a8ffd7b_633f4a26","updated":"2015-11-24 14:42:34.000000000","message":"For Red Hat platforms \u0027pymysql_package_name\u0027 is set to undef, but it should be \u0027python2-PyMySQL\u0027. Please update params and test","commit_id":"da788ab29c8ed300d7142423e417cc8300bb07c7"},{"author":{"_account_id":13294,"name":"Javier Peña","email":"jpena@redhat.com","username":"jpena"},"change_message_id":"9f867cfbe1177bb5944be4c39ef1bc94494eb360","unresolved":false,"context_lines":[{"line_number":86,"context_line":"      end"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"      it { is_expected.to contain_neutron_config(\u0027database/connection\u0027).with_value(\u0027mysql+pymysql://neutron:neutron@localhost/neutron\u0027).with_secret(true) }"},{"line_number":89,"context_line":"      it { is_expected.to contain_package(\u0027neutron-backend-package\u0027).with({ :ensure \u003d\u003e \u0027present\u0027, :name \u003d\u003e platform_params[:pymysql_package_name] }) }"},{"line_number":90,"context_line":"    end"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"  end"}],"source_content_type":"text/x-ruby","patch_set":4,"id":"9a8ffd7b_633f4a26","line":89,"in_reply_to":"9a8ffd7b_b571e8e2","updated":"2015-11-24 12:11:07.000000000","message":"I moved this check to be platform-specific, because in this case I am only setting the package name for Debian platforms. If I moved it to the \u0027with specific parameters\u0027 context, it would fail for Red Hat platforms.\n\nSome more context is given in my comment for patch set 2. Actually, I did this on this patch as a test to gather feedback, and if it was positive I\u0027d move the change to all related patches.","commit_id":"da788ab29c8ed300d7142423e417cc8300bb07c7"},{"author":{"_account_id":7732,"name":"IvanBerezovskiy","email":"ivan.berezovskii@gmail.com","username":"iberezovskiy"},"change_message_id":"07d494e984da830212b6caacd2106cdc5b195752","unresolved":false,"context_lines":[{"line_number":86,"context_line":"      end"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"      it { is_expected.to contain_neutron_config(\u0027database/connection\u0027).with_value(\u0027mysql+pymysql://neutron:neutron@localhost/neutron\u0027).with_secret(true) }"},{"line_number":89,"context_line":"      it { is_expected.to contain_package(\u0027neutron-backend-package\u0027).with({ :ensure \u003d\u003e \u0027present\u0027, :name \u003d\u003e platform_params[:pymysql_package_name] }) }"},{"line_number":90,"context_line":"    end"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"  end"}],"source_content_type":"text/x-ruby","patch_set":4,"id":"9a8ffd7b_eae0affc","line":89,"in_reply_to":"9a8ffd7b_bb7465cf","updated":"2015-11-25 11:05:35.000000000","message":"Thank you for detailed description. Now it\u0027s clear for me. So, we need to fix all another our patches to avoid this package naming problem.","commit_id":"da788ab29c8ed300d7142423e417cc8300bb07c7"},{"author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"change_message_id":"1d006929296020c6edb8ecb3b45f4b101609171d","unresolved":false,"context_lines":[{"line_number":34,"context_line":"    context \u0027with MySQL-python library as backend package\u0027 do"},{"line_number":35,"context_line":"      let :params do"},{"line_number":36,"context_line":"        { :database_connection \u003d\u003e \u0027mysql://neutron:neutron@localhost/neutron\u0027 }"},{"line_number":37,"context_line":"      end"},{"line_number":38,"context_line":"    end"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    context \u0027with postgresql backend\u0027 do"}],"source_content_type":"text/x-ruby","patch_set":5,"id":"9a8ffd7b_6a71bb0b","line":37,"updated":"2015-12-02 21:01:55.000000000","message":"This needs an \u0027it\u0027 clause to assert something.","commit_id":"5a1224df107bce95288eaf9c513904b1125c2fda"}]}
