3 # origin of static content. From here it goes to the static master before that one pushes it to the mirrors
4 class roles::static_source {
5 include roles::static::base
7 if ! defined(Class["roles::static_master"]) {
8 # sources talk only to masters, but only set this up if we are not
9 # *also* a static master since we cannot have two meaningful roles::static:ssh
10 # instances in the current setup.
12 # this adds the limitation that the master of any component whose source is also a
13 # master node needs to have that same host as its master and not some other one.
14 class { 'roles::static::ssh':
15 add_tag => 'staticsync-master',
16 collect_tag => 'staticsync-source',