(Chef) service "httpd" do action :start end template 'httpd.conf' do action :create source 'httpd.conf.erb' owner 'root' group ‘root’ mode '0644' notifies :reload, 'service[httpd]', :delayed end
:create source 'httpd.conf.erb' owner 'root' group ‘root’ mode '0644' notifies :reload, 'service[httpd]', :delayed end service "httpd" do action :start end Chef Recipe
-y install httpd && yum clean all Trinity of Config Management (Docker) CMD ["/run-httpd.sh"] RUN sed -i 's@#Include conf/extra/httpd-ssl.conf@Include conf/extra/httpd-ssl.conf@' /usr/local/apac RUN sed -i 's@#LoadModule ssl_module modules/mod_ssl.so@LoadModule ssl_module modules/mo RUN sed -i 's@#LoadModule socache_shmcb_module modules/mod_socache_shmcb.so@LoadMod Shell out
• Cutting myself off from Chef community cookbooks. • When/How should I shoot for immutable server? • How should I be re-writing my apps for: • Service discovery? • Hiding but still using secrets?