Skip to content

Instantly share code, notes, and snippets.

Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for solutosmacvm11.local
Info: Applying configuration version '1491223177'
Error: Execution of '/usr/local/rvm/bin/rvm install ruby-2.3.1 ' returned 1: Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.12/x86_64/ruby-2.3.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
@yaron-idan
yaron-idan / symlinks.pp
Created March 22, 2017 08:39
PE symlinks.pp
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: File[/usr/local] is already declared in file /etc/puppetlabs/code/environments/production/modules/homebrew/manifests/install.pp:19; cannot redeclare at /opt/puppetlabs/puppet/modules/puppet_enterprise/manifests/symlinks.pp:31 at /opt/puppetlabs/puppet/modules/puppet_enterprise/manifests/symlinks.pp:31:5 on node solutosmacvm11.local
{
"id": "/cassandra/dcos",
"cmd": "$(pwd)/jre*/bin/java $JAVA_OPTS -classpath cassandra-mesos-framework.jar io.mesosphere.mesos.frameworks.cassandra.framework.Main",
"cpus": 0.5,
"mem": 512,
"disk": 0,
"instances": 1,
"env": {
"CASSANDRA_ZK_TIMEOUT_MS": "10000",
"JAVA_OPTS": "-Xms256m -Xmx256m",
function can_bono_live(bono) {
var withyou = "with"
var without = "without"
if (!(bono === withyou || bono === without)) {
console.log("bono can live");
}
else {
console.log("bono can't live");
}
}