Skip to content

Instantly share code, notes, and snippets.

puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.H13948 --debug
Debug: Runtime environment: puppet_version=5.3.2, ruby_version=2.4.1, run_mode=user, default_encoding=UTF-8
Debug: Evicting cache entry for environment 'production'
Debug: Caching environment 'production' (ttl = 0 sec)
Debug: Could not find locales configuration file for puppet-archive at /etc/puppetlabs/code/environments/production/modules/archive/locales/config.yaml. Skipping i18n initialization.
Debug: Loading external facts from /opt/puppetlabs/puppet/cache/facts.d
Debug: Facter: loading external fact directories from config file
Info: Loading facts
Debug: Loading facts from /etc/puppetlabs/code/environments/production/modules/java/lib/facter/java_patch_level.rb
Debug: Loading facts from /etc/puppetlabs/code/environments/production/modules/java/lib/facter/java_default_home.rb
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.H13948 --debug
Debug: Runtime environment: puppet_version=5.3.2, ruby_version=2.4.1, run_mode=user, default_encoding=UTF-8
Debug: Evicting cache entry for environment 'production'
Debug: Caching environment 'production' (ttl = 0 sec)
Debug: Could not find locales configuration file for puppet-archive at /etc/puppetlabs/code/environments/production/modules/archive/locales/config.yaml. Skipping i18n initialization.
Debug: Loading external facts from /opt/puppetlabs/puppet/cache/facts.d
Debug: Facter: loading external fact directories from config file
Info: Loading facts
Debug: Loading facts from /etc/puppetlabs/code/environments/production/modules/java/lib/facter/java_patch_level.rb
Debug: Loading facts from /etc/puppetlabs/code/environments/production/modules/java/lib/facter/java_default_home.rb
@david22swan
david22swan / gist:7c2f4516dbf1fb5dad8a51ae06be06d5
Created January 16, 2018 14:15
java_ks results with no changes
BEAKER_PUPPET_AGENT_VERSION=5.3.2 PUPPET_INSTALL_TYPE=agent BEAKER_PUPPET_COLLECTION=puppet BEAKER_set=redhat-5-x64 BEAKER_debug=yes bundle exec rspec ./spec/acceptance/pkcs12_spec.rb
/Users/david.swan/GitHub/puppetlabs-java_ks/.bundle/gems/ruby/2.4.0/gems/beaker-rspec-6.2.3/lib/beaker-rspec/helpers/serverspec.rb:43: warning: already initialized constant Module::VALID_OPTIONS_KEYS
/Users/david.swan/GitHub/puppetlabs-java_ks/.bundle/gems/ruby/2.4.0/gems/specinfra-2.67.3/lib/specinfra/configuration.rb:4: warning: previous definition of VALID_OPTIONS_KEYS was here
Hypervisor for redhat5-64-1 is vmpooler
Beaker::Hypervisor, found some vmpooler boxes to create
Requesting VM set from vmpooler (with authentication token)
Using available host 'w0oyulmidazwxcl.delivery.puppetlabs.net' (redhat5-64-1)
Spent 0.53 seconds grabbing VMs
Tagging vmpooler VMs
Spent 0.36 seconds tagging VMs
@david22swan
david22swan / gist:e72ac5bd65980c03ad45da98021ecac6
Created January 16, 2018 14:13
java_ks results with my changes
BEAKER_PUPPET_AGENT_VERSION=5.3.2 PUPPET_INSTALL_TYPE=agent BEAKER_PUPPET_COLLECTION=puppet BEAKER_set=redhat-5-x64 BEAKER_debug=yes BEAKER_destroy=no bundle exec rspec ./spec/acceptance/pkcs12_spec.rb
/Users/david.swan/GitHub/puppetlabs-java_ks/.bundle/gems/ruby/2.4.0/gems/beaker-rspec-6.2.3/lib/beaker-rspec/helpers/serverspec.rb:43: warning: already initialized constant Module::VALID_OPTIONS_KEYS
/Users/david.swan/GitHub/puppetlabs-java_ks/.bundle/gems/ruby/2.4.0/gems/specinfra-2.67.3/lib/specinfra/configuration.rb:4: warning: previous definition of VALID_OPTIONS_KEYS was here
Hypervisor for redhat5-64-1 is vmpooler
Beaker::Hypervisor, found some vmpooler boxes to create
Requesting VM set from vmpooler (with authentication token)
Using available host 'ibziq4k1ev124e7.delivery.puppetlabs.net' (redhat5-64-1)
Spent 0.88 seconds grabbing VMs
Tagging vmpooler VMs
Spent 0.32 seconds tagging VMs
require 'json'
file = open("#{__dir__}/metadata.json")
json = file.read
output = JSON.parse(json)
metadata_string = output['operatingsystem_support']
unsupported = ['Amazon', 'Archlinux', 'AIX']
operating_system_list = []
for os_info in metadata_string