]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/roles/manifests/static_base.pp
make the lint gods happy
[dsa-puppet.git] / modules / roles / manifests / static_base.pp
index 2de3b9b6e16b45cca35697e3c61a0d07050de846..e062a9e5191425891bc86ef57dda1c0ad139d07a 100644 (file)
@@ -1,11 +1,12 @@
 class roles::static_base {
-    if ! $::staticsync_key {
-        exec { 'create-staticsync-key':
-            command => '/bin/su - staticsync -c \'mkdir -p -m 02700 .ssh && ssh-keygen -C "`whoami`@`hostname` (`date +%Y-%m-%d`)" -P "" -f .ssh/id_rsa -q\'',
-            onlyif  => '/usr/bin/getent passwd staticsync > /dev/null && ! [ -e /home/staticsync/.ssh/id_rsa ]'
-        }
-    }
+       if ! $::staticsync_key {
+               exec { 'create-staticsync-key':
+                       command => '/bin/su - staticsync -c \'mkdir -p -m 02700 .ssh && ssh-keygen -C "`whoami`@`hostname` (`date +%Y-%m-%d`)" -P "" -f .ssh/id_rsa -q\'',
+                       onlyif  => '/usr/bin/getent passwd staticsync > /dev/null && ! [ -e /home/staticsync/.ssh/id_rsa ]'
+               }
+       }
+
+       file { '/etc/static-components.conf':
+               source => 'puppet:///modules/roles/static-mirroring/static-components.conf',
+       }
 }
-# vim:set et:
-# vim:set sts=4 ts=4:
-# vim:set shiftwidth=4: