infra-ansible/roles/bootstrap_puppetmaster/templates/puppet_profiles/gerrit.pp.j2
Ricardo Carrillo Cruz d7ed978ab2 Switch to roles/profiles pattern and Hiera as ENC for role assignment
Turns out using Hiera as ENC is limited and you can't order the classes
to be applied on a node.
This change switched to the Roles/Profiles pattern and uses Hiera as ENC
still, but only to assign which role a node belongs to
2015-08-26 13:23:22 +02:00

9 lines
307 B
Django/Jinja

class infra-ansible::profiles::gerrit {
class { '::gerrit':
mysql_password => hiera('gerrit_mysql_password'),
gerrit_auth_type => 'DEVELOPMENT_BECOME_ANY_ACCOUNT',
war => 'http://tarballs.openstack.org/ci/gerrit/gerrit-v2.10.2.23.039a170.war',
secondary_index =>true
}
}