Merge branch 'static'
authorPeter Palfrader <peter@palfrader.org>
Wed, 19 Dec 2012 21:38:15 +0000 (22:38 +0100)
committerPeter Palfrader <peter@palfrader.org>
Wed, 19 Dec 2012 21:38:15 +0000 (22:38 +0100)
* static:
  static-update-component planet
  static-update-component wrapper

Conflicts:
modules/roles/manifests/static_source.pp

1  2 
modules/roles/manifests/static_source.pp
modules/sudo/files/sudoers

@@@ -1,10 -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-mirror-ssh-wrap':
++              source  => "puppet:///modules/roles/static-mirroring/static-mirror-ssh-wrap",
++              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:
Simple merge