[chef] file and contents match


Chronological Thread 
  • From: Maven User < >
  • To: chef < >
  • Subject: [chef] file and contents match
  • Date: Tue, 21 Aug 2012 01:06:07 -0400

Is there a way to check that not only does a file exist, but it contains several particular strings before executing a resource?

I'm wondering if it's just a ruby block to read in the file, test each line, etc....




Archive powered by MHonArc 2.6.16.

§