]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/roles/manifests/static_master.pp
Add veyepar role
[dsa-puppet.git] / modules / roles / manifests / static_master.pp
index cd5b061b22fbddc3263fa9c23e63c12b6c90adfc..73f74c834410cd51eaf9a1bd589a31ea28014f94 100644 (file)
@@ -1,22 +1,16 @@
-class roles::static_master inherits roles::static_base {
-    file {
-        '/etc/ssh/userkeys/staticsync':
-            content => template('roles/static-master-authorized_keys.erb'),
-            ;
-        '/usr/local/bin/static-master-run':
-            source  => "puppet:///modules/roles/static-mirroring/static-master-run",
-            mode => 555,
-            ;
-        '/usr/local/bin/static-master-ssh-wrap':
-            source  => "puppet:///modules/roles/static-mirroring/static-master-ssh-wrap",
-            mode => 555,
-            ;
-        '/usr/local/bin/static-master-update-component':
-            source  => "puppet:///modules/roles/static-mirroring/static-master-update-component",
-            mode => 555,
-            ;
-    }
+class roles::static_master {
+
+       include roles::static_base
+
+       file { '/usr/local/bin/static-master-run':
+               source => 'puppet:///modules/roles/static-mirroring/static-master-run',
+               mode   => '0555',
+       }
+       file { '/usr/local/bin/static-master-update-component':
+               source => 'puppet:///modules/roles/static-mirroring/static-master-update-component',
+               mode   => '0555',
+       }
+       file { '/etc/static-clients.conf':
+               content => template('roles/static-mirroring/static-clients.conf.erb'),
+       }
 }
-# vim:set et:
-# vim:set sts=4 ts=4:
-# vim:set shiftwidth=4: