Skip to content

Instantly share code, notes, and snippets.

View j-fuentes's full-sized avatar

Jose Fuentes Castillo j-fuentes

View GitHub Profile
manager_1 | [DEBUG] eu.cloudopting.logging.LoggingAspect - Enter: eu.cloudopting.service.MailService.sendActivationEmail() with argument[s] = [User{login='jfuentes', password='$2a$10$NZOM3ZirEvQAGVPu5LCRO.sbUlBam9FFbdh2cVc6H6quCCLGDnjAW', firstName='jfc', lastName='jfc', email='fjhidalgo@wtelecom.es', activated='false', langKey='en', activationKey='72359685514110530179'}, http://docker.jfc:8080]
manager_1 | [DEBUG] eu.cloudopting.service.MailService - Sending activation e-mail to 'fjhidalgo@wtelecom.es'
manager_1 | [DEBUG] eu.cloudopting.service.MailService - Send e-mail[multipart 'false' and html 'true'] to 'fjhidalgo@wtelecom.es' with subject 'CloudOpting Catalog Activation Link' and content=<html><body><p> Dear jfc, </p><p>Activation URL: http://docker.jfc:8080/#/activate?key=72359685514110530179</p><p>Best regards,</p><p>CloudOpting team.</p></body></html>
manager_1 | [DEBUG] com.sun.mail.smtp - useEhlo true, useAuth false
manager_1 | [DEBUG] com.sun.mail.smtp - trying to connect to host "aspmx.l.google.c
@j-fuentes
j-fuentes / aboutPuppetCerts.md
Created September 29, 2015 12:08
About using Puppet certificates in Docker

About using Puppet infrastructure certificates for Docker infrastructure

Puppet uses openssl certificates to securize the communication between the master and the agents. Docker also uses the same technology in the communication between the engine and the client. So, it could be a good idea to reuse the certificates that Puppet generates when it setup an agent in the Docker TLS communication.

Puppet ssl details

The Puppet master has it own CA authority. It also has a certificate (which contains the RSA public key) and a private key.

When a new agent tries to connect with the master, the master signs agent's certificate (here we can follow different policies: manual sign, autosign.conf, etc).

#!/bin/bash
POS=2
LEN=16
SECONDS_MAX=10
while true; do
str1=$( echo -n `date +\"%s\"` | md5sum | md5sum )
@j-fuentes
j-fuentes / punto.md
Created July 14, 2015 07:39
El Sergio mola

Hola guapo

@j-fuentes
j-fuentes / sadfdsa
Created July 14, 2015 07:38
asdfsafas
sdfsfasd
vxf
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building rest-component 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.2.3.RELEASE:run (default-cli) @ rest-component >>>
[INFO]
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building rest-component 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.2.3.RELEASE:run (default-cli) @ rest-component >>>
[INFO]
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building rest-component 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.2.3.RELEASE:run (default-cli) @ rest-component >>>
[INFO]