Unified
Split
Showing
with
3,607 additions
and 120 deletions.
- +6 −1 Gemfile
- +1 −1 README
- +3 −0 acceptance/.gitignore
- +27 −0 acceptance/Gemfile
- +46 −0 acceptance/README.md
- +372 −0 acceptance/Rakefile
- +17 −0 acceptance/config/aio/options.rb
- +20 −0 acceptance/config/nodes/centos-5-x86_64.yaml
- +20 −0 acceptance/config/nodes/centos-6-x86_64.yaml
- +20 −0 acceptance/config/nodes/debian-6-x86_64.yaml
- +20 −0 acceptance/config/nodes/debian-7-x86_64.yaml
- +20 −0 acceptance/config/nodes/debian-8-x86_64.yaml
- +20 −0 acceptance/config/nodes/fedora-20-x86_64.yaml
- +20 −0 acceptance/config/nodes/fedora-21-x86_64.yaml
- +20 −0 acceptance/config/nodes/redhat-5-x86_64.yaml
- +20 −0 acceptance/config/nodes/redhat-6-x86_64.yaml
- +20 −0 acceptance/config/nodes/redhat-7-x86_64.yaml
- +20 −0 acceptance/config/nodes/ubuntu-1204-x86_64.yaml
- +20 −0 acceptance/config/nodes/ubuntu-1404-x86_64.yaml
- +20 −0 acceptance/config/nodes/ubuntu-1410-x86_64.yaml
- +21 −0 acceptance/config/nodes/win2003r2x64-rubyx64.yaml
- +21 −0 acceptance/config/nodes/win2003r2x64-rubyx86.yaml
- +21 −0 acceptance/config/nodes/win2003r2x86-rubyx86.yaml
- +21 −0 acceptance/config/nodes/win2003x64-rubyx64.yaml
- +21 −0 acceptance/config/nodes/win2003x64-rubyx86.yaml
- +21 −0 acceptance/config/nodes/win2003x86-rubyx86.yaml
- +21 −0 acceptance/config/nodes/win2008-rubyx64.yaml
- +21 −0 acceptance/config/nodes/win2008-rubyx86.yaml
- +21 −0 acceptance/config/nodes/win2008r2-rubyx64.yaml
- +21 −0 acceptance/config/nodes/win2008r2-rubyx86.yaml
- +21 −0 acceptance/config/nodes/win2012-rubyx64.yaml
- +21 −0 acceptance/config/nodes/win2012-rubyx86.yaml
- +21 −0 acceptance/config/nodes/win2012r2-rubyx64.yaml
- +21 −0 acceptance/config/nodes/win2012r2-rubyx86.yaml
- BIN acceptance/files/activemq.keystore
- BIN acceptance/files/activemq.truststore
- +182 −0 acceptance/files/activemq.xml
- +32 −0 acceptance/files/ca_crt.pem
- +24 −0 acceptance/files/client.cfg
- +32 −0 acceptance/files/client.crt
- +51 −0 acceptance/files/client.key
- +32 −0 acceptance/files/server.crt
- +51 −0 acceptance/files/server.key
- +24 −0 acceptance/files/windows-client.cfg
- +8 −0 acceptance/lib/acceptance_spec_helper.rb
- +1 −0 acceptance/lib/helper.rb
- +144 −0 acceptance/lib/puppet/acceptance/common_utils.rb
- +19 −0 acceptance/lib/puppet/acceptance/git_utils.rb
- +195 −0 acceptance/lib/puppet/acceptance/install_utils.rb
- +79 −0 acceptance/setup/aio/pre-suite/010_Install.rb
- +1 −0 acceptance/setup/aio/pre-suite/015_PackageHostsPresets.rb
- +3 −0 acceptance/setup/aio/pre-suite/045_EnsureMasterStartedOnPassenger.rb
- +99 −0 acceptance/setup/aio/pre-suite/050_Install-activemq.rb
- +90 −0 acceptance/setup/aio/pre-suite/060_Install-mcollective-daemon.rb
- +27 −0 acceptance/setup/aio/pre-suite/070_Install_puppet-agent-plugin.rb
- +9 −0 acceptance/setup/common/pre-suite/025_StopFirewall.rb
- +6 −0 acceptance/setup/common/pre-suite/040_ValidateSignCert.rb
- +93 −0 acceptance/setup/common/pre-suite/070_InstallCACerts.rb
- +1 −0 acceptance/setup/common/pre-suite/110_SetPEPuppetService.rb
- +16 −0 acceptance/ssl/ca/ca_crl.pem
- +32 −0 acceptance/ssl/ca/ca_crt.pem
- +51 −0 acceptance/ssl/ca/ca_key.pem
- +14 −0 acceptance/ssl/ca/ca_pub.pem
- +5 −0 acceptance/ssl/ca/inventory.txt
- +1 −0 acceptance/ssl/ca/private/ca.pass
- +1 −0 acceptance/ssl/ca/serial
- +31 −0 acceptance/ssl/ca/signed/activemq.pem
- +32 −0 acceptance/ssl/ca/signed/mcollective-client.pem
- +32 −0 acceptance/ssl/ca/signed/mcollective-server.pem
- +32 −0 acceptance/ssl/ca/signed/socks.local.pem
- +31 −0 acceptance/ssl/certs/activemq.pem
- +32 −0 acceptance/ssl/certs/ca.pem
- +32 −0 acceptance/ssl/certs/mcollective-client.pem
- +32 −0 acceptance/ssl/certs/mcollective-server.pem
- +32 −0 acceptance/ssl/certs/socks.local.pem
- +16 −0 acceptance/ssl/crl.pem
- +51 −0 acceptance/ssl/private_keys/activemq.pem
- +51 −0 acceptance/ssl/private_keys/mcollective-client.pem
- +51 −0 acceptance/ssl/private_keys/mcollective-server.pem
- +51 −0 acceptance/ssl/private_keys/socks.local.pem
- +14 −0 acceptance/ssl/public_keys/activemq.pem
- +14 −0 acceptance/ssl/public_keys/mcollective-client.pem
- +14 −0 acceptance/ssl/public_keys/mcollective-server.pem
- +14 −0 acceptance/ssl/public_keys/socks.local.pem
- +12 −0 acceptance/tests/mco_ping.rb
- +12 −0 acceptance/tests/mco_puppet_count.rb
- +118 −0 acceptance/tests/mco_puppet_powershell.rb
- +25 −2 bin/mco
- +6 −0 ext/aio/common/client.cfg.dist
- +6 −0 ext/aio/common/server.cfg.dist
- +30 −0 ext/aio/osx/mcollective.plist
- +44 −0 ext/aio/solaris/smf/mcollective.xml
- +2 −2 ext/aio/suse/mcollective.init
- +2 −2 ext/build_defaults.yaml
- +2 −2 ext/redhat/mcollective.service
- +1 −1 lib/mcollective.rb
- +1 −1 lib/mcollective/aggregate/average.ddl
- +87 −0 lib/mcollective/application/describe_filter.rb
- +1 −1 lib/mcollective/config.rb
- +47 −5 lib/mcollective/matcher/scanner.rb
- +1 −1 lib/mcollective/optionparser.rb
- +36 −0 spec/unit/mcollective/matcher/scanner_spec.rb
- +19 −0 website/changelog.md
- +1 −1 website/deploy/install.md
- +5 −5 website/deploy/middleware/activemq.md
- +1 −0 website/plugin_directory/agent_file_manager.markdown
- +1 −0 website/plugin_directory/agent_iptables_junk_filter.markdown
- +1 −0 website/plugin_directory/agent_metadata.markdown
- +5 −5 website/plugin_directory/agent_registration_mongodb.markdown
- +3 −3 website/plugin_directory/agent_registration_monitor.markdown
- +1 −0 website/plugin_directory/authorization_action_policy.markdown
- +7 −11 website/plugin_directory/central_rpc_log.markdown
- +7 −0 website/plugin_directory/discovery_assisted_ssh.markdown
- +2 −1 website/plugin_directory/facter.markdown
- +9 −9 website/plugin_directory/facter_via_yaml.markdown
- +12 −12 website/plugin_directory/index.markdown
- +2 −1 website/plugin_directory/logstash_rpc_audit_logs.markdown
- +1 −0 website/plugin_directory/net_test.markdown
- +3 −2 website/plugin_directory/none.markdown
- +2 −0 website/plugin_directory/nrpe_agent.markdown
- +8 −8 website/plugin_directory/ohai.markdown
- +1 −0 website/plugin_directory/package.markdown
- +3 −3 website/plugin_directory/packages.markdown
- +4 −4 website/plugin_directory/process_management.markdown
- +1 −0 website/plugin_directory/puppet_agent.markdown
- +8 −12 website/plugin_directory/puppet_ca.markdown
- +2 −2 website/plugin_directory/registration_metadata.markdown
- +1 −0 website/plugin_directory/resources_data_plugin.markdown
- +1 −0 website/plugin_directory/services.markdown
- +10 −11 website/plugin_directory/stomp_util.markdown
- +7 −3 website/plugin_directory/sysctl_data.markdown
- +1 −1 website/reference/basic/gettingstarted.md
- +1 −1 website/reference/basic/gettingstarted_debian.md
- +1 −1 website/reference/basic/gettingstarted_redhat.md
- +1 −1 website/reference/basic/messageformat.md
- +1 −1 website/reference/integration/activemq_clusters.md
- +1 −3 website/reference/plugins/aggregate.md
- +129 −0 website/releasenotes.md
| @@ -2,7 +2,12 @@ source 'https://rubygems.org' | ||
| gem 'json' | ||
| gem 'stomp' | ||
| gem 'systemu' | ||
| if RUBY_VERSION =~ /^1.8/ | ||
| gem 'systemu', '2.6.4' | ||
| else | ||
| gem 'systemu' | ||
| end | ||
| group :dev do | ||
| gem 'rake' | ||
| @@ -3,4 +3,4 @@ The Marionette Collective | ||
| The Marionette Collective aka. mcollective is a framework to build server orchestration or parallel job execution systems. | ||
| For full information, wikis, ticketing and downloads please see http://marionette-collective.org/ | ||
| For full information, wikis, ticketing and downloads please see https://puppetlabs.com/mcollective | ||
| @@ -0,0 +1,3 @@ | ||
| /log/ | ||
| /junit/ | ||
| /.vagrant |
| @@ -0,0 +1,27 @@ | ||
| # Specifies a gem mirror; duplicated in acceptance setup | ||
| # to ensure a similar environment on acceptance hosts. | ||
| source ENV['GEM_SOURCE'] || 'https://rubygems.org' | ||
| def location_for(place, fake_version = nil) | ||
| if place =~ /^(git:[^#]*)#(.*)/ | ||
| [fake_version, { :git => $1, :branch => $2, :require => false }].compact | ||
| elsif place =~ /^file:\/\/(.*)/ | ||
| ['>= 0', { :path => File.expand_path($1), :require => false }] | ||
| else | ||
| [place, { :require => false }] | ||
| end | ||
| end | ||
| gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '~> 2.8') | ||
| gem "rake", "~> 10.1" | ||
| gem "httparty", :require => false | ||
| gem 'uuidtools', :require => false | ||
| group(:test) do | ||
| gem "rspec", "~> 2.14.0", :require => false | ||
| gem "mocha", "~> 0.10.5", :require => false | ||
| end | ||
| if File.exists? "#{__FILE__}.local" | ||
| eval(File.read("#{__FILE__}.local"), binding) | ||
| end |
| @@ -0,0 +1,46 @@ | ||
| beaker tests for validation of MCollective in puppet-agent | ||
| # WARNING | ||
|  | ||
| **WARNING:** Under NO circumstances should you use **any** of the | ||
| certificate files located in the /acceptance directory or any of | ||
| its subdirectories in a production system. The private keys are | ||
| publicly available and **will** result in an insecure environment | ||
| # Files directory | ||
| /files contains pre-generated certificates and configuration files | ||
| that are used by the acceptance test pre-suites in order to quickly | ||
| facilitate a running environment on the system under test. The | ||
| certificates in the /files directory are for testing purposes only | ||
| and are publicly available. | ||
| These files were generated using the command outlined below, in the | ||
| *SSL setup* section. | ||
| # SSL setup | ||
| /ssl is a puppet master's ssl directory. Selected files from this | ||
| have been copied into the files/ directory, either directly as .pem | ||
| files, or combined into java truststores. | ||
| Commands used to set it up: | ||
| puppet master --ssldir=`pwd`/ssl | ||
| puppet cert --ssldir=`pwd`/ssl generate activemq | ||
| puppet cert --ssldir=`pwd`/ssl generate mcollective-client | ||
| puppet cert --ssldir=`pwd`/ssl generate mcollective-server | ||
| keytool -storepasswd -storepass notsecret -import -alias 'puppet ca' -file ssl/ca/ca_crt.pem -keystore files/activemq.truststore | ||
| cat ssl/private_keys/activemq.pem ssl/certs/activemq.pem > activemq.combined.pem | ||
| openssl pkcs12 -password pass:notsecret -export -in activemq.combined.pem -out activemq.p12 -name activemq.example.com | ||
| keytool -importkeystore -destkeystore files/activemq.keystore -deststorepass notsecret -srckeystore activemq.p12 -srcstoretype PKCS12 -srcstorepass notsecret -alias activemq.example.com | ||
| rm activemq.combined.pem activemq.p12 | ||
| cp ssl/ca/ca_crt.pem files/ca_crt.pem | ||
| cp ssl/certs/mcollective-server.pem files/server.crt | ||
| cp ssl/private_keys/mcollective-server.pem files/server.key | ||
| cp ssl/certs/mcollective-client.pem files/client.crt | ||
| cp ssl/private_keys/mcollective-client.pem files/client.key |
Oops, something went wrong.