RETIRED, Puppet module to deploy translation check website
Go to file
Colleen Murphy dbc7eba8ac Depend on helper gem for spec_helper_acceptance
Instead of keeping a local copy of spec_helper_acceptance.rb and
requiring updates to all modules for any change, we can move it into the
common helper gem and require it from there. This will make it easier to
create and review changes that affect all puppet modules. Also change
the Gemfile to look for the gem in the local workspace if running in a
zuul environment.

Change-Id: Ifeb5aa6c5813ee0178f352afa1da7e39973798ba
2017-08-18 10:41:44 +02:00
files Puppet module to provide a translation checksite 2016-04-05 08:15:10 +00:00
manifests Bump run_devstack timeout from 3600 to 7200 secs 2016-07-05 15:55:32 -07:00
spec/acceptance/nodesets Depend on helper gem for spec_helper_acceptance 2017-08-18 10:41:44 +02:00
templates Puppet module to provide a translation checksite 2016-04-05 08:15:10 +00:00
.gitreview Added .gitreview 2016-01-31 19:35:02 +00:00
Gemfile Depend on helper gem for spec_helper_acceptance 2017-08-18 10:41:44 +02:00
LICENSE Puppet module to provide a translation checksite 2016-04-05 08:15:10 +00:00
README.md Puppet module to provide a translation checksite 2016-04-05 08:15:10 +00:00
Rakefile Puppet module to provide a translation checksite 2016-04-05 08:15:10 +00:00
metadata.json Puppet module to provide a translation checksite 2016-04-05 08:15:10 +00:00

README.md

Translation_checksite for testing translations against DevStack

This puppet module provides environment for check translation in OpenStack

Features

  • Install and Configure DevStack
  • Install Cron for Zanata Sync

Requirements

For usage devstack git repo:

https://git.openstack.org/cgit/openstack-infra/puppet-vcsrepo/

For installing Zanata Client:

https://github.com/puppetlabs/puppetlabs-java_ks.git

https://git.openstack.org/openstack-infra/puppet-zanata/

Prerequisites for installing Zanata CLI

class {'zanata::client':
  version        => '1.2.3',
  user           => 'stack',
  group          => 'stack',
  server         => 'openstack',
  server_url     => 'https://zanata.example.org:443',
  server_user    => 'user',
  server_api_key => '12345',
  homedir        => '/home/stack/',
}

Usage

Install DevStack without any plugins:

class {'translation_checksite':
  minimal           => 1,                                # no extra plugins loaded
  server_url        => 'https://zanata.example.org:443', # from where to fetch translation files
  revision          => 'master',                         # used branch in DevStack Repo
  project_version   => 'master',                         # used version in Zanata Project
}

Install DevStack with parameter:

class {'translation_checksite':
  zanata_cli        => '/opt/zanata/zanata-cli-3.8.1/bin/zanata-cli',
  server_url        => 'https://zanata.example.org:443',
  devstack_dir      => '/home/stack/devstack',
  stack_user        => 'stack',
  revision          => 'master',
  project_version   => 'master',
  admin_password    => '12345678',
  database_password => '12121212',
  rabbit_password   => '34343434',
  service_password  => '56565656',
  service_token     => '78787878787878',
  swift_hash        => '78787878787878',
  sync_hour         => 18,
  sync_minute       => 30,
  restack           => 1, # refresh DevStack installation
  restack_hour      => 18,
  restack_minute    => 00,
}

Deinstall DevStack:

class {'translation_checksite':
  devstack_dir => '/home/stack/devstack',
  stack_user   => 'stack',
  shutdown     => 1, # this stops DevStack and deletes the installation
}

Note: Developed for Ubuntu 14.04 LTS