move things from modules/roles/static* to modules/static*
[mirror/dsa-puppet.git] / modules / staticsync / manifests / srvdir.pp
diff --git a/modules/staticsync/manifests/srvdir.pp b/modules/staticsync/manifests/srvdir.pp
new file mode 100644 (file)
index 0000000..7fef383
--- /dev/null
@@ -0,0 +1,13 @@
+# create the directory on static hosts and disable backups
+class roles::static::srvdir {
+  file { '/srv/static.debian.org':
+    ensure => directory,
+    mode   => '0755',
+    owner  => 'staticsync',
+    group  => 'staticsync',
+  }
+
+  file { '/srv/static.debian.org/.nobackup':
+    content => '',
+  }
+}