![Bogdan Dobrelya](/assets/img/avatar_default.png)
* Sync to v5.0.0 (supports Ubuntu 14.04, major SSL fixes) * Fix deprecated in 5.0.0 params * Reimplement waiting/retries in rabbitmq provider (https://tickets.puppetlabs.com/browse/MODULES-1452) * Configure clustering with an erlang cookie hardcode. Also pass the cookie to the OCF script. * Make OCF script always update an erlang cookie, if specified (default false) * Add dependency module: nanliu-staging * Add support for rabbimtq class false value for nova module (https://bugs.launchpad.net/puppet-nova/+bug/1407077) * Do not use nova::rabbitmq to install and configure rabbitmq service anymore, install it separately. (TODO move it as a granular deploy step) * Adjust other existing rabbit class calls for new 5.0.0 rabbit module * Remove deprecated usage of rabbitmq::server class and replace it to ::rabbitmq (cinder, murano, openstack, zabbix, mcollective, nailgun) * Remove rabbit.pub.key and do not manage repos for rabbit package as we have it in nailgun repos and Fuel uses these repos for offline installation of rabbitmq. (Related upstream bug https://tickets.puppetlabs.com/browse/MODULES-1631) * Move custom rabbit OCF file from nova to openstack and remove OS-aware services disable from rabbit's manifests * Make pacemaker provider HA wrapper for rabbitmq service and move it to pacemaker_wrappers::rabbitmq * Fix linting * Fix rabbitmq service name for zabbix mon * Fix env_config for rabbitmq::nailgun, unify RABBIT_* env args. * Use key_content, package_gpg_key, config_*, cluster_*, environment_* params to ensure the same rabbit configuration as before and make offline installation possible. * Add cluster_partition_handling param for openstack::controller * Del unused rabbitmq_node_ip_address and rename as node_ip_address * Del unneeded rabbit_cluster due to it is being evaluated via passed rabbitmq_cluster_nodes as well * Adjust debug log_levels for rabbit config as well * For '$production !~ /docker/' case, remove custom init scripts for rabbit as non relevant anymore. * Enable rspec tests for rabbitmq in utils * Disable rspecs for erlang module. Related blueprint merge-openstack-puppet-modules Related-bug: #1377491 Change-Id: I6e631b975c5835d2d6f1984d5a070a45231fe9ab Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
71 lines
1.8 KiB
Markdown
71 lines
1.8 KiB
Markdown
# Staging module for Puppet
|
|
|
|
Manages staging directory, along with download/extraction of compressed files.
|
|
|
|
[![Build Status](https://secure.travis-ci.org/nanliu/puppet-staging.png?branch=master)](http://travis-ci.org/nanliu/puppet-staging)
|
|
|
|
WARNING: Version 0.2.0 no longer uses hiera functions. The same behavior should be available in Puppet 3.0.
|
|
|
|
NOTE: Version 1.0.0 will be the last feature release. New functionality such as checksum will be implemented in a type/provider module [puppet-archive](https://www.github.com/nanliu/puppet-archive).
|
|
|
|
## Usage
|
|
|
|
Specify a different default staging path (must be declared before using resource):
|
|
```puppet
|
|
class { 'staging':
|
|
path => '/var/staging',
|
|
owner => 'puppet',
|
|
group => 'puppet',
|
|
}
|
|
```
|
|
|
|
Staging files from various sources:
|
|
```puppet
|
|
staging::file { 'sample':
|
|
source => 'puppet://modules/staging/sample',
|
|
}
|
|
|
|
staging::file { 'apache-tomcat-6.0.35':
|
|
source => 'http://apache.cs.utah.edu/tomcat/tomcat-6/v6.0.35/bin/apache-tomcat-6.0.35.tar.gz',
|
|
}
|
|
```
|
|
|
|
Staging and extracting files:
|
|
```puppet
|
|
staging::file { 'sample.tar.gz':
|
|
source => 'puppet:///modules/staging/sample.tar.gz'
|
|
}
|
|
|
|
staging::extract { 'sample.tar.gz':
|
|
target => '/tmp/staging',
|
|
creates => '/tmp/staging/sample',
|
|
require => Staging::File['sample.tar.gz'],
|
|
}
|
|
```
|
|
|
|
Deploying a file (combining staging and extract):
|
|
```puppet
|
|
staging::deploy { 'sample.tar.gz':
|
|
source => 'puppet:///modules/staging/sample.tar.gz',
|
|
target => '/usr/local',
|
|
}
|
|
```
|
|
|
|
Staging files currently support the following source:
|
|
|
|
* http(s)://
|
|
* puppet://
|
|
* ftp://
|
|
* s3:// (requires aws cli to be installed and configured.)
|
|
* local (though this doesn't serve any real purpose.)
|
|
|
|
## Contributor
|
|
|
|
* Adrien Thebo
|
|
* gizero
|
|
* Harald Skoglund
|
|
* Hunter Haugen
|
|
* Justin Clayton
|
|
* Owen Jacobson
|
|
* Reid Vandewiele
|