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 python | |
import ConfigParser | |
defaults = {'other_versions': None, 'prepared': 'False', 'performed': 'False', 'branched': 'False', | |
"profiles": '', "auto_increment_policy": "auto_patch"} | |
release_ini = ConfigParser.SafeConfigParser(defaults=defaults) | |
mp_config = ConfigParser.SafeConfigParser() |
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
ansible-playbook -i hosts test.yml -u ubuntu -v |
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
import org.bouncycastle.jce.provider.BouncyCastleProvider; | |
import org.sonatype.security.ldap.realms.persist.PasswordHelper; | |
import org.sonatype.security.ldap.upgrade.cipher.DefaultPlexusCipher; | |
import org.sonatype.security.ldap.upgrade.cipher.PlexusCipher; | |
import org.sonatype.security.ldap.upgrade.cipher.PlexusCipherException; | |
import java.security.Security; | |
/** | |
* @author Pierre-Gildas MILLON <pg.millon@gmail.com> |
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 | |
# Detects which OS and if it is Linux then it will detect which Linux Distribution. | |
OS=`uname -s` | |
REV=`uname -r` | |
MACH=`uname -m` | |
if [ "${OS}" = "SunOS" ] ; then | |
OS=Solaris | |
ARCH=`uname -p` |
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
import com.google.common.base.Predicate; | |
import com.google.common.collect.Collections2; | |
import hudson.plugins.parameterizedtrigger.*; | |
Predicate<AbstractProject> featureProjectPredicate = new Predicate<AbstractProject>() { | |
@Override | |
public boolean apply(AbstractProject abstractProject) { | |
return abstractProject.name ==~ /^Feature_.*/; | |
} | |
} |
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
### Localization | |
d-i debian-installer/locale string fr_FR | |
# If you have a slow dhcp server and the installer times out waiting for | |
# it, this might be useful. | |
d-i netcfg/dhcp_timeout string 60 | |
### Clock and time zone setup | |
# Controls whether or not the hardware clock is set to UTC. | |
d-i clock-setup/utc boolean true |