This file contains hidden or 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
| <!DOCTYPE NETSCAPE-Bookmark-file-1> | |
| <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |
| <TITLE>Bookmarks</TITLE> | |
| <H1>Bookmarks</H1> | |
| <DL><p> | |
| <DT><H3 ADD_DATE="1623447084" LAST_MODIFIED="1781106531">Shortcut Keys</H3> | |
| <DL><p> | |
| <DT><A HREF="https://forge.puppet.com/modules?q=%s" ADD_DATE="1659632114" SHORTCUTURL="pfq" TAGS="forge,keyword search,puppet">https://forge.puppet.com/modules?q=</A> | |
| <DT><A HREF="https://forge.puppet.com/%s" ADD_DATE="1659632245" SHORTCUTURL="pf" TAGS="forge,keyword search,puppet">https://forge.puppet.com/</A> |
This file contains hidden or 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 | |
| # Extract a Firefox bookmark folder by name and write Netscape HTML for import. | |
| require 'json' | |
| require 'cgi' | |
| TYPE_BOOKMARK = 1 | |
| TYPE_FOLDER = 2 | |
| def find_folder(node, title) |
This file contains hidden or 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
| # FIXME: substitute UPSTREAM and GITHUB_USER with local values | |
| # clone from UPSTREAM org by bare repo name and UPSTREAM remote (https), add GITHUB_USER remote (ssh) for pushes | |
| UPSTREAMclone() { | |
| local repo="$1" dir="${2:-$1}" | |
| git clone "https://github.com/UPSTREAM/${repo}.git" -o UPSTREAM "$dir" \ | |
| && cd "$dir" \ | |
| && git remote add GITHUB_USER "git@github.com:GITHUB_USER/${repo}.git" | |
| } | |
This file contains hidden or 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
| #!/opt/puppetlabs/bolt/bin/ruby | |
| def get_rpm_spec_core(rpm_spec) | |
| rpm_spec_core = { | |
| requires: [], | |
| obsoletes: [], | |
| } | |
| rpm_spec.select!{ |x| x =~ /^(Requires:|Obsoletes:|# Core SIMP Requirements|# SIMP Extras)/ } | |
| in_core = false | |
| rpm_spec.each do |x| |
This file contains hidden or 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
| #!/bin/sh | |
| # On EL7, ensure: | |
| # yum install -y dnf dnf-plugins-core | |
| # | |
| set -eu | |
| # Useful EL8-only options: --remote-time --norepopath | |
| PATH_TO_LOCAL_MIRROR="$PWD/_download_path/build-6-6-0-centos-8-x86-64-repo-packages" | |
| mkdir -p "$PATH_TO_LOCAL_MIRROR" | |
| dnf reposync \ |
This file contains hidden or 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
| #!/bin/bash | |
| /opt/puppetlabs/bolt/bin/puppet lookup \ | |
| --compile \ | |
| --explain \ | |
| --basemodulepath $PWD/site:/opt/puppetlabs/bolt/lib/ruby/gems/2.7.0/gems/bolt-3.17.0/modules \ | |
| --hiera_config $PWD/spec/hiera.yaml \ | |
| --environment production \ | |
| --environmentpath .onceover/etc/puppetlabs/code/environments \ | |
| --pluginfactdest "$PWD/facts.d" \ | |
| --log_level debug \ |
This file contains hidden or 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
| # frozen_string_literal: true | |
| # These tasks help revionics use onceover to validate their manifests and data | |
| # | |
| # To prep and run onceover spec tests, run: | |
| # | |
| # bundler exec rake spec | |
| # | |
| namespace :onceover do | |
| desc 'Install modules from Puppetfile, using private Puppet Forge' |
This file contains hidden or 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
| # SIMP Unstable GPG Key 2 (TESTING ONLY - NOT FOR PRODUCTION USE) | |
| # | |
| # NOTE: key is 3072 bit, but much smaller than previous keys | |
| # because it is for signing ONLY, with no encryption subkeys | |
| -----BEGIN PGP PUBLIC KEY BLOCK----- | |
| mQGNBGDTtTEBDAD5IhusLJZQhJ2CzzxXmY36fNEb8OUeahNpy5n8Ho/lyyZsfb2U | |
| gfLYymQAdnIsKUk7AER3p4XRbV+AbxDlb25pbxWs6KaVLzXSgSw4VPyN50fDmVgu | |
| cmTyso/ZFdFlGgdOtM2IoKWRM1/qt0SlaXDI5nTFQRINkFFfYwKci7P45c6L6G2e |
This file contains hidden or 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/ruby | |
| require 'rubygems' | |
| require 'json' | |
| require 'yaml' | |
| user = ARGV[0] || %x{id -u -n}.strip | |
| if user == 'root' | |
| dir = '/opt/puppetlabs/puppet/cache/client_data/catalog/' |
NewerOlder