Skip to content

Instantly share code, notes, and snippets.

@zhanghui9700
Created April 10, 2017 09:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhanghui9700/25ae14683cf7b6d6aa62e10bf99a054e to your computer and use it in GitHub Desktop.
Save zhanghui9700/25ae14683cf7b6d6aa62e10bf99a054e to your computer and use it in GitHub Desktop.
@zhanghui9700
Copy link
Author

$ cat /etc/apache2/sites-available/fuel-infra.conf

Listen 80

<VirtualHost *:80>

    ServerAdmin zhangh@suninfo.com
    ServerName git.fx-dev.com

    SetEnv GIT_PROJECT_ROOT /var/www/gitwww
    SetEnv GIT_HTTP_EXPORT_ALL
    ScriptAlias /fuel-infra/ /usr/lib/git-core/git-http-backend/

    DocumentRoot /var/www/html
    Alias /fuel-infra /var/www/gitwww

    <Directory /usr/lib/git-core>
        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory> 

    <Directory />
            Require all granted
    </Directory>
    <Directory /var/www/html>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride None
            Require all granted
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/fuel-infra_error.log
    CustomLog ${APACHE_LOG_DIR}/fuel-infra_access.log combined
</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

@zhanghui9700
Copy link
Author

$ cat gitwww/clone-fuel-components.sh

git clone -b stable/mitaka http://git.trystack.cn/openstack/fuel-library.git
git clone -b stable/mitaka http://git.trystack.cn/openstack/fuel-web.git
git clone -b stable/mitaka http://git.trystack.cn/openstack/python-fuelclient.git
git clone -b stable/mitaka http://git.trystack.cn/openstack/fuel-agent.git
git clone -b stable/mitaka http://git.trystack.cn/openstack/fuel-nailgun-agent.git
git clone -b stable/mitaka http://git.trystack.cn/openstack/fuel-astute.git
git clone -b stable/mitaka http://git.trystack.cn/openstack/fuel-ostf.git
git clone -b stable/mitaka http://git.trystack.cn/openstack/fuel-mirror.git
git clone -b stable/mitaka http://git.trystack.cn/openstack/fuel-menu.git
git clone -b stable/mitaka http://git.trystack.cn/openstack/shotgun.git
git clone -b stable/mitaka http://git.trystack.cn/openstack/network-checker.git
git clone -b stable/mitaka http://git.trystack.cn/openstack/fuel-upgrade.git
git clone -b stable/mitaka http://git.trystack.cn/openstack/fuel-ui.git

@zhanghui9700
Copy link
Author

$ cat gitwww/clone-fuel-infra-puppet.sh

git clone https://github.com/fuel-infra/puppetlabs-stdlib.git 
git clone https://github.com/fuel-infra/puppet-pacemaker.git 
git clone https://github.com/fuel-infra/puppetlabs-concat.git 
git clone https://github.com/fuel-infra/puppetlabs-inifile.git 
git clone https://github.com/fuel-infra/puppetlabs-xinetd.git 
git clone https://github.com/fuel-infra/saz-ssh.git 
git clone https://github.com/fuel-infra/puppetlabs-ntp.git 
git clone https://github.com/fuel-infra/puppetlabs-apache.git 
git clone https://github.com/fuel-infra/puppetlabs-apt.git 
git clone https://github.com/fuel-infra/puppetlabs-firewall.git 
git clone https://github.com/fuel-infra/puppet-memcached.git 
git clone https://github.com/fuel-infra/puppet-sysctl.git 
git clone https://github.com/fuel-infra/puppet-staging.git 
git clone https://github.com/fuel-infra/puppetlabs-vcsrepo.git 
git clone https://github.com/fuel-infra/puppetlabs-postgresql.git 
git clone https://github.com/fuel-infra/puppet-rsyslog.git 
git clone https://github.com/fuel-infra/puppet-openssl.git 
git clone https://github.com/fuel-infra/puppetlabs-mongodb.git 
git clone https://github.com/fuel-infra/puppetlabs-rsync.git 
git clone https://github.com/fuel-infra/puppet-filemapper.git 
git clone https://github.com/fuel-infra/puppetlabs-tftp.git 
git clone https://github.com/fuel-infra/richardc-datacat.git 
git clone https://github.com/fuel-infra/puppet-mcollective.git 
git clone https://github.com/fuel-infra/puppet-corosync.git
git clone https://github.com/fuel-infra/puppetlabs-rabbitmq.git
git clone https://github.com/fuel-infra/puppetlabs-mysql.git
git clone https://github.com/fuel-infra/puppet-galera.git
git clone https://github.com/fuel-infra/puppet-vswitch.git
git clone https://github.com/fuel-infra/puppet-limits.git
git clone https://github.com/fuel-infra/puppet-aodh.git
git clone https://github.com/fuel-infra/puppet-ceilometer.git
git clone https://github.com/fuel-infra/openstack-cinder.git
git clone https://github.com/fuel-infra/puppet-glance.git
git clone https://github.com/fuel-infra/puppet-heat.git
git clone https://github.com/fuel-infra/puppet-horizon.git
git clone https://github.com/fuel-infra/puppet-ironic.git
git clone https://github.com/fuel-infra/puppet-keystone.git
git clone https://github.com/fuel-infra/puppet-openstacklib.git
git clone https://github.com/fuel-infra/puppet-neutron.git
git clone https://github.com/fuel-infra/puppet-nova.git
git clone https://github.com/fuel-infra/puppet-murano.git
git clone https://github.com/fuel-infra/puppet-sahara.git
git clone https://github.com/fuel-infra/puppet-swift.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment