Download ISO https://www.oracle.com/solaris/solaris11/downloads/solaris-downloads.html
Upload to Proxmox local ISO images
Create VM Choose downloaded ISO Guest OS: Linux 5.x
Grahics: Default
| # clean up all beaker containers and images | |
| # useful when using BEAKER_destroy=no | |
| function docker-cleanup-beaker() { | |
| while read i; do | |
| X=($i) | |
| echo -n "Cleaning up ${X[2]}: stopping container" | |
| docker stop "${X[0]}" >/dev/null | |
| echo -n ", removing container" | |
| docker rm "${X[0]}" >/dev/null | |
| echo -n ", removing images" |
| #!/bin/sh | |
| # trackpad and trackpoint are connected to the ps port | |
| # psmouse is not hotplug friendly | |
| # must be removed before sleep | |
| # place this file in /lib/systemd/system-sleep | |
| # and chmod +x | |
| PATH=/sbin:/usr/sbin:/bin:/usr/bin |
| #!/bin/bash | |
| # | |
| # Puppet Enterprise backup script | |
| # | |
| # Limits retained backup archives | |
| # Optionally creates a backup of the PE service secure keys | |
| # | |
| # All arguments supplied via environment variables. | |
| # | |
| # License: MIT |
| #!/usr/bin/env python3 | |
| """ | |
| ExtendedUnrar post-processing script for NZBGet | |
| Copyright (C) 2023 h0tw1r3 | |
| Copyright (C) 2014 thorli <[email protected]> | |
| This program is free software; you can redistribute it and/or modify | |
| it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation; either version 2 of the License, or |
| # Return a random number | |
| Puppet::Functions.create_function(:rand) do | |
| # @param [Integer] max | |
| # maximum random number | |
| # @return [Variant[Integer,Float]] | |
| # random number | |
| # @example Calling the function | |
| # rand(10) | |
| dispatch :generate_random_number do | |
| optional_param 'Integer', :max |
Download ISO https://www.oracle.com/solaris/solaris11/downloads/solaris-downloads.html
Upload to Proxmox local ISO images
Create VM Choose downloaded ISO Guest OS: Linux 5.x
Grahics: Default
| pe_puppet_authorization::rule { 'allow-ca-client-delete-self': | |
| match_request_path => '/puppet-ca/v1/certificate_status/([^/]+)$', | |
| match_request_type => 'regex', | |
| match_request_method => ['delete'], | |
| allow => '$1', | |
| sort_order => 500, | |
| path => "/etc/puppetlabs/puppetserver/conf.d/auth.conf", | |
| notify => Service['pe-puppetserver'], | |
| } |
| $bottles = Integer[0,99].map |$bottle| { abs($bottle - 99) } | |
| $report = { | |
| bottles => '%s bottle%s of beer on the wall, %s bottle%s of beer.', | |
| left => '%s bottle%s of beer on the wall.', | |
| take => 'Take one down and pass it around', | |
| buy => 'Go to the store and buy some more', | |
| } | |
| $bottles.map |$bottles_on_wall| { |
| class nessusagent ( | |
| String $agent_key, | |
| Array[String] $agent_groups = ['All'], | |
| String $agent_name = $facts['networking']['hostname'], | |
| String $nessus_host = 'cloud.tenable.com', | |
| Integer $nessus_port = 443, | |
| String $package_name = 'NessusAgent', | |
| Hash $package_params = { | |
| ensure => 'latest', | |
| }, |
| class homebrew ( | |
| Array[String] $packages = ['procps-ng', 'curl', 'file', 'git'], | |
| ) { | |
| yum::group { 'Development Tools': | |
| ensure => present, | |
| } | |
| -> package { $packages: | |
| ensure => present | |
| } | |
| -> user { 'linuxbrew': |