)]}'
{"manifests/packages.pp":[{"author":{"_account_id":360,"name":"Dan Prince","email":"dprince@redhat.com","username":"dan-prince"},"change_message_id":"6be3c10b704dc6abd48473a976a2914cc4a4ecc4","unresolved":false,"context_lines":[{"line_number":69,"context_line":"    # 2) This upgrade will be run before any Service notified \u0026 managed by Puppet."},{"line_number":70,"context_line":"    #    Note: For example, during the Puppet catalog, configuration will change for most of"},{"line_number":71,"context_line":"    #          the services so the Services will be likely restarted after the package upgrade."},{"line_number":72,"context_line":"    Exec[\u0027package-upgrade\u0027] -\u003e Service \u003c| |\u003e"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"  }"},{"line_number":75,"context_line":""}],"source_content_type":"text/x-puppet","patch_set":3,"id":"da6ed579_11623e17","line":72,"updated":"2016-01-16 12:59:55.000000000","message":"I don\u0027t believe this Exec[package-upgrade] will enforce that puppet managed packages trigger notifications. I could be wrong here but we do want to handle puppet managed packages explicitly I think to ensure that they trigger the appropriate resources.","commit_id":"b307deb5de09e1349b3a9da53003bd6737474986"},{"author":{"_account_id":3153,"name":"Emilien Macchi","email":"emilien@redhat.com","username":"emilienm"},"change_message_id":"fb6580f254878449dee60ba84ead09e3cf7ab063","unresolved":false,"context_lines":[{"line_number":69,"context_line":"    # 2) This upgrade will be run before any Service notified \u0026 managed by Puppet."},{"line_number":70,"context_line":"    #    Note: For example, during the Puppet catalog, configuration will change for most of"},{"line_number":71,"context_line":"    #          the services so the Services will be likely restarted after the package upgrade."},{"line_number":72,"context_line":"    Exec[\u0027package-upgrade\u0027] -\u003e Service \u003c| |\u003e"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"  }"},{"line_number":75,"context_line":""}],"source_content_type":"text/x-puppet","patch_set":3,"id":"da6ed579_ec01cd6b","line":72,"in_reply_to":"da6ed579_11623e17","updated":"2016-01-16 14:00:33.000000000","message":"You\u0027re right, Exec[package-upgrade] won\u0027t enforce puppet managed packages to trigger service notifications.\n\nThough during an upgrade, configuration is changing and that is what will trigger the service restarts.\n\nTo me, this is acceptable, but it would need to be tested.\nThe code in place (that you wrote) is not working anyway, it leads to Puppet dependency cycles.","commit_id":"b307deb5de09e1349b3a9da53003bd6737474986"},{"author":{"_account_id":360,"name":"Dan Prince","email":"dprince@redhat.com","username":"dan-prince"},"change_message_id":"7a3daf5ed06a806710438670546dfbe702912b60","unresolved":false,"context_lines":[{"line_number":69,"context_line":"    # 2) This upgrade will be run before any Service notified \u0026 managed by Puppet."},{"line_number":70,"context_line":"    #    Note: For example, during the Puppet catalog, configuration will change for most of"},{"line_number":71,"context_line":"    #          the services so the Services will be likely restarted after the package upgrade."},{"line_number":72,"context_line":"    Exec[\u0027package-upgrade\u0027] -\u003e Service \u003c| |\u003e"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"  }"},{"line_number":75,"context_line":""}],"source_content_type":"text/x-puppet","patch_set":3,"id":"da6ed579_43b547ce","line":72,"in_reply_to":"da6ed579_ec01cd6b","updated":"2016-01-16 16:18:15.000000000","message":"Is there a unit test we could write to expose the dependency cycles that you mention.","commit_id":"b307deb5de09e1349b3a9da53003bd6737474986"}],"spec/classes/tripleo_packages_spec.rb":[{"author":{"_account_id":360,"name":"Dan Prince","email":"dprince@redhat.com","username":"dan-prince"},"change_message_id":"6be3c10b704dc6abd48473a976a2914cc4a4ecc4","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    let :pre_condition do"},{"line_number":23,"context_line":"      \""},{"line_number":24,"context_line":"      package{\u0027nova-compute\u0027: ensure \u003d\u003e present}"},{"line_number":25,"context_line":"      service{\u0027nova-compute\u0027: ensure \u003d\u003e \u0027running\u0027}"},{"line_number":26,"context_line":"      \""},{"line_number":27,"context_line":"    end"}],"source_content_type":"text/x-ruby","patch_set":3,"id":"da6ed579_718ffacc","side":"PARENT","line":24,"updated":"2016-01-16 12:59:55.000000000","message":"Could we include ::nova::compute here then. I would like our unit tests to ensure that the Nova package update does in fact trigger the nova-compute service to be restarted when we are using this new catch all Exec[package-upgrade] resource.","commit_id":"69d44747ecd9f8fb0c171a7b533f8c3a81d89c5d"}]}
