)]}'
{"manifests/inspector.pp":[{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"bd97ac53cd7ed594ded6df12aa43543b21faed95","unresolved":false,"context_lines":[{"line_number":226,"context_line":"      exec { \u0027test BIOS iPXE image present\u0027:"},{"line_number":227,"context_line":"        path \u003d\u003e \u0027/tftpboot/undionly.kpxe\u0027,"},{"line_number":228,"context_line":"        command \u003d\u003e \u0027test -f \u003cpath\u003e\u0027"},{"line_number":229,"context_line":"      }"},{"line_number":230,"context_line":"      if $enable_uefi {"},{"line_number":231,"context_line":"        exec { \u0027test UEFI iPXE image present\u0027:"},{"line_number":232,"context_line":"          path \u003d\u003e \u0027/tftpboot/ipxe.efi\u0027,"}],"source_content_type":"text/x-puppet","patch_set":1,"id":"9a061dce_c0646b23","line":229,"updated":"2016-04-06 21:57:54.000000000","message":"I don\u0027t think file has a noop option. And we\u0027re using this as a check/fail if the file is not present","commit_id":"2d9459c3a73fbbe0982427e4a82a4564f53eea60"},{"author":{"_account_id":20378,"name":"Trevor McCasland","email":"TM2086@att.com","username":"twm2016"},"change_message_id":"92e1deec7f234c942ae2731a0f5f1c90c0545467","unresolved":false,"context_lines":[{"line_number":223,"context_line":"      require \u003d\u003e Package[\u0027ironic-inspector\u0027],"},{"line_number":224,"context_line":"    }"},{"line_number":225,"context_line":"    if $test_ipxe_images_present {"},{"line_number":226,"context_line":"      exec { \u0027test BIOS iPXE image present\u0027:"},{"line_number":227,"context_line":"        path \u003d\u003e \u0027/tftpboot/undionly.kpxe\u0027,"},{"line_number":228,"context_line":"        command \u003d\u003e \u0027test -f \u003cpath\u003e\u0027"},{"line_number":229,"context_line":"      }"},{"line_number":230,"context_line":"      if $enable_uefi {"},{"line_number":231,"context_line":"        exec { \u0027test UEFI iPXE image present\u0027:"},{"line_number":232,"context_line":"          path \u003d\u003e \u0027/tftpboot/ipxe.efi\u0027,"}],"source_content_type":"text/x-puppet","patch_set":1,"id":"9a061dce_bd052312","line":229,"range":{"start_line":226,"start_character":6,"end_line":229,"end_character":7},"updated":"2016-04-06 19:23:34.000000000","message":"Would it be better to do this instead?\n\n\nfile {\u0027/tftpboot/undionly.kpxe\u0027:\n  ensure \u003d\u003e \u0027file\u0027,\n  noop \u003d\u003e \u0027true\u0027,       \n}","commit_id":"2d9459c3a73fbbe0982427e4a82a4564f53eea60"},{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"a076f6eb959bb843beffb8f78ba67c51851cfdee","unresolved":false,"context_lines":[{"line_number":226,"context_line":"      exec { \u0027test BIOS iPXE image present\u0027:"},{"line_number":227,"context_line":"        path \u003d\u003e \u0027/tftpboot/undionly.kpxe\u0027,"},{"line_number":228,"context_line":"        command \u003d\u003e \u0027test -f \u003cpath\u003e\u0027"},{"line_number":229,"context_line":"      }"},{"line_number":230,"context_line":"      if $enable_uefi {"},{"line_number":231,"context_line":"        exec { \u0027test UEFI iPXE image present\u0027:"},{"line_number":232,"context_line":"          path \u003d\u003e \u0027/tftpboot/ipxe.efi\u0027,"}],"source_content_type":"text/x-puppet","patch_set":1,"id":"9a061dce_1853613a","line":229,"in_reply_to":"9a061dce_16718976","updated":"2016-04-07 10:32:44.000000000","message":"Alex: file doesn\u0027t have a noop option itself, but you can apply the noop metaparameter to file resources: https://docs.puppetlabs.com/puppet/latest/reference/metaparameter.html#noop","commit_id":"2d9459c3a73fbbe0982427e4a82a4564f53eea60"},{"author":{"_account_id":7745,"name":"Denis Egorenko","email":"degorenko@mirantis.com","username":"degorenko"},"change_message_id":"dc029970385241f095af3582a65cfd1f9965d400","unresolved":false,"context_lines":[{"line_number":226,"context_line":"      exec { \u0027test BIOS iPXE image present\u0027:"},{"line_number":227,"context_line":"        path \u003d\u003e \u0027/tftpboot/undionly.kpxe\u0027,"},{"line_number":228,"context_line":"        command \u003d\u003e \u0027test -f \u003cpath\u003e\u0027"},{"line_number":229,"context_line":"      }"},{"line_number":230,"context_line":"      if $enable_uefi {"},{"line_number":231,"context_line":"        exec { \u0027test UEFI iPXE image present\u0027:"},{"line_number":232,"context_line":"          path \u003d\u003e \u0027/tftpboot/ipxe.efi\u0027,"}],"source_content_type":"text/x-puppet","patch_set":1,"id":"9a061dce_d86d64cd","line":229,"in_reply_to":"9a061dce_1853613a","updated":"2016-04-07 10:57:12.000000000","message":"path - is not path to file: https://docs.puppetlabs.com/puppet/latest/reference/type.html#exec-attribute-path\n\nyou can simply use:\n\n $bios_ipxe_file \u003d \u0027/tftpboot/undionly.kpxe\u0027\n exec { \u0027test BIOS iPXE image is present\u0027:\n    path    \u003d\u003e \u0027/usr/bin/\u0027,\n    command \u003d\u003e \"test -f ${bios_ipxe_file}\"\n }","commit_id":"2d9459c3a73fbbe0982427e4a82a4564f53eea60"},{"author":{"_account_id":20378,"name":"Trevor McCasland","email":"TM2086@att.com","username":"twm2016"},"change_message_id":"0d1daefafbd9ca5750c9c9b266d8642a10b74bd5","unresolved":false,"context_lines":[{"line_number":226,"context_line":"      exec { \u0027test BIOS iPXE image present\u0027:"},{"line_number":227,"context_line":"        path \u003d\u003e \u0027/tftpboot/undionly.kpxe\u0027,"},{"line_number":228,"context_line":"        command \u003d\u003e \u0027test -f \u003cpath\u003e\u0027"},{"line_number":229,"context_line":"      }"},{"line_number":230,"context_line":"      if $enable_uefi {"},{"line_number":231,"context_line":"        exec { \u0027test UEFI iPXE image present\u0027:"},{"line_number":232,"context_line":"          path \u003d\u003e \u0027/tftpboot/ipxe.efi\u0027,"}],"source_content_type":"text/x-puppet","patch_set":1,"id":"9a061dce_db145a4e","line":229,"in_reply_to":"9a061dce_c0646b23","updated":"2016-04-06 22:33:44.000000000","message":"Oh I see, if the command fails you want the output logged at the err log level. I was just trying to say that using an external command wasn\u0027t necessary to do the file check but if you want logging this may be the easiest way.","commit_id":"2d9459c3a73fbbe0982427e4a82a4564f53eea60"},{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"0d5a8706609a4dc2e2d5b8b7161e64da80163c2d","unresolved":false,"context_lines":[{"line_number":226,"context_line":"      exec { \u0027test BIOS iPXE image present\u0027:"},{"line_number":227,"context_line":"        path \u003d\u003e \u0027/tftpboot/undionly.kpxe\u0027,"},{"line_number":228,"context_line":"        command \u003d\u003e \u0027test -f \u003cpath\u003e\u0027"},{"line_number":229,"context_line":"      }"},{"line_number":230,"context_line":"      if $enable_uefi {"},{"line_number":231,"context_line":"        exec { \u0027test UEFI iPXE image present\u0027:"},{"line_number":232,"context_line":"          path \u003d\u003e \u0027/tftpboot/ipxe.efi\u0027,"}],"source_content_type":"text/x-puppet","patch_set":1,"id":"9a061dce_16718976","line":229,"in_reply_to":"9a061dce_db145a4e","updated":"2016-04-06 22:45:58.000000000","message":"Oh yea it shouldn\u0027t be \u003cpath\u003e it should be the actual file path. And this also needs an unless \u003d\u003e \u0027test -f /tftpboot/undionly.pkxe\u0027  for idempotency.\n\n  $bios_ipxe_file \u003d \u0027/tftpboot/undionly.kpxe\u0027\n  exec { \u0027test BIOS iPXE image is present\u0027:\n    path    \u003d\u003e $bios_ipxe_file,\n    command \u003d\u003e \"test -f ${bios_ipxe_file}\"\n    unless  \u003d\u003e \"test -f ${bios_ipxe_file}\"\n  }\n\nIt\u0027ll make it idempotent since we don\u0027t necessarily want to run this every puppet run.","commit_id":"2d9459c3a73fbbe0982427e4a82a4564f53eea60"},{"author":{"_account_id":20378,"name":"Trevor McCasland","email":"TM2086@att.com","username":"twm2016"},"change_message_id":"92e1deec7f234c942ae2731a0f5f1c90c0545467","unresolved":false,"context_lines":[{"line_number":228,"context_line":"        command \u003d\u003e \u0027test -f \u003cpath\u003e\u0027"},{"line_number":229,"context_line":"      }"},{"line_number":230,"context_line":"      if $enable_uefi {"},{"line_number":231,"context_line":"        exec { \u0027test UEFI iPXE image present\u0027:"},{"line_number":232,"context_line":"          path \u003d\u003e \u0027/tftpboot/ipxe.efi\u0027,"},{"line_number":233,"context_line":"          command \u003d\u003e \u0027test -f \u003cpath\u003e\u0027"},{"line_number":234,"context_line":"        }"},{"line_number":235,"context_line":"      }"},{"line_number":236,"context_line":"    }"}],"source_content_type":"text/x-puppet","patch_set":1,"id":"9a061dce_fd22fba1","line":233,"range":{"start_line":231,"start_character":8,"end_line":233,"end_character":37},"updated":"2016-04-06 19:23:34.000000000","message":"Same here but \n\nfile {\u0027/tftpboot/ipxe.efi\u0027:\n  ensure \u003d\u003e \u0027file\u0027,\n  noop \u003d\u003e \u0027true\u0027,       \n}","commit_id":"2d9459c3a73fbbe0982427e4a82a4564f53eea60"},{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"0d5a8706609a4dc2e2d5b8b7161e64da80163c2d","unresolved":false,"context_lines":[{"line_number":230,"context_line":"      if $enable_uefi {"},{"line_number":231,"context_line":"        exec { \u0027test UEFI iPXE image present\u0027:"},{"line_number":232,"context_line":"          path \u003d\u003e \u0027/tftpboot/ipxe.efi\u0027,"},{"line_number":233,"context_line":"          command \u003d\u003e \u0027test -f \u003cpath\u003e\u0027"},{"line_number":234,"context_line":"        }"},{"line_number":235,"context_line":"      }"},{"line_number":236,"context_line":"    }"}],"source_content_type":"text/x-puppet","patch_set":1,"id":"9a061dce_3622cd52","line":233,"range":{"start_line":233,"start_character":30,"end_line":233,"end_character":36},"updated":"2016-04-06 22:45:58.000000000","message":"same as previous, should be the actual path and you need an unless for idempotency","commit_id":"2d9459c3a73fbbe0982427e4a82a4564f53eea60"},{"author":{"_account_id":7745,"name":"Denis Egorenko","email":"degorenko@mirantis.com","username":"degorenko"},"change_message_id":"dc029970385241f095af3582a65cfd1f9965d400","unresolved":false,"context_lines":[{"line_number":230,"context_line":"      if $enable_uefi {"},{"line_number":231,"context_line":"        exec { \u0027test UEFI iPXE image present\u0027:"},{"line_number":232,"context_line":"          path \u003d\u003e \u0027/tftpboot/ipxe.efi\u0027,"},{"line_number":233,"context_line":"          command \u003d\u003e \u0027test -f \u003cpath\u003e\u0027"},{"line_number":234,"context_line":"        }"},{"line_number":235,"context_line":"      }"},{"line_number":236,"context_line":"    }"}],"source_content_type":"text/x-puppet","patch_set":1,"id":"9a061dce_5862f4d8","line":233,"range":{"start_line":233,"start_character":30,"end_line":233,"end_character":36},"in_reply_to":"9a061dce_3622cd52","updated":"2016-04-07 10:57:12.000000000","message":"same","commit_id":"2d9459c3a73fbbe0982427e4a82a4564f53eea60"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"90dd28d538455070e77d71db5368876d23dd3b89","unresolved":false,"context_lines":[{"line_number":175,"context_line":"  $ramdisk_collectors              \u003d \u0027default\u0027,"},{"line_number":176,"context_line":"  $additional_processing_hooks     \u003d undef,"},{"line_number":177,"context_line":"  $ramdisk_kernel_args             \u003d undef,"},{"line_number":178,"context_line":"  $test_ipxe_images_present        \u003d true,"},{"line_number":179,"context_line":") {"},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"  include ::ironic::params"}],"source_content_type":"text/x-puppet","patch_set":2,"id":"9a061dce_0efdd6b3","line":178,"range":{"start_line":178,"start_character":8,"end_line":178,"end_character":13},"updated":"2016-04-07 11:32:17.000000000","message":"what about s/ipxe/boot/? we can start doing the same for TFTP and /tftpboot/pxelinux.0 later on.","commit_id":"93ecd62809bf1a03f6f21f75b7e56d31ca2b90dc"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"00fc38ced8a044f35ef818632da1fe8e1521afdf","unresolved":false,"context_lines":[{"line_number":175,"context_line":"  $ramdisk_collectors              \u003d \u0027default\u0027,"},{"line_number":176,"context_line":"  $additional_processing_hooks     \u003d undef,"},{"line_number":177,"context_line":"  $ramdisk_kernel_args             \u003d undef,"},{"line_number":178,"context_line":"  $test_ipxe_images_present        \u003d true,"},{"line_number":179,"context_line":") {"},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"  include ::ironic::params"}],"source_content_type":"text/x-puppet","patch_set":2,"id":"9a061dce_eea18295","line":178,"range":{"start_line":178,"start_character":8,"end_line":178,"end_character":13},"in_reply_to":"9a061dce_0efdd6b3","updated":"2016-04-07 11:33:43.000000000","message":"actually, in the next patch we remove this option, which is a breaking change. I don\u0027t think we need it, provided that we have enable_uefi option. Lets just make checks unconditional.","commit_id":"93ecd62809bf1a03f6f21f75b7e56d31ca2b90dc"},{"author":{"_account_id":7745,"name":"Denis Egorenko","email":"degorenko@mirantis.com","username":"degorenko"},"change_message_id":"52abfc5b3e39c32379c09e96f2983d83ff01d6d1","unresolved":false,"context_lines":[{"line_number":227,"context_line":"      exec { \u0027test BIOS iPXE image present\u0027:"},{"line_number":228,"context_line":"        path    \u003d\u003e \u0027/bin:/usr/bin\u0027,"},{"line_number":229,"context_line":"        command \u003d\u003e \"test -f ${bios_ipxe_file}\","},{"line_number":230,"context_line":"        unless  \u003d\u003e \"test -f ${bios_ipxe_file}\""},{"line_number":231,"context_line":"      }"},{"line_number":232,"context_line":"      if $enable_uefi {"},{"line_number":233,"context_line":"        $uefi_ipxe_file \u003d \u0027/tftpboot/ipxe.efi\u0027"}],"source_content_type":"text/x-puppet","patch_set":2,"id":"9a061dce_cec91eae","line":230,"updated":"2016-04-07 11:29:29.000000000","message":"no need to use unless","commit_id":"93ecd62809bf1a03f6f21f75b7e56d31ca2b90dc"},{"author":{"_account_id":7745,"name":"Denis Egorenko","email":"degorenko@mirantis.com","username":"degorenko"},"change_message_id":"52abfc5b3e39c32379c09e96f2983d83ff01d6d1","unresolved":false,"context_lines":[{"line_number":234,"context_line":"        exec { \u0027test UEFI iPXE image present\u0027:"},{"line_number":235,"context_line":"          path    \u003d\u003e \u0027/bin:/usr/bin\u0027,"},{"line_number":236,"context_line":"          command \u003d\u003e \"test -f ${uefi_ipxe_file}\","},{"line_number":237,"context_line":"          unless  \u003d\u003e \"test -f ${uefi_ipxe_file}\""},{"line_number":238,"context_line":"        }"},{"line_number":239,"context_line":"      }"},{"line_number":240,"context_line":"    }"}],"source_content_type":"text/x-puppet","patch_set":2,"id":"9a061dce_0ec836a5","line":237,"updated":"2016-04-07 11:29:29.000000000","message":"same","commit_id":"93ecd62809bf1a03f6f21f75b7e56d31ca2b90dc"},{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"fb7225bc6c1890de4f3b3c470de64f024aaa4606","unresolved":false,"context_lines":[{"line_number":228,"context_line":"    $bios_ipxe_file \u003d \u0027/tftpboot/undionly.kpxe\u0027"},{"line_number":229,"context_line":"    exec { \u0027test BIOS iPXE image present\u0027:"},{"line_number":230,"context_line":"      path    \u003d\u003e \u0027/bin:/usr/bin\u0027,"},{"line_number":231,"context_line":"      command \u003d\u003e \"test -f ${bios_ipxe_file}\","},{"line_number":232,"context_line":"    }"},{"line_number":233,"context_line":"    if $enable_uefi {"},{"line_number":234,"context_line":"      $uefi_ipxe_file \u003d \u0027/tftpboot/ipxe.efi\u0027"}],"source_content_type":"text/x-puppet","patch_set":4,"id":"9a061dce_966610eb","line":231,"updated":"2016-04-07 14:32:04.000000000","message":"we need the unless I previously mentioned, otherwise this is not idempotent and this exec gets run every time. Which is not ideal","commit_id":"b754ef4f7d6cadbf2d9189f9435f296674f3cc19"},{"author":{"_account_id":7745,"name":"Denis Egorenko","email":"degorenko@mirantis.com","username":"degorenko"},"change_message_id":"aaa80b2e913580ccc1b035ba0d5eb1aea5a123c1","unresolved":false,"context_lines":[{"line_number":230,"context_line":"      path    \u003d\u003e \u0027/bin:/usr/bin\u0027,"},{"line_number":231,"context_line":"      command \u003d\u003e \u0027exit 1\u0027,"},{"line_number":232,"context_line":"      unless  \u003d\u003e \"test -f ${bios_ipxe_file}\","},{"line_number":233,"context_line":"    }"},{"line_number":234,"context_line":"    if $enable_uefi {"},{"line_number":235,"context_line":"      $uefi_ipxe_file \u003d \u0027/tftpboot/ipxe.efi\u0027"},{"line_number":236,"context_line":"      exec { \u0027test UEFI iPXE image present\u0027:"}],"source_content_type":"text/x-puppet","patch_set":5,"id":"9a061dce_afe62442","line":233,"updated":"2016-04-08 11:02:50.000000000","message":"should not we use some flag for bios_ipxe file check too?","commit_id":"6c210c0f2bc6a751d77d03596a91b34b0740f795"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"9bb4dfc5ddd888517e68d5fb0c44196c895beba7","unresolved":false,"context_lines":[{"line_number":230,"context_line":"      path    \u003d\u003e \u0027/bin:/usr/bin\u0027,"},{"line_number":231,"context_line":"      command \u003d\u003e \u0027exit 1\u0027,"},{"line_number":232,"context_line":"      unless  \u003d\u003e \"test -f ${bios_ipxe_file}\","},{"line_number":233,"context_line":"    }"},{"line_number":234,"context_line":"    if $enable_uefi {"},{"line_number":235,"context_line":"      $uefi_ipxe_file \u003d \u0027/tftpboot/ipxe.efi\u0027"},{"line_number":236,"context_line":"      exec { \u0027test UEFI iPXE image present\u0027:"}],"source_content_type":"text/x-puppet","patch_set":5,"id":"9a061dce_0c9ab9c5","line":233,"in_reply_to":"9a061dce_afe62442","updated":"2016-04-08 12:11:47.000000000","message":"I don\u0027t think so. If this fail does not exist, introspection won\u0027t work. That was my request on one of previous patchsets to always check it.","commit_id":"6c210c0f2bc6a751d77d03596a91b34b0740f795"},{"author":{"_account_id":20378,"name":"Trevor McCasland","email":"TM2086@att.com","username":"twm2016"},"change_message_id":"300b5845e936913997e0fe1df8b3b41c36895bd4","unresolved":false,"context_lines":[{"line_number":236,"context_line":"      exec { \u0027test UEFI iPXE image present\u0027:"},{"line_number":237,"context_line":"        path    \u003d\u003e \u0027/bin:/usr/bin\u0027,"},{"line_number":238,"context_line":"        command \u003d\u003e \u0027exit 1\u0027,"},{"line_number":239,"context_line":"        unless  \u003d\u003e \"test -f ${uefi_ipxe_file}\","},{"line_number":240,"context_line":"      }"},{"line_number":241,"context_line":"    }"},{"line_number":242,"context_line":"  }"}],"source_content_type":"text/x-puppet","patch_set":5,"id":"9a061dce_ab1485e8","line":239,"range":{"start_line":239,"start_character":8,"end_line":239,"end_character":46},"updated":"2016-04-07 16:35:24.000000000","message":"Would it be worth it to use creates instead? This removes the call to test. \n\ncreates \u003d\u003e \"${uefi_ipxe_file}\"\n\nAccording to: https://docs.puppetlabs.com/puppet/latest/reference/type.html#exec-attribute-creates\n\n\"The command will only run if the file doesn’t exist.\"","commit_id":"6c210c0f2bc6a751d77d03596a91b34b0740f795"},{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"6ebfc82cd5319e93e392e72eeb4d553f150f8dce","unresolved":false,"context_lines":[{"line_number":236,"context_line":"      exec { \u0027test UEFI iPXE image present\u0027:"},{"line_number":237,"context_line":"        path    \u003d\u003e \u0027/bin:/usr/bin\u0027,"},{"line_number":238,"context_line":"        command \u003d\u003e \u0027exit 1\u0027,"},{"line_number":239,"context_line":"        unless  \u003d\u003e \"test -f ${uefi_ipxe_file}\","},{"line_number":240,"context_line":"      }"},{"line_number":241,"context_line":"    }"},{"line_number":242,"context_line":"  }"}],"source_content_type":"text/x-puppet","patch_set":5,"id":"9a061dce_dfac0f8e","line":239,"range":{"start_line":239,"start_character":8,"end_line":239,"end_character":46},"in_reply_to":"9a061dce_ab1485e8","updated":"2016-04-07 17:12:24.000000000","message":"Yes that is an alternative, but this shows more of what exactly we want as we\u0027re testing the existence of the file. We\u0027re not creating it so this is more in line with what we are actually doing.","commit_id":"6c210c0f2bc6a751d77d03596a91b34b0740f795"},{"author":{"_account_id":3153,"name":"Emilien Macchi","email":"emilien@redhat.com","username":"emilienm"},"change_message_id":"13911d2774894f9727ccb0a20b163c596d971904","unresolved":false,"context_lines":[{"line_number":227,"context_line":"    }"},{"line_number":228,"context_line":"    $bios_ipxe_file \u003d \u0027/tftpboot/undionly.kpxe\u0027"},{"line_number":229,"context_line":"    exec { \u0027test BIOS iPXE image present\u0027:"},{"line_number":230,"context_line":"      path    \u003d\u003e \u0027/bin:/usr/bin\u0027,"},{"line_number":231,"context_line":"      command \u003d\u003e \u0027exit 1\u0027,"},{"line_number":232,"context_line":"      unless  \u003d\u003e \"test -f ${bios_ipxe_file}\","},{"line_number":233,"context_line":"    }"}],"source_content_type":"text/x-puppet","patch_set":7,"id":"7a1b2928_7cfcd13e","line":230,"updated":"2016-04-10 18:49:16.000000000","message":"path is an array, so it could be [\u0027/bin\u0027,\u0027/usr/bin\u0027], etc","commit_id":"a7e66a34a43cc7d8d4ebb30d805374cd081df294"},{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"2a6a7b2055ea747c0246489cb4ee4e183ffb2add","unresolved":false,"context_lines":[{"line_number":227,"context_line":"    }"},{"line_number":228,"context_line":"    $bios_ipxe_file \u003d \u0027/tftpboot/undionly.kpxe\u0027"},{"line_number":229,"context_line":"    exec { \u0027test BIOS iPXE image present\u0027:"},{"line_number":230,"context_line":"      path    \u003d\u003e \u0027/bin:/usr/bin\u0027,"},{"line_number":231,"context_line":"      command \u003d\u003e \u0027exit 1\u0027,"},{"line_number":232,"context_line":"      unless  \u003d\u003e \"test -f ${bios_ipxe_file}\","},{"line_number":233,"context_line":"    }"}],"source_content_type":"text/x-puppet","patch_set":7,"id":"7a1b2928_3a26b2ba","line":230,"in_reply_to":"7a1b2928_7cfcd13e","updated":"2016-04-11 16:08:13.000000000","message":"It can be either a string or an array. We use both interchangeably through all of our code","commit_id":"a7e66a34a43cc7d8d4ebb30d805374cd081df294"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"a95bf6782059ef0c954fe66bf94637a1ce8bdc5f","unresolved":false,"context_lines":[{"line_number":228,"context_line":"    $bios_ipxe_file \u003d \u0027/tftpboot/undionly.kpxe\u0027"},{"line_number":229,"context_line":"    exec { \u0027test BIOS iPXE image present\u0027:"},{"line_number":230,"context_line":"      path    \u003d\u003e \u0027/bin:/usr/bin\u0027,"},{"line_number":231,"context_line":"      command \u003d\u003e \u0027exit 1\u0027,"},{"line_number":232,"context_line":"      unless  \u003d\u003e \"test -f ${bios_ipxe_file}\","},{"line_number":233,"context_line":"    }"},{"line_number":234,"context_line":"    if $enable_uefi {"}],"source_content_type":"text/x-puppet","patch_set":7,"id":"5a18252c_05401533","line":231,"updated":"2016-04-15 07:22:42.000000000","message":"Folks, could you please come to some agreement on what we should do here? :) We\u0027re not strong in puppet, so any variant will work for us. Also we can drop these checks for now, as we used to live happily without them previously.","commit_id":"a7e66a34a43cc7d8d4ebb30d805374cd081df294"},{"author":{"_account_id":3153,"name":"Emilien Macchi","email":"emilien@redhat.com","username":"emilienm"},"change_message_id":"13911d2774894f9727ccb0a20b163c596d971904","unresolved":false,"context_lines":[{"line_number":228,"context_line":"    $bios_ipxe_file \u003d \u0027/tftpboot/undionly.kpxe\u0027"},{"line_number":229,"context_line":"    exec { \u0027test BIOS iPXE image present\u0027:"},{"line_number":230,"context_line":"      path    \u003d\u003e \u0027/bin:/usr/bin\u0027,"},{"line_number":231,"context_line":"      command \u003d\u003e \u0027exit 1\u0027,"},{"line_number":232,"context_line":"      unless  \u003d\u003e \"test -f ${bios_ipxe_file}\","},{"line_number":233,"context_line":"    }"},{"line_number":234,"context_line":"    if $enable_uefi {"}],"source_content_type":"text/x-puppet","patch_set":7,"id":"7a1b2928_5cf9154d","line":231,"updated":"2016-04-10 18:49:16.000000000","message":"please do not do that, it looks very unsafe.","commit_id":"a7e66a34a43cc7d8d4ebb30d805374cd081df294"},{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"b2c3c1f9c9038d1f3f7b76758d796e30ccf171d6","unresolved":false,"context_lines":[{"line_number":228,"context_line":"    $bios_ipxe_file \u003d \u0027/tftpboot/undionly.kpxe\u0027"},{"line_number":229,"context_line":"    exec { \u0027test BIOS iPXE image present\u0027:"},{"line_number":230,"context_line":"      path    \u003d\u003e \u0027/bin:/usr/bin\u0027,"},{"line_number":231,"context_line":"      command \u003d\u003e \u0027exit 1\u0027,"},{"line_number":232,"context_line":"      unless  \u003d\u003e \"test -f ${bios_ipxe_file}\","},{"line_number":233,"context_line":"    }"},{"line_number":234,"context_line":"    if $enable_uefi {"}],"source_content_type":"text/x-puppet","patch_set":7,"id":"7a1b2928_b1aa0718","line":231,"in_reply_to":"7a1b2928_5cf9154d","updated":"2016-04-11 08:12:02.000000000","message":"I don\u0027t like it much either - can you think of a better approach? I\u0027m trying to achieve \"deployment fails unless these files are present\". The obvious approach is `ensure { file \u003d\u003e $path, noop \u003d\u003e true }`, but AFAICT that produces an easily-missed warning rather than an error.\n\nThe next patch in this series (https://review.openstack.org/#/c/302390) copies the files into place, but I don\u0027t think it makes sense to merge that until there\u0027s a publicly-available RPM which provides them (there\u0027s currently an internal release candidate RPM, which is being QAed). I split this change into two patches (\"explicitly check the invariant we currently depend on\", \"replace it with a new one\") hoping that we could merge the first one while we were waiting for the new RPM to become available, but I could merge them into one patch - what do you think?","commit_id":"a7e66a34a43cc7d8d4ebb30d805374cd081df294"},{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"2a6a7b2055ea747c0246489cb4ee4e183ffb2add","unresolved":false,"context_lines":[{"line_number":228,"context_line":"    $bios_ipxe_file \u003d \u0027/tftpboot/undionly.kpxe\u0027"},{"line_number":229,"context_line":"    exec { \u0027test BIOS iPXE image present\u0027:"},{"line_number":230,"context_line":"      path    \u003d\u003e \u0027/bin:/usr/bin\u0027,"},{"line_number":231,"context_line":"      command \u003d\u003e \u0027exit 1\u0027,"},{"line_number":232,"context_line":"      unless  \u003d\u003e \"test -f ${bios_ipxe_file}\","},{"line_number":233,"context_line":"    }"},{"line_number":234,"context_line":"    if $enable_uefi {"}],"source_content_type":"text/x-puppet","patch_set":7,"id":"7a1b2928_ba3ac2cb","line":231,"in_reply_to":"7a1b2928_5cf9154d","updated":"2016-04-11 16:08:13.000000000","message":"Why is exit 1 unsafe? The alternative is to just dupe test -f \u003cfile\u003e","commit_id":"a7e66a34a43cc7d8d4ebb30d805374cd081df294"},{"author":{"_account_id":3153,"name":"Emilien Macchi","email":"emilien@redhat.com","username":"emilienm"},"change_message_id":"13911d2774894f9727ccb0a20b163c596d971904","unresolved":false,"context_lines":[{"line_number":235,"context_line":"      $uefi_ipxe_file \u003d \u0027/tftpboot/ipxe.efi\u0027"},{"line_number":236,"context_line":"      exec { \u0027test UEFI iPXE image present\u0027:"},{"line_number":237,"context_line":"        path    \u003d\u003e \u0027/bin:/usr/bin\u0027,"},{"line_number":238,"context_line":"        command \u003d\u003e \u0027exit 1\u0027,"},{"line_number":239,"context_line":"        unless  \u003d\u003e \"test -f ${uefi_ipxe_file}\","},{"line_number":240,"context_line":"      }"},{"line_number":241,"context_line":"    }"}],"source_content_type":"text/x-puppet","patch_set":7,"id":"7a1b2928_bc94a9e8","line":238,"updated":"2016-04-10 18:49:16.000000000","message":"same","commit_id":"a7e66a34a43cc7d8d4ebb30d805374cd081df294"}],"templates/inspector_dnsmasq_http.erb":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"9bb4dfc5ddd888517e68d5fb0c44196c895beba7","unresolved":false,"context_lines":[{"line_number":13,"context_line":"dhcp-boot\u003dtag:ipxe,http://\u003c%\u003d @dnsmasq_local_ip %\u003e:8088/inspector.ipxe"},{"line_number":14,"context_line":"\u003c% if @enable_uefi -%\u003e"},{"line_number":15,"context_line":"# Client is running PXE over EFI; send EFI version of iPXE chainloader"},{"line_number":16,"context_line":"dhcp-boot\u003dtag:efi,ipxe.efi"},{"line_number":17,"context_line":"# Client is running PXE over BIOS; send BIOS version of iPXE chainloader"},{"line_number":18,"context_line":"\u003c% end -%\u003e"},{"line_number":19,"context_line":"dhcp-boot\u003dundionly.kpxe,localhost.localdomain,\u003c%\u003d @dnsmasq_local_ip %\u003e"}],"source_content_type":"application/x-erb","patch_set":5,"id":"9a061dce_4cf2f107","line":16,"range":{"start_line":16,"start_character":10,"end_line":16,"end_character":17},"updated":"2016-04-08 12:11:47.000000000","message":"I wonder if we also need tag:!ipxe here...","commit_id":"6c210c0f2bc6a751d77d03596a91b34b0740f795"},{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"d7254bdbbf29f12c8e5b04c8027047d339a19550","unresolved":false,"context_lines":[{"line_number":13,"context_line":"dhcp-boot\u003dtag:ipxe,http://\u003c%\u003d @dnsmasq_local_ip %\u003e:8088/inspector.ipxe"},{"line_number":14,"context_line":"\u003c% if @enable_uefi -%\u003e"},{"line_number":15,"context_line":"# Client is running PXE over EFI; send EFI version of iPXE chainloader"},{"line_number":16,"context_line":"dhcp-boot\u003dtag:efi,ipxe.efi"},{"line_number":17,"context_line":"# Client is running PXE over BIOS; send BIOS version of iPXE chainloader"},{"line_number":18,"context_line":"\u003c% end -%\u003e"},{"line_number":19,"context_line":"dhcp-boot\u003dundionly.kpxe,localhost.localdomain,\u003c%\u003d @dnsmasq_local_ip %\u003e"}],"source_content_type":"application/x-erb","patch_set":5,"id":"9a061dce_dda4e9ba","line":16,"in_reply_to":"9a061dce_4cf2f107","updated":"2016-04-08 13:07:22.000000000","message":"I don\u0027t think so - if a rule isn\u0027t matched, dnsmasq falls through to the next one.","commit_id":"6c210c0f2bc6a751d77d03596a91b34b0740f795"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"9bb4dfc5ddd888517e68d5fb0c44196c895beba7","unresolved":false,"context_lines":[{"line_number":16,"context_line":"dhcp-boot\u003dtag:efi,ipxe.efi"},{"line_number":17,"context_line":"# Client is running PXE over BIOS; send BIOS version of iPXE chainloader"},{"line_number":18,"context_line":"\u003c% end -%\u003e"},{"line_number":19,"context_line":"dhcp-boot\u003dundionly.kpxe,localhost.localdomain,\u003c%\u003d @dnsmasq_local_ip %\u003e"}],"source_content_type":"application/x-erb","patch_set":5,"id":"9a061dce_8cdc0976","line":19,"updated":"2016-04-08 12:11:47.000000000","message":"we used to have tag:!ipxe here, I\u0027m not sure whether we should remove it...","commit_id":"6c210c0f2bc6a751d77d03596a91b34b0740f795"}]}
