Skip to content

Instantly share code, notes, and snippets.

View bschonec's full-sized avatar

Brian Schonecker bschonec

  • 03:25 (UTC -04:00)
View GitHub Profile
concat {'/tmp/junk.txt':
ensure => present,
}
$a = [1, 3, 5, 7, 9]
$b = [2, 4, 6, 8, 10]
$a.each |$value| {
concat::fragment {"odds-${value}":
target => '/tmp/junk.txt',
Debug: /Stage[main]/Role::Xxx/Gpg_key[foo]: Adding autorequire relationship with File[RPM-GPG-KEY-SOLARWINDS-2024]
Debug: Puppet::Network::Format[msgpack]: feature msgpack is missing
Debug: Puppet::Network::Format[rich_data_msgpack]: feature msgpack is missing
Debug: file_metadata supports formats: json pson yaml
Debug: Using cached connection for https://puppet.com:8140
Debug: HTTP GET https://puppet..com:8140/puppet/v3/file_metadata/modules/puppet/rpm_gpg/RPM-GPG-KEY-SOLARWINDS-2024?links=manage&checksum_type=sha256&source_permissions=ignore&environment=561_move_manhattan_mmc_stuff_to_the_puppet_manhattan_module returned 200 OK
Debug: Caching connection for https://puppet.com:8140
Debug: Executing: '/bin/gpg --quiet --throw-keyids --with-colons /etc/pki/rpm-gpg/RPM-GPG-KEY-SOLARWINDS-2024'
Debug: Executing: 'rpm --query --queryformat '%{VERSION}\n' gpg-pubkey'
Debug: Executing: '/bin/gpg --quiet --throw-keyids --with-colons /etc/pki/rpm-gpg/RPM-GPG-KEY-SOLARWINDS-2024'
Debug: /Stage[main]/Role::Xxx/File[RPM-GPG-KEY-SOLARWINDS-2024]: The container Class[Role::Xxx] will propagate my refresh event
Debug: Executing: '/bin/gpg --quiet --throw-keyids --with-colons /etc/pki/rpm-gpg/RPM-GPG-KEY-SOLARWINDS-2024'
Error: /Stage[main]/Role::Xxx/Gpg_key[foo]: Could not evaluate: undefined method `split' for nil:NilClass
/opt/puppetlabs/puppet/cache/lib/puppet/provider/gpg_key/rpm.rb:44:in `keyid'
/opt/puppetlabs/puppet/cache/lib/puppet/provider/gpg_key/rpm.rb:24:in `exists?'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property/ensure.rb:82:in `retrieve'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type.rb:1102:in `retrieve'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type.rb:1130:in `retrieve_resource'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:307:in `from_resource'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in `evaluate'
---
mongodb::users:
mongo:
ensure: present
purge_sshkeys: true
managehome: true
expiry: absent
password_max_age: -1
uid: 1001
group: dba
Debug: Prefetching semanage resources for selinux_fcontext
Debug: Executing: '/sbin/semanage fcontext -a -t mongod_var_lib_t -f a /u01/app/MongoDB.*'
Notice: /Stage[main]/Selinux/Selinux::Fcontext[mariadb_data]/Selinux_fcontext[/u01/app/MongoDB.*_a]/ensure: created (corrective)
Debug: /Stage[main]/Selinux/Selinux::Fcontext[mariadb_data]/Selinux_fcontext[/u01/app/MongoDB.*_a]: The container Selinux::Fcontext[mariadb_data] will propagate my refresh event
Debug: Selinux::Fcontext[mariadb_data]: The container Class[Selinux] will propagate my refresh event
Notice: /Stage[main]/Profile::Base/File[/u01/app]/owner: owner changed 'root' to 'mongod' (corrective)
Notice: /Stage[main]/Profile::Base/File[/u01/app]/group: group changed 'root' to 'mongod' (corrective)
Notice: /File[/u01/app]/seltype: seltype changed 'unlabeled_t' to 'default_t' (corrective)
Debug: /Stage[main]/Profile::Base/File[/u01/app]: The container Class[Profile::Base] will propagate my refresh event
Debug: /Stage[main]/Profile::Base/File[/u01/app]: Th
Ignoring bcrypt-3.1.20 because its extensions are not built. Try: gem pristine bcrypt --version 3.1.20
Ignoring bigdecimal-3.1.6 because its extensions are not built. Try: gem pristine bigdecimal --version 3.1.6
Ignoring io-console-0.7.2 because its extensions are not built. Try: gem pristine io-console --version 0.7.2
Ignoring stringio-3.1.0 because its extensions are not built. Try: gem pristine stringio --version 3.1.0
rake build # Build puppet module package
rake build:pdk # Build Puppet module with PDK
rake changelog # Generate a Changelog from GitHub
rake check # Run static pre release checks
rake check:dot_underscore # Fails if any ._ files are present in directory
rake check:git_ignore
@bschonec
bschonec / metadata.json
Created October 10, 2023 14:56
Before and after of metadata.json for Fedora
{
"name": "cicd-cicd_lab",
"version": "0.1.0",
"author": "bschonec",
"summary": "",
"license": "Apache-2.0",
"source": "",
"dependencies": [
],
rpm -qi --scripts msodbcsql17
Name : msodbcsql17
Version : 17.10.4.1
Release : 1
Architecture: x86_64
Install Date: Fri 28 Jul 2023 11:13:28 AM EDT
Group : Applications/Driver
Size : 2329576
License : https://aka.ms/odbc17eula
Signature : RSA/SHA256, Tue 25 Apr 2023 12:17:50 PM EDT, Key ID eb3e94adbe1229cf
require 'puppet/parameter/boolean'
require 'puppet_x/gms/type'
module Puppet
Puppet::Type.newtype(:git_integration) do
include PuppetX::GMS::Type
@doc = %q{TODO
}
ant:latest
antisamy-markup-formatter:latest
build-timeout:latest
cloudbees-folder:latest
configuration-as-code:latest
credentials-binding:latest
email-ext:latest
git:latest
github-branch-source:latest
gradle:latest