diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-09-11 20:27:01 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-09-11 20:27:01 -0300 |
commit | 4cfe7fbfd6116c624034b48341e63c3213e9f67e (patch) | |
tree | d688097aa3c9f761554b85794d3a660fa85bf548 | |
parent | ff61a20328c96c9810bdd6526b2b26c99834f761 (diff) | |
download | puppet-bootstrap-4cfe7fbfd6116c624034b48341e63c3213e9f67e.tar.gz puppet-bootstrap-4cfe7fbfd6116c624034b48341e63c3213e9f67e.tar.bz2 |
Site manifests
-rw-r--r-- | TODO.md | 1 | ||||
-rw-r--r-- | modules/site_bind/manifests/init.pp | 16 | ||||
-rw-r--r-- | modules/site_websites/manifests/init.pp | 7 |
3 files changed, 23 insertions, 1 deletions
@@ -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 index 0000000..7ee08d2 --- /dev/null +++ b/modules/site_bind/manifests/init.pp @@ -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'], + #} +} diff --git a/modules/site_websites/manifests/init.pp b/modules/site_websites/manifests/init.pp index f9d900a..c98ca7d 100644 --- a/modules/site_websites/manifests/init.pp +++ b/modules/site_websites/manifests/init.pp @@ -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', #} - } |