This file contains 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
Loading consul | |
Loading web_ui | |
Executing 'rm -rf /etc/consul /opt/consul && pkg install -y rsync git gmake coreutils bash && chsh -s /usr/local/bin/bash' on 'root@fb1' | |
Warning: Permanently added 'fb1,10.32.170.246' (ECDSA) to the list of known hosts. | |
Updating FreeBSD repository catalogue... | |
FreeBSD repository is up-to-date. | |
All repositories are up-to-date. | |
Checking integrity... done (0 conflicting) | |
The most recent version of packages are already installed | |
chsh: user information updated |
This file contains 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
class Vanagon | |
class Platform | |
class FREEBSD < Vanagon::Platform | |
# The specific bits used to generate a freebsd package for a given project | |
# | |
# @param project [Vanagon::Project] project to build a freebsd package of | |
# @return [Array] list of commands required to build a freebsd package for the given project from a tarball | |
def generate_package(project) | |
target_dir = project.repo ? output_dir(project.repo) : output_dir | |
pkg_arch_opt = project.noarch ? "" : "-a#{@architecture}" |
This file contains 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
class Vanagon | |
class Platform | |
class FREEBSD < Vanagon::Platform | |
# The specific bits used to generate a freebsd package for a given project | |
# | |
# @param project [Vanagon::Project] project to build a freebsd package of | |
# @return [Array] list of commands required to build a freebsd package for the given project from a tarball | |
def generate_package(project) | |
target_dir = project.repo ? output_dir(project.repo) : output_dir | |
pkg_arch_opt = project.noarch ? "" : "-a#{@architecture}" |
This file contains 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 | |
ans=`curl -s http://localhost:8500/v1/status/leader` | |
if [ "$?" = "0" ] ; then | |
ip=$(echo $ans | cut -d: -f1 | sed -e 's/"//g') | |
consul members | grep $ip | awk '{print $1}' | |
fi | |
exit 1 |
This file contains 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 | |
export PATH=$PATH:/usr/local/bin | |
[ $# -eq 0 ] && { echo "Usage: $0 pkg"; exit 1; } | |
osx_ver=$(sw_vers -productVersion | cut -f1,2 -d.) | |
url=http://pl-build-tools.delivery.puppetlabs.net/osx/$osx_ver | |
for pkg in "$@"; do |
This file contains 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
AVAILABLE PLUGINS | |
----------------- | |
PluginChromeSha1Deprecation | |
PluginHeartbleed | |
PluginCertInfo | |
PluginSessionResumption |
This file contains 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
AVAILABLE PLUGINS | |
----------------- | |
PluginHSTS | |
PluginChromeSha1Deprecation | |
PluginSessionRenegotiation | |
PluginOpenSSLCipherSuites |
This file contains 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
AVAILABLE PLUGINS | |
----------------- | |
PluginHSTS | |
PluginHeartbleed | |
PluginCertInfo | |
PluginCompression |
This file contains 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
On the PE 2.3.9 front: | |
puppetdb-termini-2.3.9-1.el7.centos.noarch.rpm --> dummy package in 2.3 world | |
provides | |
puppetdb-termini = 2.3.9-1.el7.centos | |
puppetdb-terminus = 2.3.9 | |
requires | |
puppetdb-terminus >= 2.3.8 | |
puppetdb-terminus <= 3 | |
puppetdb-terminus-2.3.9-1.el7.centos.noarch.rpm --> actual payload |
This file contains 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
On the PE 2.3.9 front: | |
puppetdb-termini-2.3.9-1.el7.centos.noarch.rpm --> dummy package in 2.3 world | |
provides | |
puppetdb-termini = 2.3.9-1.el7.centos | |
puppetdb-terminus = 2.3.9 | |
requires | |
puppetdb-terminus >= 2.3.8 | |
puppetdb-terminus <= 3 | |
puppetdb-terminus-2.3.9-1.el7.centos.noarch.rpm --> actual payload |