Ship CellServDB and ThisCell in puppet
[mirror/dsa-puppet.git] / modules / afs / manifests / init.pp
index 9d3a007..d047d64 100644 (file)
@@ -1,4 +1,19 @@
 class afs {
+
+    file {
+        "/etc/openafs/CellServDB":
+            source  => "puppet:///modules/afs/CellServDB",
+            require => Package["openafs-client"],
+            # notify  => # something to call fs newcell maybe?
+            mode    => 444
+            ;
+        "/etc/openafs/ThisCell":
+            source  => "puppet:///modules/afs/ThisCell",
+            require => Package["openafs-client"],
+            mode    => 444
+            ;
+    }
+
     @ferm::rule { "dsa-afs callback":
         domain          => "(ip ip6)",
         description  => "afs callback",