rename a file correctly
authorPeter Palfrader <peter@palfrader.org>
Sun, 8 Sep 2019 07:21:27 +0000 (09:21 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 8 Sep 2019 07:21:27 +0000 (09:21 +0200)
modules/roles/manifests/static/srvdir.pp [new file with mode: 0644]
modules/roles/manifests/static/static_srvdir.pp [deleted file]

diff --git a/modules/roles/manifests/static/srvdir.pp b/modules/roles/manifests/static/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 => '',
+  }
+}
diff --git a/modules/roles/manifests/static/static_srvdir.pp b/modules/roles/manifests/static/static_srvdir.pp
deleted file mode 100644 (file)
index 7fef383..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-# 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 => '',
-  }
-}