From: Peter Palfrader Date: Tue, 14 Sep 2010 17:26:32 +0000 (+0200) Subject: Ship CellServDB and ThisCell in puppet X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=f21f0c70a6ac77cf58f1599276a44acec19df1c3;p=mirror%2Fdsa-puppet.git Ship CellServDB and ThisCell in puppet --- diff --git a/modules/afs/files/CellServDB b/modules/afs/files/CellServDB new file mode 100644 index 000000000..fbbb39423 --- /dev/null +++ b/modules/afs/files/CellServDB @@ -0,0 +1,4 @@ +>debian.org +82.195.75.101 #lamb.debian.org +194.177.211.199 #rautavaara.debian.org +206.12.19.120 #locke.debian.org diff --git a/modules/afs/files/ThisCell b/modules/afs/files/ThisCell new file mode 100644 index 000000000..9973f0cf8 --- /dev/null +++ b/modules/afs/files/ThisCell @@ -0,0 +1 @@ +debian.org diff --git a/modules/afs/manifests/init.pp b/modules/afs/manifests/init.pp index 9d3a00724..d047d648d 100644 --- a/modules/afs/manifests/init.pp +++ b/modules/afs/manifests/init.pp @@ -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",