Your puts will execute before your ruby_block will. The puts happens while the recipe is being processed to build the resource collection and the ruby_block is executed later in the run when the resource collection is being processed.
Your puts will execute before your ruby_block will. The puts happens while the recipe is being processed to build the resource collection and the ruby_block is executed later in the run when the resource collection is being processed.