Skip to content

Instantly share code, notes, and snippets.

View sbilo's full-sized avatar

Sander Bilo sbilo

View GitHub Profile

Keybase proof

I hereby claim:

  • I am sbilo on github.
  • I am sbilo (https://keybase.io/sbilo) on keybase.
  • I have a public key ASCNKrQo4gDFhISHt5M2tGgfHjLkxGIG1rSIlsW5Vntu_wo

To claim this, I am signing this object:

@sbilo
sbilo / bootstrap.sh
Last active September 11, 2017 06:56
wget https://apt.puppetlabs.com/puppet5-release-xenial.deb
dpkg -i puppet5-release-xenial.deb
apt-get update
apt-get install puppet-agent r10k git -y
rm -rf /etc/puppetlabs/code/environments/production
git clone git@gitlab.com:sbilo/blueshift-control-repo.git /etc/puppetlabs/code/environments/production
cd /etc/puppetlabs/code/environments/production && /usr/bin/r10k puppetfile install
/opt/puppetlabs/bin/puppet apply manifests/site.pp
@sbilo
sbilo / BuildInfoBuilderPCE.java
Last active August 29, 2015 14:03
BuildInfoBuilderPCE.java
/**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
@sbilo
sbilo / hands-on-sso-installation.md
Created July 10, 2014 12:40
hands-on-sso-installation

#LDAP Good point to start is setting up a centeralized user management system. Since we're all java here we should probably go with OpenDJ, but OpenLDAP or apache OpenDS should suffice as well. ##Installation Since we have the most recent puppet modules for OpenDJ in our Github repository we should go with those. They should work on Debian as well but feel more at home in an Ubuntu environment.

@sbilo
sbilo / portal-build-info-builder.xml
Last active August 29, 2015 14:03
portal-build-info-builder.xml
<?xml version="1.0"?>
<project name="portal-build-info-builder" basedir="." default="build-buildinfo"
xmlns:antelope="antlib:ise.antelope.tasks"
xmlns:artifact="antlib:org.apache.maven.artifact.ant"
>
<property name="test.properties" value="portal-test.properties" />
<import file="../build-common-java.xml" />
@sbilo
sbilo / build.xml
Last active August 29, 2015 14:03
portal-impl/build.xml
<?xml version="1.0"?>
<project name="portal-impl" basedir="." default="compile"
xmlns:antelope="antlib:ise.antelope.tasks"
xmlns:artifact="antlib:org.apache.maven.artifact.ant"
>
<property name="test.properties" value="portal-test.properties" />
<import file="../build-common-java.xml" />
@sbilo
sbilo / BuildInfoBuilder.java
Last active August 29, 2015 14:03
com.liferay.portal.tools.BuildInfoBuilder
/**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS