service "Apache2.2" do
action :nothing
end
file "C:\\blah.txt" do
notifies :restart, "service[Apache2.2]", :immediate
end
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name "production" | |
description "Your production environment" | |
default_attributes ({ | |
"root" => { | |
"password" => "$6$uLD5kuid$pvYSgFZMp5a.m8Q2fjVaIhcCIyhGFytWZYQXCkCW8oC.JvNWV5hmCptApdBOBZLA4DJc.rimnngPF9oZoZ6Ga1" | |
}, | |
"ntp" => { | |
"servers" => [ "0.vmware.pool.ntp.org", "1.vmware.pool.ntp.org", "2.vmware.pool.ntp.org" ] | |
} | |
}) |
This gist will contain updates to the Chef Provisioning portion located in Chapter 9 of the 1st edition of “DevOps for VMWare Administrators"
The chapter has a warning on page 136 warning users due to the heavy development of Chef Provisioning that the instructions may no longer work. This gist is to
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DEST="/Users/yvo/Desktop/logos2" | |
# Run this from devopsdays-web/static/events | |
for i in $(ls); do echo $i >> /tmp/cities; done | |
awk -F"-" '{ print $2}' /tmp/cities | sort | uniq > /tmp/stripped | |
for i in $(cat /tmp/stripped); do | |
for j in {2010..2020}; do |