Skip to content

Instantly share code, notes, and snippets.

View hajee's full-sized avatar

Bert Hajee hajee

View GitHub Profile

Organisation of a WebLogic installation

The installation and configuration of a WebLogic domain contains the following steps and puppet classes.

The top level class is the role class class role::wls::wlsonly_master. This class calls the next set of profile classes

contain profile::base
@hajee
hajee / gist:6e023c9369f84395c4e1
Created January 25, 2016 10:54
Getting all WebLogic resource with Puppet
#!/bin/bash
function query {
echo "querying $1"
puppet resource $1 >> weblogic_config.pp
}
echo '' > weblogic_config.pp
query wls_authentication_provider
query wls_cluster
@hajee
hajee / 0_reuse_code.js
Created January 25, 2016 09:29
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
c = CommandBuilder.new
c.default_command = :ls
c << "-als"
c << "a.a"
c.execute # ls -als a.a
line1 = CommandBuilder.new(:ls)
c << "-als"
@hajee
hajee / example.pp
Last active January 1, 2016 21:09
example resource
file {'/application/config.xml':
ensure => present,
content => '<xml>just some config file</xml>',
}