]> gitweb.fluxo.info Git - puppet-bootstrap.git/commitdiff
Site manifests
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 11 Sep 2015 23:27:01 +0000 (20:27 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 11 Sep 2015 23:27:01 +0000 (20:27 -0300)
TODO.md
modules/site_bind/manifests/init.pp [new file with mode: 0644]
modules/site_websites/manifests/init.pp

diff --git a/TODO.md b/TODO.md
index 24799331857ffec3c5e4af61ef9e1def50258695..ed92439b7fb1d57c794307434619663ba5cb797c 100644 (file)
--- a/TODO.md
+++ b/TODO.md
@@ -22,6 +22,7 @@ High priority
   - https://github.com/jordansissel/puppet-examples/tree/master/masterless
 - sshd:
   - https://stribika.github.io/2015/01/04/secure-secure-shell.html
+  - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774711#60
   - enable ecdsa key
   - ecdsa priority: alternatives:
     - unsupport ecdsa in the server
diff --git a/modules/site_bind/manifests/init.pp b/modules/site_bind/manifests/init.pp
new file mode 100644 (file)
index 0000000..7ee08d2
--- /dev/null
@@ -0,0 +1,16 @@
+class site_bind {
+  #
+  # See http://oreilly.com/pub/a/oreilly/networking/news/views_0501.html
+  #     http://www.debian-administration.org/articles/355
+
+  # This is needed so we can comment out the inclusion of
+  # /etc/bind/named.conf.default-zones
+  #file { '/etc/bind/named.conf':
+  #  ensure => present,
+  #  owner  => root,
+  #  group  => root,
+  #  mode   => 0644,
+  #  source => 'puppet:///modules/site_bind/named.conf',
+  #  notify => Service['bind9'],
+  #}
+}
index f9d900a264a2cdcecb90baace7de48c26f543171..c98ca7d00f14732f669ab17e2ecda37b5e138824 100644 (file)
@@ -1,5 +1,11 @@
 class site_websites inherits websites::hosting {
   # Website definitions: always use tagged resources
+  apache::site { "git":
+    source         => true,
+    docroot        => '/var/git/repositories',
+    mpm            => false,
+    tag            => 'all',
+  }
 
   #apache::site { "site":
   #  source         => true,
@@ -12,5 +18,4 @@ class site_websites inherits websites::hosting {
   #  password => 'xxx',
   #  tag      => 'all',
   #}
-
 }