This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'csv' | |
require 'zlib' | |
path = ARGV[0] | |
hours = ARGV[1] | |
csv = nil | |
options = {col_sep: "\t"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
General: | |
Currently, there are several cases regarding database setup in the PE installer. Note that the database setup routines only occur if the console is selected for install. | |
1) the installer checks for the existence of mysql. | |
* If it is found, the installer asks if the mysql server is running on a remote host. if it is remote, the user is prompted to enter host | |
and port information. if it is not remote, the installer assumes the mysql server is hosted on the current stations. | |
* If it is not found, the installer asks if the user would like to install MySQL server. If yes, the installer proceeds directly to step 3, below, skipping step 2. | |
Note: the install *will exit* if the user opts not to install MySQL server at this point. The installer does not support installing MySQL client only. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RabbitMQ { | |
package { 'rabbitmq-server': | |
ensure => present, | |
require => Exec['add_rabbitmq_repository'], | |
} | |
exec { "wget -O- http://www.rabbitmq.com/rabbitmq-signing-key-public.asc | apt-key add - && apt-get update" | |
alias => 'add_rabbitmq_repository', | |
require => File["/etc/apt/sources.list.d/rabbitmq.list"], | |
unless => "dpkg -l rabbitmq-server", |