puppetlabs-onceover 5.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.devcontainer/devcontainer.json +31 -0
- data/.gitattributes +2 -0
- data/.github/workflows/ci.yml +81 -0
- data/.github/workflows/mend.yml +14 -0
- data/.github/workflows/nightly.yml +66 -0
- data/.github/workflows/release.yaml +16 -0
- data/.github/workflows/release_prep.yml +20 -0
- data/.gitignore +19 -0
- data/.rubocop.yml +19 -0
- data/.rubocop_todo.yml +804 -0
- data/.vscode/extensions.json +4 -0
- data/ARCHIVE.md +395 -0
- data/CHANGELOG.md +25 -0
- data/CODEOWNERS +2 -0
- data/Gemfile +65 -0
- data/LICENSE +202 -0
- data/README.md +965 -0
- data/Rakefile +86 -0
- data/bin/puppetlabs-onceover +17 -0
- data/cucumber.yml +1 -0
- data/factsets/AIX-6.1-powerpc.json +210 -0
- data/factsets/AIX-7.1-powerpc.json +215 -0
- data/factsets/Amazon-2018.03.json +420 -0
- data/factsets/CentOS-5.11-32.json +263 -0
- data/factsets/CentOS-5.11-64.json +263 -0
- data/factsets/CentOS-6.6-32.json +306 -0
- data/factsets/CentOS-6.6-64.json +342 -0
- data/factsets/CentOS-7.0-64.json +352 -0
- data/factsets/CentOS-8.3.2011-64.json +485 -0
- data/factsets/Debian-10.4-64.json +476 -0
- data/factsets/Debian-6.0.10-32.json +322 -0
- data/factsets/Debian-6.0.10-64.json +322 -0
- data/factsets/Debian-7.8-32.json +338 -0
- data/factsets/Debian-7.8-64.json +338 -0
- data/factsets/Debian-8.11-64.json +480 -0
- data/factsets/Debian-9.12-64.json +476 -0
- data/factsets/RHEL-6.7.json +415 -0
- data/factsets/RHEL-7.4.json +489 -0
- data/factsets/SLES-11.3-64.json +317 -0
- data/factsets/SLES-12.1-64.json +353 -0
- data/factsets/Ubuntu-12.04-32.json +328 -0
- data/factsets/Ubuntu-12.04-64.json +328 -0
- data/factsets/Ubuntu-14.04-32.json +337 -0
- data/factsets/Ubuntu-14.04-64.json +373 -0
- data/factsets/Ubuntu-18.04-64.json +556 -0
- data/factsets/Ubuntu-20.04-64.json +504 -0
- data/factsets/Windows_Server-2008r2-64.json +184 -0
- data/factsets/Windows_Server-2012r2-64.json +165 -0
- data/factsets/solaris-10_u9-sparc-64.json +769 -0
- data/factsets/solaris-11.2-sparc-64.json +774 -0
- data/factsets/windows-10-64.json +104 -0
- data/features/auto_vendored.feature +27 -0
- data/features/cache.feature +38 -0
- data/features/factsets.feature +48 -0
- data/features/formatting.feature +36 -0
- data/features/help.feature +14 -0
- data/features/init.feature +18 -0
- data/features/show.feature +28 -0
- data/features/step_definitions/cache.rb +38 -0
- data/features/step_definitions/common.rb +123 -0
- data/features/step_definitions/formatter.rb +41 -0
- data/features/step_definitions/init.rb +17 -0
- data/features/step_definitions/run.rb +17 -0
- data/features/support/cache_helper.rb +54 -0
- data/features/support/command_helper.rb +32 -0
- data/features/support/controlrepo_helper.rb +36 -0
- data/features/support/env.rb +2 -0
- data/features/windows.feature +35 -0
- data/features/zzz_run.feature +93 -0
- data/lib/puppetlabs-onceover/beaker/spec_helper.rb +71 -0
- data/lib/puppetlabs-onceover/beaker.rb +241 -0
- data/lib/puppetlabs-onceover/class.rb +56 -0
- data/lib/puppetlabs-onceover/cli/init.rb +34 -0
- data/lib/puppetlabs-onceover/cli/plugins.rb +10 -0
- data/lib/puppetlabs-onceover/cli/run.rb +85 -0
- data/lib/puppetlabs-onceover/cli/show.rb +79 -0
- data/lib/puppetlabs-onceover/cli/update.rb +48 -0
- data/lib/puppetlabs-onceover/cli.rb +47 -0
- data/lib/puppetlabs-onceover/controlrepo.rb +688 -0
- data/lib/puppetlabs-onceover/deploy.rb +171 -0
- data/lib/puppetlabs-onceover/group.rb +78 -0
- data/lib/puppetlabs-onceover/logger.rb +32 -0
- data/lib/puppetlabs-onceover/node.rb +72 -0
- data/lib/puppetlabs-onceover/rake_tasks.rb +95 -0
- data/lib/puppetlabs-onceover/rspec/formatters.rb +315 -0
- data/lib/puppetlabs-onceover/runner.rb +139 -0
- data/lib/puppetlabs-onceover/test.rb +135 -0
- data/lib/puppetlabs-onceover/testconfig.rb +315 -0
- data/lib/puppetlabs-onceover/vendored_modules.rb +202 -0
- data/lib/puppetlabs-onceover/version.rb +5 -0
- data/puppetlabs-onceover.gemspec +40 -0
- data/spec/fixtures/controlrepos/basic/Puppetfile +17 -0
- data/spec/fixtures/controlrepos/basic/environment.conf +7 -0
- data/spec/fixtures/controlrepos/basic/hieradata/common.yaml +2 -0
- data/spec/fixtures/controlrepos/basic/hieradata/nodes/example-node.yaml +1 -0
- data/spec/fixtures/controlrepos/basic/manifests/site.pp +32 -0
- data/spec/fixtures/controlrepos/basic/manifests_alternate/site.pp +2 -0
- data/spec/fixtures/controlrepos/basic/site/profile/manifests/base.pp +5 -0
- data/spec/fixtures/controlrepos/basic/site/profile/manifests/example.pp +3 -0
- data/spec/fixtures/controlrepos/basic/site/role/manifests/database_server.pp +7 -0
- data/spec/fixtures/controlrepos/basic/site/role/manifests/example.pp +3 -0
- data/spec/fixtures/controlrepos/basic/site/role/manifests/webserver.pp +7 -0
- data/spec/fixtures/controlrepos/caching/.gitignore +1 -0
- data/spec/fixtures/controlrepos/caching/.travis.yml +2 -0
- data/spec/fixtures/controlrepos/caching/Gemfile +5 -0
- data/spec/fixtures/controlrepos/caching/Puppetfile +17 -0
- data/spec/fixtures/controlrepos/caching/Rakefile +1 -0
- data/spec/fixtures/controlrepos/caching/deleteme.txt +0 -0
- data/spec/fixtures/controlrepos/caching/environment.conf +2 -0
- data/spec/fixtures/controlrepos/caching/hieradata/common.yaml +2 -0
- data/spec/fixtures/controlrepos/caching/hieradata/nodes/example-node.yaml +1 -0
- data/spec/fixtures/controlrepos/caching/manifests/site.pp +33 -0
- data/spec/fixtures/controlrepos/caching/site/profile/manifests/base.pp +5 -0
- data/spec/fixtures/controlrepos/caching/site/profile/manifests/example.pp +3 -0
- data/spec/fixtures/controlrepos/caching/site/role/manifests/database_server.pp +7 -0
- data/spec/fixtures/controlrepos/caching/site/role/manifests/example.pp +3 -0
- data/spec/fixtures/controlrepos/caching/site/role/manifests/webserver.pp +7 -0
- data/spec/fixtures/controlrepos/caching/spec/factsets/Debian-10-facter-4.json +1091 -0
- data/spec/fixtures/controlrepos/caching/spec/factsets/README.md +7 -0
- data/spec/fixtures/controlrepos/caching/spec/onceover.yaml +55 -0
- data/spec/fixtures/controlrepos/caching/spec/pre_conditions/README.md +24 -0
- data/spec/fixtures/controlrepos/caching/spec/pre_conditions/escaping.pp +7 -0
- data/spec/fixtures/controlrepos/caching/spec/r10k.yaml +3 -0
- data/spec/fixtures/controlrepos/control_branch/Puppetfile +18 -0
- data/spec/fixtures/controlrepos/control_branch/environment.conf +2 -0
- data/spec/fixtures/controlrepos/custom_puppetfile/Puppetfile.custom +3 -0
- data/spec/fixtures/controlrepos/custom_puppetfile/environment.conf +7 -0
- data/spec/fixtures/controlrepos/factsets/environment.conf +1 -0
- data/spec/fixtures/controlrepos/factsets/site/profile/manifests/base.pp +6 -0
- data/spec/fixtures/controlrepos/factsets/site/role/manifests/example.pp +4 -0
- data/spec/fixtures/controlrepos/factsets/site/role/manifests/trusted_extensions.pp +6 -0
- data/spec/fixtures/controlrepos/factsets/site/role/manifests/trusted_external.pp +6 -0
- data/spec/fixtures/controlrepos/factsets/spec/factsets/README.md +7 -0
- data/spec/fixtures/controlrepos/factsets/spec/factsets/centos7_notrusted.json +530 -0
- data/spec/fixtures/controlrepos/factsets/spec/factsets/centos7_trusted_extensions_nested.json +535 -0
- data/spec/fixtures/controlrepos/factsets/spec/factsets/centos7_trusted_extensions_top.json +533 -0
- data/spec/fixtures/controlrepos/factsets/spec/factsets/centos7_trusted_external_nested.json +537 -0
- data/spec/fixtures/controlrepos/factsets/spec/factsets/centos7_trusted_external_top.json +535 -0
- data/spec/fixtures/controlrepos/factsets/spec/factsets/centos_7_facter_4.json +706 -0
- data/spec/fixtures/controlrepos/factsets/spec/factsets/centos_with_env.json +353 -0
- data/spec/fixtures/controlrepos/function_mocking/.gitignore +1 -0
- data/spec/fixtures/controlrepos/function_mocking/Puppetfile +4 -0
- data/spec/fixtures/controlrepos/function_mocking/Rakefile +1 -0
- data/spec/fixtures/controlrepos/function_mocking/environment.conf +2 -0
- data/spec/fixtures/controlrepos/function_mocking/site/profile/functions/fail_puppet.pp +5 -0
- data/spec/fixtures/controlrepos/function_mocking/site/profile/lib/puppet/functions/profile/fail_ruby.rb +9 -0
- data/spec/fixtures/controlrepos/function_mocking/site/profile/manifests/base.pp +10 -0
- data/spec/fixtures/controlrepos/function_mocking/site/role/manifests/fail.pp +7 -0
- data/spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_data_return.pp +19 -0
- data/spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_new_functions.pp +12 -0
- data/spec/fixtures/controlrepos/function_mocking/spec/onceover.yaml +50 -0
- data/spec/fixtures/controlrepos/minimal/environment.conf +2 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/.atom-build.json +9 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/.gitignore +5 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/.ruby-version +1 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/.travis.yml +13 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/Gemfile +22 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/Jenkinsfile +50 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/Puppetfile +102 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/README.md +4 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/Rakefile +33 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/data/common.yaml +558 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/data/datacenter/melbourne.yaml +12 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/data/datacenter/singapore.yaml +12 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/data/environments/development.yaml +3 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/data/environments/production.yaml +3 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/data/size/vol.large.yaml +27 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/environment.conf +3 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/hiera.yaml +25 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/manifests/site.pp +11 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/code_manager_config_version.rb +19 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/config_version.rb +25 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/config_version.sh +12 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/count_changed_classes.rb +26 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/get_changed_classes.rb +26 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/functions/user/token.pp +10 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/manifests/init.pp +14 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/manifests/user.pp +35 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/deployments/lib/puppet/functions/deployments/generate.rb +15 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/deployments/plans/signed_deployment.pp +126 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/facts.d/test.sh +2 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/artifactory/config_descriptor.xml +265 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/autosign.sh +23 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/hudson.tasks.Shell.xml +4 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/motd +4 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/polar_clock/index.html +198 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/apt.pp +9 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/aws_nodes.pp +54 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/aws.pp +9 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/rhel.pp +50 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/windows/hardening.pp +57 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/windows.pp +52 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base.pp +79 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/artifactory.pp +64 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/connection.pp +95 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/haproxy.pp +65 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/replicated.pp +53 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/compile/balancer.pp +28 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/compile/master.pp +19 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/dns/host_record.pp +16 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/dns/server.pp +66 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/docker.pp +5 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/base.pp +43 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/core/database_connection.pp +42 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/core.pp +72 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/ctrl.pp +57 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/database.pp +32 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/exec.pp +11 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/file_sync/client.pp +165 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/file_sync/master_patch.pp +37 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/grafana/dashboard.pp +17 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/haproxy.pp +43 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/init.pp +3 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jenkins/plugins.pp +87 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jenkins.pp +65 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/aio.pp +39 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/app.pp +27 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/db.pp +25 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/collectd/compile.pp +82 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/collectd.pp +28 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/dashboard.pp +28 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/mysql_server.pp +7 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/nginx.pp +24 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/polar_clock.pp +55 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/api_auth.pp +82 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/autosign.pp +33 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/aws.pp +58 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/tuning.pp +139 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster.pp +139 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/rvm.pp +13 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/sumologic.pp +11 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/sunburst/windows.pp +104 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/vagrant.pp +25 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/windows/webserver.pp +27 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/cd4pe/connection_script.sh.epp +110 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/controlrepo_deploy_jenkins_job.xml.epp +51 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/dashboard.json.epp +403 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/jenkins_secret_text.json.epp +1 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/onceover_jenkins_job.xml.epp +51 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/userdata.epp +17 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/cd4pe.pp +29 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/clock.pp +16 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/compile/balancer.pp +5 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/compile/master.pp +5 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/aio.pp +10 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/controller.pp +10 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/database.pp +7 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/exec.pp +6 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/init.pp +3 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/lb.pp +14 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/metrics.pp +5 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/mysql.pp +13 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/windows/base.pp +5 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/windows/webserver.pp +6 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/.gitignore +5 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/acceptance/nodesets/onceover-nodes.yml +94 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/classes/test_spec.rb +8 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64-master-2017.3.2.json +531 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64-master.json +429 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64.json +353 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/Windows_Server-2008r2-64.json +184 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/Windows_Server-2012r2-64.json +165 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/hiera.yaml +18 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/matchers/file_matchers.rb +16 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/onceover.yaml +54 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/pre_conditions/site.pp +150 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/r10k.yaml +2 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/shared_examples/helper.rb +91 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/00_parse_spec.rb +76 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/01_linting_spec_example.rb +69 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/03_puppetfile_spec_example.rb +35 -0
- data/spec/fixtures/controlrepos/vendored/Puppetfile +3 -0
- data/spec/fixtures/controlrepos/vendored/Puppetfile.cron +5 -0
- data/spec/fixtures/controlrepos/vendored/environment.conf +1 -0
- data/spec/fixtures/controlrepos/vendored/site-modules/role/manifests/cron.pp +9 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/augeas_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/augeas_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/cron_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/cron_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/host_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/host_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/mount_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/mount_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/repo_tree-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/repo_tree-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/scheduled_task-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/scheduled_task-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/selinux_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/selinux_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/sshkeys_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/sshkeys_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/yumrepo_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/yumrepo_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zfs_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zfs_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zone_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zone_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/windows/Gemfile +3 -0
- data/spec/fixtures/controlrepos/windows/Puppetfile +8 -0
- data/spec/fixtures/controlrepos/windows/environment.conf +1 -0
- data/spec/fixtures/controlrepos/windows/site/role/manifests/groups.pp +8 -0
- data/spec/fixtures/controlrepos/windows/site/role/manifests/users.pp +9 -0
- data/spec/fixtures/controlrepos/windows/site-modules/role/manifests/acl.pp +12 -0
- data/spec/fixtures/controlrepos/windows/site-modules/role/manifests/choco.pp +9 -0
- data/spec/fixtures/controlrepos/windows/site-modules/role/manifests/groups.pp +8 -0
- data/spec/fixtures/controlrepos/windows/site-modules/role/manifests/users.pp +9 -0
- data/spec/fixtures/controlrepos/windows/spec/onceover.yaml +24 -0
- data/spec/puppetlabs-onceover/controlrepo_spec.rb +18 -0
- data/spec/spec_helper.rb +8 -0
- data/templates/.fixtures.yml.erb +24 -0
- data/templates/Gemfile.erb +3 -0
- data/templates/Rakefile.erb +1 -0
- data/templates/acceptance_test_spec.rb.erb +66 -0
- data/templates/controlrepo.yaml.erb +38 -0
- data/templates/error_summary.yaml.erb +17 -0
- data/templates/factsets_README.md.erb +10 -0
- data/templates/nodeset.yaml.erb +12 -0
- data/templates/pre_conditions_README.md.erb +24 -0
- data/templates/spec_helper.rb.erb +35 -0
- data/templates/spec_helper_acceptance.rb.erb +1 -0
- data/templates/test_spec.rb.erb +150 -0
- data/templates/testconfig_Rakefile.erb +47 -0
- metadata +602 -0
data/Rakefile
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
require 'rubygems/tasks'
|
|
2
|
+
require 'rspec/core/rake_task'
|
|
3
|
+
require 'cucumber/rake/task'
|
|
4
|
+
require 'puppet/version'
|
|
5
|
+
Gem::Tasks.new
|
|
6
|
+
|
|
7
|
+
def windows?
|
|
8
|
+
# Ruby only sets File::ALT_SEPARATOR on Windows and the Ruby standard
|
|
9
|
+
# library uses that to test what platform it's on.
|
|
10
|
+
!!File::ALT_SEPARATOR
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
RSpec::Core::RakeTask.new(:spec) do |t|
|
|
14
|
+
t.rspec_opts = '--pattern spec/puppetlabs-onceover/**/*_spec.rb'
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
RSpec::Core::RakeTask.new(:acceptance) do |t|
|
|
18
|
+
t.rspec_opts = '--pattern spec/acceptance/**/*_spec.rb'
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
# Cucumber task that intelligently skips test tagged with a minimum puppet
|
|
22
|
+
# version in the format "@puppet6"
|
|
23
|
+
Cucumber::Rake::Task.new(:cucumber) do |t|
|
|
24
|
+
major_version = Gem::Version.new(Puppet.version).segments[0]
|
|
25
|
+
|
|
26
|
+
# Create a list of tags to skip based on the next 3 major versions
|
|
27
|
+
skip_tags = ((major_version + 1)..(major_version + 3)).map { |v| "@puppet#{v}"}
|
|
28
|
+
|
|
29
|
+
# Generate logic string
|
|
30
|
+
skip_string = "not #{skip_tags.join(' and not ')}"
|
|
31
|
+
|
|
32
|
+
t.cucumber_opts = "--tags \"#{skip_string}\"" # Any valid command line option can go here.
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
task default: :full_tests
|
|
36
|
+
|
|
37
|
+
desc "Run unit tests"
|
|
38
|
+
task rspec_unit_tests: [:syntax, :spec]
|
|
39
|
+
|
|
40
|
+
desc "Run acceptance cucumber tests"
|
|
41
|
+
task cucumber_acceptance_tests: [:syntax, :fixtures, :cucumber]
|
|
42
|
+
|
|
43
|
+
desc "Run full set of tests"
|
|
44
|
+
task full_tests: [:rspec_unit_tests, :cucumber_acceptance_tests]
|
|
45
|
+
|
|
46
|
+
task :syntax do
|
|
47
|
+
paths = ['lib', 'spec/puppetlabs-onceover', 'features']
|
|
48
|
+
require 'find'
|
|
49
|
+
Find.find(*paths) do |path|
|
|
50
|
+
next unless path =~ /\.rb$/
|
|
51
|
+
|
|
52
|
+
if windows?
|
|
53
|
+
sh "ruby -cw #{path} > NUL"
|
|
54
|
+
else
|
|
55
|
+
sh "ruby -cw #{path} > /dev/null"
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
task :fixtures do
|
|
61
|
+
system 'git submodule init && git submodule update --recursive'
|
|
62
|
+
raise "Couldn't clone controlrepo to fixtures directory" unless $?.success?
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
begin
|
|
66
|
+
require 'puppetlabs-syntax/tasks/puppetlabs-syntax'
|
|
67
|
+
rescue LoadError
|
|
68
|
+
# the puppetlabs-syntax gem is optional
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
begin
|
|
72
|
+
require 'rubygems'
|
|
73
|
+
require 'github_changelog_generator/task'
|
|
74
|
+
rescue LoadError
|
|
75
|
+
# Do nothing if no required gem installed
|
|
76
|
+
else
|
|
77
|
+
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
|
78
|
+
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog github_actions]
|
|
79
|
+
config.user = 'puppetlabs'
|
|
80
|
+
config.project = 'puppetlabs-onceover'
|
|
81
|
+
gem_version = Gem::Specification.load("#{config.project}.gemspec").version
|
|
82
|
+
config.future_release = "v#{gem_version}"
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
PuppetlabsSyntax.exclude_paths = ['vendor/**/*', 'templates/**/*', 'spec/fixtures/**/*']
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require 'puppetlabs-onceover/cli'
|
|
4
|
+
require 'colored'
|
|
5
|
+
|
|
6
|
+
begin
|
|
7
|
+
PuppetlabsOnceover::CLI.command.run(ARGV)
|
|
8
|
+
rescue Interrupt
|
|
9
|
+
warn "Aborted!".red
|
|
10
|
+
exit(1)
|
|
11
|
+
rescue SystemExit => e
|
|
12
|
+
exit(e.status)
|
|
13
|
+
rescue Exception => e
|
|
14
|
+
warn "\nError while running: #{e.inspect}".red
|
|
15
|
+
warn e.backtrace.join("\n").red if ARGV.include? '--trace'
|
|
16
|
+
exit(1)
|
|
17
|
+
end
|
data/cucumber.yml
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
default: --publish-quiet
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pe-aix-61-se.delivery.puppetlabs.net",
|
|
3
|
+
"values": {
|
|
4
|
+
"aio_agent_version": "1.8.2",
|
|
5
|
+
"architecture": "PowerPC_POWER7",
|
|
6
|
+
"augeas": {
|
|
7
|
+
"version": "1.4.0"
|
|
8
|
+
},
|
|
9
|
+
"augeasversion": "1.4.0",
|
|
10
|
+
"domain": "delivery.puppetlabs.net",
|
|
11
|
+
"facterversion": "3.5.0",
|
|
12
|
+
"fqdn": "pe-aix-61-se.delivery.puppetlabs.net",
|
|
13
|
+
"gid": "system",
|
|
14
|
+
"hardwareisa": "powerpc",
|
|
15
|
+
"hardwaremodel": "IBM,8231-E1D",
|
|
16
|
+
"hostname": "pe-aix-61-se",
|
|
17
|
+
"id": "root",
|
|
18
|
+
"identity": {
|
|
19
|
+
"gid": 0,
|
|
20
|
+
"group": "system",
|
|
21
|
+
"privileged": true,
|
|
22
|
+
"uid": 0,
|
|
23
|
+
"user": "root"
|
|
24
|
+
},
|
|
25
|
+
"interfaces": "lo0,en0",
|
|
26
|
+
"ipaddress": "10.32.77.35",
|
|
27
|
+
"ipaddress6_lo0": "::1",
|
|
28
|
+
"ipaddress_en0": "10.32.77.35",
|
|
29
|
+
"ipaddress_lo0": "127.0.0.1",
|
|
30
|
+
"kernel": "AIX",
|
|
31
|
+
"kernelmajversion": "6100",
|
|
32
|
+
"kernelrelease": "6100-07-04-1216",
|
|
33
|
+
"kernelversion": "6100",
|
|
34
|
+
"macaddress": "66:a4:d9:f8:4a:04",
|
|
35
|
+
"macaddress_en0": "66:a4:d9:f8:4a:04",
|
|
36
|
+
"memory": {
|
|
37
|
+
"swap": {
|
|
38
|
+
"available": "410.43 MiB",
|
|
39
|
+
"available_bytes": 430366720,
|
|
40
|
+
"capacity": "19.84%",
|
|
41
|
+
"total": "512.00 MiB",
|
|
42
|
+
"total_bytes": 536870912,
|
|
43
|
+
"used": "101.57 MiB",
|
|
44
|
+
"used_bytes": 106504192
|
|
45
|
+
},
|
|
46
|
+
"system": {
|
|
47
|
+
"available": "10.88 MiB",
|
|
48
|
+
"available_bytes": 11403264,
|
|
49
|
+
"capacity": "98.94%",
|
|
50
|
+
"total": "1.00 GiB",
|
|
51
|
+
"total_bytes": 1073741824,
|
|
52
|
+
"used": "1013.13 MiB",
|
|
53
|
+
"used_bytes": 1062338560
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"memoryfree": "10.88 MiB",
|
|
57
|
+
"memoryfree_mb": 10.875,
|
|
58
|
+
"memorysize": "1.00 GiB",
|
|
59
|
+
"memorysize_mb": 1024.0,
|
|
60
|
+
"mtu_en0": 1500,
|
|
61
|
+
"mtu_lo0": 16896,
|
|
62
|
+
"netmask": "255.255.255.0",
|
|
63
|
+
"netmask6_lo0": "::",
|
|
64
|
+
"netmask_en0": "255.255.255.0",
|
|
65
|
+
"netmask_lo0": "255.0.0.0",
|
|
66
|
+
"network": "10.32.77.0",
|
|
67
|
+
"network6_lo0": "::",
|
|
68
|
+
"network_en0": "10.32.77.0",
|
|
69
|
+
"network_lo0": "127.0.0.0",
|
|
70
|
+
"networking": {
|
|
71
|
+
"domain": "delivery.puppetlabs.net",
|
|
72
|
+
"fqdn": "pe-aix-61-se.delivery.puppetlabs.net",
|
|
73
|
+
"hostname": "pe-aix-61-se",
|
|
74
|
+
"interfaces": {
|
|
75
|
+
"en0": {
|
|
76
|
+
"bindings": [
|
|
77
|
+
{
|
|
78
|
+
"address": "10.32.77.35",
|
|
79
|
+
"netmask": "255.255.255.0",
|
|
80
|
+
"network": "10.32.77.0"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"ip": "10.32.77.35",
|
|
84
|
+
"mac": "66:a4:d9:f8:4a:04",
|
|
85
|
+
"mtu": 1500,
|
|
86
|
+
"netmask": "255.255.255.0",
|
|
87
|
+
"network": "10.32.77.0"
|
|
88
|
+
},
|
|
89
|
+
"lo0": {
|
|
90
|
+
"bindings": [
|
|
91
|
+
{
|
|
92
|
+
"address": "127.0.0.1",
|
|
93
|
+
"netmask": "255.0.0.0",
|
|
94
|
+
"network": "127.0.0.0"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"bindings6": [
|
|
98
|
+
{
|
|
99
|
+
"address": "::1",
|
|
100
|
+
"netmask": "::",
|
|
101
|
+
"network": "::"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"ip": "127.0.0.1",
|
|
105
|
+
"ip6": "::1",
|
|
106
|
+
"mtu": 16896,
|
|
107
|
+
"netmask": "255.0.0.0",
|
|
108
|
+
"netmask6": "::",
|
|
109
|
+
"network": "127.0.0.0",
|
|
110
|
+
"network6": "::"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"ip": "10.32.77.35",
|
|
114
|
+
"mac": "66:a4:d9:f8:4a:04",
|
|
115
|
+
"mtu": 1500,
|
|
116
|
+
"netmask": "255.255.255.0",
|
|
117
|
+
"network": "10.32.77.0",
|
|
118
|
+
"primary": "en0"
|
|
119
|
+
},
|
|
120
|
+
"operatingsystem": "AIX",
|
|
121
|
+
"operatingsystemmajrelease": "6100",
|
|
122
|
+
"operatingsystemrelease": "6100-07-04-1216",
|
|
123
|
+
"os": {
|
|
124
|
+
"architecture": "PowerPC_POWER7",
|
|
125
|
+
"family": "AIX",
|
|
126
|
+
"hardware": "IBM,8231-E1D",
|
|
127
|
+
"name": "AIX",
|
|
128
|
+
"release": {
|
|
129
|
+
"full": "6100-07-04-1216",
|
|
130
|
+
"major": "6100"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"osfamily": "AIX",
|
|
134
|
+
"path": "::/usr/bin:/etc:/usr/sbin:/sbin",
|
|
135
|
+
"processor0": "PowerPC_POWER7",
|
|
136
|
+
"processor1": "PowerPC_POWER7",
|
|
137
|
+
"processor2": "PowerPC_POWER7",
|
|
138
|
+
"processor3": "PowerPC_POWER7",
|
|
139
|
+
"processor4": "PowerPC_POWER7",
|
|
140
|
+
"processor5": "PowerPC_POWER7",
|
|
141
|
+
"processor6": "PowerPC_POWER7",
|
|
142
|
+
"processor7": "PowerPC_POWER7",
|
|
143
|
+
"processorcount": 8,
|
|
144
|
+
"processors": {
|
|
145
|
+
"count": 8,
|
|
146
|
+
"isa": "powerpc",
|
|
147
|
+
"models": [
|
|
148
|
+
"PowerPC_POWER7",
|
|
149
|
+
"PowerPC_POWER7",
|
|
150
|
+
"PowerPC_POWER7",
|
|
151
|
+
"PowerPC_POWER7",
|
|
152
|
+
"PowerPC_POWER7",
|
|
153
|
+
"PowerPC_POWER7",
|
|
154
|
+
"PowerPC_POWER7",
|
|
155
|
+
"PowerPC_POWER7"
|
|
156
|
+
],
|
|
157
|
+
"speed": "4.23 GHz"
|
|
158
|
+
},
|
|
159
|
+
"puppetversion": "4.8.1",
|
|
160
|
+
"ruby": {
|
|
161
|
+
"platform": "powerpc-aix6.1.0.0",
|
|
162
|
+
"sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
|
|
163
|
+
"version": "2.1.9"
|
|
164
|
+
},
|
|
165
|
+
"rubyplatform": "powerpc-aix6.1.0.0",
|
|
166
|
+
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
|
|
167
|
+
"rubyversion": "2.1.9",
|
|
168
|
+
"serialnumber": "21280CV",
|
|
169
|
+
"ssh": {
|
|
170
|
+
"dsa": {
|
|
171
|
+
"fingerprints": {
|
|
172
|
+
"sha1": "SSHFP 2 1 571109ba578ea17c854dcefad0e667bbbe4232c2",
|
|
173
|
+
"sha256": "SSHFP 2 2 acd6ea2ff8cc0a0a8be88e6dada2688a17b7adb2a52312745208696f99dce945"
|
|
174
|
+
},
|
|
175
|
+
"key": "AAAAB3NzaC1kc3MAAACBAPJEJEzFa4YmVyS17c4Cs8ZWFJIg+igYRWiG/oJ4KMAu9R+cq3TuokGp0h5/T69yNeOn32h1WPYPIjnr14FyOr5Bb6+h+ej3WKnS1IpAGSy2H8Z21r4Cz0qX+madm/dGrtN1TI+6OV1xXXICZB0F0Lg4xilzix431nGunqbm1XXLAAAAFQDjxidL5XtudVMcTUzGFQ33cVwdTwAAAIBUjvKhMQP1304lW+Fr7A35ypaQrCVbsJFQD4egb9fGKY5WKIlQo7UGS/jvDtPS7iRDaLdiC2K5D4MYM9EUHgkprIO1d/o0i2UsYgec8WCJSBja/I4n0slEl7XEwM3SmnYNT0xfZM01Caj9+AyJFtRoF7l00QjSoxyOGMlEfvbCDAAAAIEA8MTmNjwDneigJnnxK9ZL4cvW4zQ+PQDglCdjJ2sB/IcpSvVyu6R9jbHSnfKhergRmmNJzKNA1Oc/INvNr4i9FFAuXEKkafmUyMavgd19uMxdpTAcvOJxwhG8TCrLQtJbm8Rn1e5wFM+4wnpc2y7HsBYGonmK9O5p9Fd3qkUx4BY="
|
|
176
|
+
},
|
|
177
|
+
"rsa": {
|
|
178
|
+
"fingerprints": {
|
|
179
|
+
"sha1": "SSHFP 1 1 2faed3b06ba31bcbf069dcdb759d36730a2c649d",
|
|
180
|
+
"sha256": "SSHFP 1 2 51fbfd79200a8667eeb1a8a4eee2487bbdee663189a9ca86a07069f5d95f9826"
|
|
181
|
+
},
|
|
182
|
+
"key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDP+DHJRMbR8a4WvTwUGnz9rq+hHDVcP26xG+WIvIC5vlBk/N2lcrD7qs45Ht1kpZo4k4td+PQmi2k6I3BSVEeR9FTwbHEtjv8op1F7VTPXSSdY+90/CiQ4MA5s7d2Lbm5jipMV6dCneYZWsEkHKHzcp/Qst3w+0JSAHpx1wEOAlk/uJuLHHvAFYPZtdwzxTOW8/di5CpBIz/Pl1gcO8vQrFygvkFdYKPL44/zS3MZbmi7Hi6Q0PdcarFlWn6IodAlVSrJ/hcBbMkXJWV2L3zCt5nX4tJkYoOU9IIjGQEh+1cmIcWGdXpyvyaUnbSXJsFP9yAzi+MszYLJq9mUKIYch"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"sshdsakey": "AAAAB3NzaC1kc3MAAACBAPJEJEzFa4YmVyS17c4Cs8ZWFJIg+igYRWiG/oJ4KMAu9R+cq3TuokGp0h5/T69yNeOn32h1WPYPIjnr14FyOr5Bb6+h+ej3WKnS1IpAGSy2H8Z21r4Cz0qX+madm/dGrtN1TI+6OV1xXXICZB0F0Lg4xilzix431nGunqbm1XXLAAAAFQDjxidL5XtudVMcTUzGFQ33cVwdTwAAAIBUjvKhMQP1304lW+Fr7A35ypaQrCVbsJFQD4egb9fGKY5WKIlQo7UGS/jvDtPS7iRDaLdiC2K5D4MYM9EUHgkprIO1d/o0i2UsYgec8WCJSBja/I4n0slEl7XEwM3SmnYNT0xfZM01Caj9+AyJFtRoF7l00QjSoxyOGMlEfvbCDAAAAIEA8MTmNjwDneigJnnxK9ZL4cvW4zQ+PQDglCdjJ2sB/IcpSvVyu6R9jbHSnfKhergRmmNJzKNA1Oc/INvNr4i9FFAuXEKkafmUyMavgd19uMxdpTAcvOJxwhG8TCrLQtJbm8Rn1e5wFM+4wnpc2y7HsBYGonmK9O5p9Fd3qkUx4BY=",
|
|
186
|
+
"sshfp_dsa": "SSHFP 2 1 571109ba578ea17c854dcefad0e667bbbe4232c2\nSSHFP 2 2 acd6ea2ff8cc0a0a8be88e6dada2688a17b7adb2a52312745208696f99dce945",
|
|
187
|
+
"sshfp_rsa": "SSHFP 1 1 2faed3b06ba31bcbf069dcdb759d36730a2c649d\nSSHFP 1 2 51fbfd79200a8667eeb1a8a4eee2487bbdee663189a9ca86a07069f5d95f9826",
|
|
188
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDP+DHJRMbR8a4WvTwUGnz9rq+hHDVcP26xG+WIvIC5vlBk/N2lcrD7qs45Ht1kpZo4k4td+PQmi2k6I3BSVEeR9FTwbHEtjv8op1F7VTPXSSdY+90/CiQ4MA5s7d2Lbm5jipMV6dCneYZWsEkHKHzcp/Qst3w+0JSAHpx1wEOAlk/uJuLHHvAFYPZtdwzxTOW8/di5CpBIz/Pl1gcO8vQrFygvkFdYKPL44/zS3MZbmi7Hi6Q0PdcarFlWn6IodAlVSrJ/hcBbMkXJWV2L3zCt5nX4tJkYoOU9IIjGQEh+1cmIcWGdXpyvyaUnbSXJsFP9yAzi+MszYLJq9mUKIYch",
|
|
189
|
+
"swapfree": "410.43 MiB",
|
|
190
|
+
"swapfree_mb": 410.4296875,
|
|
191
|
+
"swapsize": "512.00 MiB",
|
|
192
|
+
"swapsize_mb": 512.0,
|
|
193
|
+
"system_uptime": {
|
|
194
|
+
"days": 418,
|
|
195
|
+
"hours": 10035,
|
|
196
|
+
"seconds": 36127200,
|
|
197
|
+
"uptime": "418 days"
|
|
198
|
+
},
|
|
199
|
+
"timezone": "PST",
|
|
200
|
+
"uptime": "418 days",
|
|
201
|
+
"uptime_days": 418,
|
|
202
|
+
"uptime_hours": 10035,
|
|
203
|
+
"uptime_seconds": 36127200,
|
|
204
|
+
"clientcert": "pe-aix-61-se.delivery.puppetlabs.net",
|
|
205
|
+
"clientversion": "4.8.1",
|
|
206
|
+
"clientnoop": false
|
|
207
|
+
},
|
|
208
|
+
"timestamp": "2017-02-06T21:22:42.673194000-08:00",
|
|
209
|
+
"expiration": "2017-02-06T21:52:42.675976000-08:00"
|
|
210
|
+
}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pe-aix-71-se.delivery.puppetlabs.net",
|
|
3
|
+
"values": {
|
|
4
|
+
"aio_agent_version": "1.5.2",
|
|
5
|
+
"architecture": "PowerPC_POWER7",
|
|
6
|
+
"augeas": {
|
|
7
|
+
"version": "1.4.0"
|
|
8
|
+
},
|
|
9
|
+
"augeasversion": "1.4.0",
|
|
10
|
+
"domain": "delivery.puppetlabs.net",
|
|
11
|
+
"facterversion": "3.2.0",
|
|
12
|
+
"fqdn": "pe-aix-71-se.delivery.puppetlabs.net",
|
|
13
|
+
"gid": "system",
|
|
14
|
+
"hardwareisa": "powerpc",
|
|
15
|
+
"hardwaremodel": "IBM,8231-E1D",
|
|
16
|
+
"hostname": "pe-aix-71-se",
|
|
17
|
+
"id": "root",
|
|
18
|
+
"identity": {
|
|
19
|
+
"gid": 0,
|
|
20
|
+
"group": "system",
|
|
21
|
+
"uid": 0,
|
|
22
|
+
"user": "root"
|
|
23
|
+
},
|
|
24
|
+
"interfaces": "lo0,en0",
|
|
25
|
+
"ipaddress": "10.32.77.36",
|
|
26
|
+
"ipaddress6_lo0": "::1",
|
|
27
|
+
"ipaddress_en0": "10.32.77.36",
|
|
28
|
+
"ipaddress_lo0": "127.0.0.1",
|
|
29
|
+
"is_pe": false,
|
|
30
|
+
"kernel": "AIX",
|
|
31
|
+
"kernelmajversion": "7100",
|
|
32
|
+
"kernelrelease": "7100-01-05-1228",
|
|
33
|
+
"kernelversion": "7100",
|
|
34
|
+
"macaddress": "66:a4:dc:28:bf:04",
|
|
35
|
+
"macaddress_en0": "66:a4:dc:28:bf:04",
|
|
36
|
+
"memory": {
|
|
37
|
+
"swap": {
|
|
38
|
+
"available": "1007.14 MiB",
|
|
39
|
+
"available_bytes": 1056063488,
|
|
40
|
+
"capacity": "1.65%",
|
|
41
|
+
"total": "1.00 GiB",
|
|
42
|
+
"total_bytes": 1073741824,
|
|
43
|
+
"used": "16.86 MiB",
|
|
44
|
+
"used_bytes": 17678336
|
|
45
|
+
},
|
|
46
|
+
"system": {
|
|
47
|
+
"available": "16.84 MiB",
|
|
48
|
+
"available_bytes": 17653760,
|
|
49
|
+
"capacity": "98.36%",
|
|
50
|
+
"total": "1.00 GiB",
|
|
51
|
+
"total_bytes": 1073741824,
|
|
52
|
+
"used": "1007.16 MiB",
|
|
53
|
+
"used_bytes": 1056088064
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"memoryfree": "16.84 MiB",
|
|
57
|
+
"memoryfree_mb": 16.8359375,
|
|
58
|
+
"memorysize": "1.00 GiB",
|
|
59
|
+
"memorysize_mb": 1024.0,
|
|
60
|
+
"mtu_en0": 1500,
|
|
61
|
+
"mtu_lo0": 16896,
|
|
62
|
+
"netmask": "255.255.255.0",
|
|
63
|
+
"netmask6_lo0": "::",
|
|
64
|
+
"netmask_en0": "255.255.255.0",
|
|
65
|
+
"netmask_lo0": "255.0.0.0",
|
|
66
|
+
"network": "10.32.77.0",
|
|
67
|
+
"network6_lo0": "::",
|
|
68
|
+
"network_en0": "10.32.77.0",
|
|
69
|
+
"network_lo0": "127.0.0.0",
|
|
70
|
+
"networking": {
|
|
71
|
+
"domain": "delivery.puppetlabs.net",
|
|
72
|
+
"fqdn": "pe-aix-71-se.delivery.puppetlabs.net",
|
|
73
|
+
"hostname": "pe-aix-71-se",
|
|
74
|
+
"interfaces": {
|
|
75
|
+
"en0": {
|
|
76
|
+
"bindings": [
|
|
77
|
+
{
|
|
78
|
+
"address": "10.32.77.36",
|
|
79
|
+
"netmask": "255.255.255.0",
|
|
80
|
+
"network": "10.32.77.0"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"ip": "10.32.77.36",
|
|
84
|
+
"mac": "66:a4:dc:28:bf:04",
|
|
85
|
+
"mtu": 1500,
|
|
86
|
+
"netmask": "255.255.255.0",
|
|
87
|
+
"network": "10.32.77.0"
|
|
88
|
+
},
|
|
89
|
+
"lo0": {
|
|
90
|
+
"bindings": [
|
|
91
|
+
{
|
|
92
|
+
"address": "127.0.0.1",
|
|
93
|
+
"netmask": "255.0.0.0",
|
|
94
|
+
"network": "127.0.0.0"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"bindings6": [
|
|
98
|
+
{
|
|
99
|
+
"address": "::1",
|
|
100
|
+
"netmask": "::",
|
|
101
|
+
"network": "::"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"ip": "127.0.0.1",
|
|
105
|
+
"ip6": "::1",
|
|
106
|
+
"mtu": 16896,
|
|
107
|
+
"netmask": "255.0.0.0",
|
|
108
|
+
"netmask6": "::",
|
|
109
|
+
"network": "127.0.0.0",
|
|
110
|
+
"network6": "::"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"ip": "10.32.77.36",
|
|
114
|
+
"mac": "66:a4:dc:28:bf:04",
|
|
115
|
+
"mtu": 1500,
|
|
116
|
+
"netmask": "255.255.255.0",
|
|
117
|
+
"network": "10.32.77.0",
|
|
118
|
+
"primary": "en0"
|
|
119
|
+
},
|
|
120
|
+
"operatingsystem": "AIX",
|
|
121
|
+
"operatingsystemmajrelease": "7100",
|
|
122
|
+
"operatingsystemrelease": "7100-01-05-1228",
|
|
123
|
+
"os": {
|
|
124
|
+
"architecture": "PowerPC_POWER7",
|
|
125
|
+
"family": "AIX",
|
|
126
|
+
"hardware": "IBM,8231-E1D",
|
|
127
|
+
"name": "AIX",
|
|
128
|
+
"release": {
|
|
129
|
+
"full": "7100-01-05-1228",
|
|
130
|
+
"major": "7100"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"osfamily": "AIX",
|
|
134
|
+
"package_provider": "aix",
|
|
135
|
+
"path": "::/usr/bin:/etc:/usr/sbin:/sbin",
|
|
136
|
+
"processor0": "PowerPC_POWER7",
|
|
137
|
+
"processor1": "PowerPC_POWER7",
|
|
138
|
+
"processor2": "PowerPC_POWER7",
|
|
139
|
+
"processor3": "PowerPC_POWER7",
|
|
140
|
+
"processor4": "PowerPC_POWER7",
|
|
141
|
+
"processor5": "PowerPC_POWER7",
|
|
142
|
+
"processor6": "PowerPC_POWER7",
|
|
143
|
+
"processor7": "PowerPC_POWER7",
|
|
144
|
+
"processorcount": 8,
|
|
145
|
+
"processors": {
|
|
146
|
+
"count": 8,
|
|
147
|
+
"isa": "powerpc",
|
|
148
|
+
"models": [
|
|
149
|
+
"PowerPC_POWER7",
|
|
150
|
+
"PowerPC_POWER7",
|
|
151
|
+
"PowerPC_POWER7",
|
|
152
|
+
"PowerPC_POWER7",
|
|
153
|
+
"PowerPC_POWER7",
|
|
154
|
+
"PowerPC_POWER7",
|
|
155
|
+
"PowerPC_POWER7",
|
|
156
|
+
"PowerPC_POWER7"
|
|
157
|
+
],
|
|
158
|
+
"speed": "4.23 GHz"
|
|
159
|
+
},
|
|
160
|
+
"puppet_environmentpath": "/etc/puppetlabs/code/environments",
|
|
161
|
+
"puppet_vardir": "/opt/puppetlabs/puppet/cache",
|
|
162
|
+
"puppetversion": "4.5.2",
|
|
163
|
+
"root_home": "/root",
|
|
164
|
+
"ruby": {
|
|
165
|
+
"platform": "powerpc-aix7.1.0.0",
|
|
166
|
+
"sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
|
|
167
|
+
"version": "2.1.9"
|
|
168
|
+
},
|
|
169
|
+
"rubyplatform": "powerpc-aix7.1.0.0",
|
|
170
|
+
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
|
|
171
|
+
"rubyversion": "2.1.9",
|
|
172
|
+
"serialnumber": "21280CV",
|
|
173
|
+
"service_provider": "src",
|
|
174
|
+
"ssh": {
|
|
175
|
+
"dsa": {
|
|
176
|
+
"fingerprints": {
|
|
177
|
+
"sha1": "SSHFP 2 1 1bbfbd9caff8924d4584cbb2a748f1be2690d04c",
|
|
178
|
+
"sha256": "SSHFP 2 2 73ec4c25ea880adfbb7f66c60e92fec0ff130c4988765b5799e4707a7cdde68a"
|
|
179
|
+
},
|
|
180
|
+
"key": "AAAAB3NzaC1kc3MAAACBAI5I6MVkSh3bO0WVTWIxbB0VyoFrpIXjAtBBveHKQDiB5I9OmCGkzytyR7ERBG/yqFS04hcEX8JV//3DoJeLJ0vupRCDLr4HoTYDGS3Dkvb3wqLn8aaaadz4Ca8IgRbx0vr8ANQbu/XT0/eTv5fRs3YWeijPe4Zgto2x55Ap7UDlAAAAFQDtb/7QYsDVPUt0dVWhOehzBNvybwAAAIBTxxfl95ZRcFG7b2cWljphohnZGzZCJortjE76JBIhnXRlVnlXQFT98hrjkPwedjsj9KWM0RpiKOdas3QAM6iTWLoAv/4GcvAWDa7TuJ5fs3eeQO0yCsTzRzpPwkOv6dcHK6OWWLiGybf/kPxIb546COFONVekdyIdksfZzwJ41QAAAIEAgj+4V9gdRBZcOX7XchaNUPaezTc3pNG1HG8iYTiCTV28EkpkQgzMtW7pPU1Nzqv5CX0LnFS+QN4lTWtuqtADYWSu3soz+7GuL8u3vximAAp6RcmWYSRpIdIQkHGvcyAzT5LlNRhGc/bBPM6RNoCkPzjEDHJDOgTdPx+tRNWXb8Y="
|
|
181
|
+
},
|
|
182
|
+
"rsa": {
|
|
183
|
+
"fingerprints": {
|
|
184
|
+
"sha1": "SSHFP 1 1 8957e5a6df12f351fd768ee9615b3906861ff4e5",
|
|
185
|
+
"sha256": "SSHFP 1 2 5a2dddf4df75bc8f4f352d30a8192824e01386b4720708d249edec6f05c5eb81"
|
|
186
|
+
},
|
|
187
|
+
"key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC38I+hMQxC/++t3XvgXPtpVglDV2Qp5Xqqp/ZmdJrW7gh3ylKWlOrJOlx72p9Qa2fTAU+eJpYeI8vAAKxtBqqoxVNfn9rGt8wR3eubcwm6CRLTCOqf2OoDJzyJw3RcgidhHuT2KPVYtNOpNEkFyTjtpru3RWrO08PLpT0simATc5XJrvSH9ODQCqzVi5Fhe58Kn1kyAmH9gr0vz/9zrhllBjxVhc3YFz2TKqnZD+zIYlYhoI1vm5zQSzUWA+8B9XBEGs3TUaSDKPANEwof2lt+auTHySlGRXTPL4D9mYw2BhrxRBESgLsbba23SVCMGPILDvb4JwI4vYc7E6AvrFIB"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"sshdsakey": "AAAAB3NzaC1kc3MAAACBAI5I6MVkSh3bO0WVTWIxbB0VyoFrpIXjAtBBveHKQDiB5I9OmCGkzytyR7ERBG/yqFS04hcEX8JV//3DoJeLJ0vupRCDLr4HoTYDGS3Dkvb3wqLn8aaaadz4Ca8IgRbx0vr8ANQbu/XT0/eTv5fRs3YWeijPe4Zgto2x55Ap7UDlAAAAFQDtb/7QYsDVPUt0dVWhOehzBNvybwAAAIBTxxfl95ZRcFG7b2cWljphohnZGzZCJortjE76JBIhnXRlVnlXQFT98hrjkPwedjsj9KWM0RpiKOdas3QAM6iTWLoAv/4GcvAWDa7TuJ5fs3eeQO0yCsTzRzpPwkOv6dcHK6OWWLiGybf/kPxIb546COFONVekdyIdksfZzwJ41QAAAIEAgj+4V9gdRBZcOX7XchaNUPaezTc3pNG1HG8iYTiCTV28EkpkQgzMtW7pPU1Nzqv5CX0LnFS+QN4lTWtuqtADYWSu3soz+7GuL8u3vximAAp6RcmWYSRpIdIQkHGvcyAzT5LlNRhGc/bBPM6RNoCkPzjEDHJDOgTdPx+tRNWXb8Y=",
|
|
191
|
+
"sshfp_dsa": "SSHFP 2 1 1bbfbd9caff8924d4584cbb2a748f1be2690d04c\nSSHFP 2 2 73ec4c25ea880adfbb7f66c60e92fec0ff130c4988765b5799e4707a7cdde68a",
|
|
192
|
+
"sshfp_rsa": "SSHFP 1 1 8957e5a6df12f351fd768ee9615b3906861ff4e5\nSSHFP 1 2 5a2dddf4df75bc8f4f352d30a8192824e01386b4720708d249edec6f05c5eb81",
|
|
193
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC38I+hMQxC/++t3XvgXPtpVglDV2Qp5Xqqp/ZmdJrW7gh3ylKWlOrJOlx72p9Qa2fTAU+eJpYeI8vAAKxtBqqoxVNfn9rGt8wR3eubcwm6CRLTCOqf2OoDJzyJw3RcgidhHuT2KPVYtNOpNEkFyTjtpru3RWrO08PLpT0simATc5XJrvSH9ODQCqzVi5Fhe58Kn1kyAmH9gr0vz/9zrhllBjxVhc3YFz2TKqnZD+zIYlYhoI1vm5zQSzUWA+8B9XBEGs3TUaSDKPANEwof2lt+auTHySlGRXTPL4D9mYw2BhrxRBESgLsbba23SVCMGPILDvb4JwI4vYc7E6AvrFIB",
|
|
194
|
+
"swapfree": "1007.14 MiB",
|
|
195
|
+
"swapfree_mb": 1007.140625,
|
|
196
|
+
"swapsize": "1.00 GiB",
|
|
197
|
+
"swapsize_mb": 1024.0,
|
|
198
|
+
"system_uptime": {
|
|
199
|
+
"days": 160,
|
|
200
|
+
"hours": 3847,
|
|
201
|
+
"seconds": 13852500,
|
|
202
|
+
"uptime": "160 days"
|
|
203
|
+
},
|
|
204
|
+
"timezone": "PST",
|
|
205
|
+
"uptime": "160 days",
|
|
206
|
+
"uptime_days": 160,
|
|
207
|
+
"uptime_hours": 3847,
|
|
208
|
+
"uptime_seconds": 13852500,
|
|
209
|
+
"clientcert": "pe-aix-71-se.delivery.puppetlabs.net",
|
|
210
|
+
"clientversion": "4.5.2",
|
|
211
|
+
"clientnoop": false
|
|
212
|
+
},
|
|
213
|
+
"timestamp": "2017-02-06T21:25:27.081337000-08:00",
|
|
214
|
+
"expiration": "2017-02-06T21:55:27.082017000-08:00"
|
|
215
|
+
}
|