Chef
view release on metacpan or search on metacpan
cookbook/recipes/default.rb view on Meta::CPAN
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
r = remote_directory "/tmp/perl_recipes" do
source "perl_recipes"
files_backup 0
files_mode "0644"
action :nothing # We don't want to do anything with this resource at run time
end
# We want this resource to run at compile time, not at execution time.
r.run_action(:create)
# Run all the perl recipes.
Dir["/tmp/perl_recipes/**/*.pl"].each do |f|
output_json = nil
( run in 1.509 second using v1.01-cache-2.11-cpan-49f99fa48dc )