aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/main_mirror/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-01-21 14:10:24 +0000
committerMichael Scherer <misc@mageia.org>2011-01-21 14:10:24 +0000
commit24d0d1d393e65ecc290e5ce2b216fb6c2412b286 (patch)
tree868e2f75ca92295a3444021fcf899cd02bcc393f /deployment/main_mirror/manifests
parent8ec90be493a658a4928370e1a578aa37989eca0e (diff)
downloadpuppet-24d0d1d393e65ecc290e5ce2b216fb6c2412b286.tar
puppet-24d0d1d393e65ecc290e5ce2b216fb6c2412b286.tar.gz
puppet-24d0d1d393e65ecc290e5ce2b216fb6c2412b286.tar.bz2
puppet-24d0d1d393e65ecc290e5ce2b216fb6c2412b286.tar.xz
puppet-24d0d1d393e65ecc290e5ce2b216fb6c2412b286.zip
- add a main mirror modules ( mirror was already used ), and add content
there ( mainly READMEs, and directory to ease replication of a fake test mirror on vm )
Diffstat (limited to 'deployment/main_mirror/manifests')
-rw-r--r--deployment/main_mirror/manifests/init.pp28
1 files changed, 28 insertions, 0 deletions
diff --git a/deployment/main_mirror/manifests/init.pp b/deployment/main_mirror/manifests/init.pp
new file mode 100644
index 00000000..cb00d180
--- /dev/null
+++ b/deployment/main_mirror/manifests/init.pp
@@ -0,0 +1,28 @@
+class main_mirror {
+ $mirror = "/distrib"
+ file { "$mirror":
+ ensure => directory,
+ }
+
+ file { "$mirror/README":
+ ensure => present,
+ source => "puppet:///modules/main_mirror/README"
+ }
+
+ file { "$mirror/mirror":
+ ensure => directory,
+
+ }
+
+ file { "$mirror/mirror/README.mirroring":
+ ensure => present,
+ source => "puppet:///modules/main_mirror/mirror/README.mirroring"
+ }
+
+ file { "$mirror/mirror/README.paths":
+ ensure => present,
+ source => "puppet:///modules/main_mirror/mirror/README.paths"
+ }
+
+
+}