source => 'puppet:///modules/staticsync/static-master-update-component',
mode => '0555',
}
- file { '/etc/static-clients.conf':
- content => template('staticsync/static-clients.conf.erb'),
+ concat { '/etc/static-clients.conf':
+ ensure_newline => true,
+ warn => @(EOF),
+ ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+ | EOF
}
-# concat { '/etc/static-clients.conf':
-# ensure_newline => true,
-# warn => @(EOF),
-# ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
-# | EOF
-# }
-# Concat::Fragment <<| tag == 'staticsync::static-mirrors-to-trigger' |>>
+ Concat::Fragment <<| tag == 'staticsync::static-mirrors-to-trigger' |>>
file { "/home/${staticsync::user}/static-master":
ensure => link,
+++ /dev/null
-##
-## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
-##
-
-<%=
-
-# do not include mirrors in static_mirror_nopush
-static_mirror_nopush = scope.lookupvar('deprecated::roles')['static_mirror_nopush']
-
-scope.lookupvar('deprecated::roles')['static_mirror'].reject{ |x| static_mirror_nopush.include?(x) }.join("\n")
-
-# vim:set et:
-# vim:set sts=4 ts=4:
-# vim:set shiftwidth=4:
-%>