X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Fstatic_source.pp;h=dbdede18642f91e151703fb5f41cdb81ec47f48a;hb=1af943401cb3dea6a550030e3c6ad3043c463e03;hp=28ae6d4bcc4ab6074fdadfb3ec4eed0bc809e674;hpb=4663ee85ebe0058aba8dce07fc1913b1d43d1cc0;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/static_source.pp b/modules/roles/manifests/static_source.pp index 28ae6d4bc..dbdede186 100644 --- a/modules/roles/manifests/static_source.pp +++ b/modules/roles/manifests/static_source.pp @@ -1,18 +1,14 @@ -class roles::static_source inherits roles::static_base { - file { - '/etc/ssh/userkeys/staticsync': - content => template('roles/static-mirroring/static-mirror-authorized_keys.erb'), - ; - '/usr/local/bin/static-mirror-ssh-wrap': - source => "puppet:///modules/roles/static-mirroring/static-mirror-ssh-wrap", - mode => 555, - ; - '/usr/local/bin/static-update-component': - content => template('roles/static-mirroring/static-update-component.erb'), - mode => 555, - ; - } +class roles::static_source { + include roles::static_base + file { '/etc/ssh/userkeys/staticsync': + content => template('roles/static-mirroring/static-mirror-authorized_keys.erb'), + } + file { '/usr/local/bin/static-update-component': + content => template('roles/static-mirroring/static-update-component.erb'), + mode => '0555', + } + file { '/usr/local/bin/static-mirror-ssh-wrap': + source => 'puppet:///modules/roles/static-mirroring/static-mirror-ssh-wrap', + mode => '0555', + } } -# vim:set et: -# vim:set sts=4 ts=4: -# vim:set shiftwidth=4: