# limitations under the License.
#
-include_recipe "apache::ssl"
+include_recipe "apache"
package "gitweb"
source "gitweb.conf.erb"
owner "root"
group "root"
- mode 0644
+ mode 0o644
+end
+
+ssl_certificate node[:git][:host] do
+ domains node[:git][:host]
+ notifies :reload, "service[apache2]"
end
apache_site node[:git][:host] do
source "robots.txt.erb"
owner "root"
group "root"
- mode 0644
+ mode 0o644
end