Skip to content

Instantly share code, notes, and snippets.


Henrik Lindberg hlindberg

  • Bebalon Ltd
  • Għarb, Gozo, Malta
View GitHub Profile
View Geppetto Eclipse Update Site
If you want to install Geppetto into your Eclipse IDE, you can do so by giving the Eclipse update manager this repository URL
Please note that this URL is for use by a download manager - it is not meaningful to visit this URL with a browser.
hlindberg / geppetto.cquery
Created Mar 24, 2011
geppetto.cquery - feed this to Buckminster to set up Eclipse Workspace and Target Platform
View geppetto.cquery
<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery xmlns:cq="" resourceMap="geppetto.rmap">
<cq:rootRequest name="org.cloudsmith.geppetto.product" componentType="eclipse.feature"/>
<cq:property key="source.repository.url" value="git://"/>
<cq:property key="target.arch" value="*"/>
<cq:property key="target.os" value="*"/>
<cq:property key="" value="*"/>
<cq:advisorNode useMaterialization="false" useTargetPlatform="false"/>
hlindberg / hiera.pptp
Created Jul 11, 2012
PPTP file describing puppet-hiera functions
View hiera.pptp
<?xml version="1.0" encoding="ASCII"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="" xmlns:xsi="" xmlns:pptp="">
<pptp:PuppetDistribution description="Puppet Plugin" version="1.0.0rc1" label="puppetlabs-hiera-puppet">
<functions documentation="" name="hiera" rValue="true"/>
<functions documentation="" name="hiera_array" rValue="true"/>
<functions documentation="" name="hiera_hash" rValue="true"/>
<functions documentation="" name="hiera_include"/>
hlindberg / junoclassic-tweaked.css
Created Aug 21, 2012
Eclipse Juno Classic Theme Tweaked to look like Indigo
View junoclassic-tweaked.css
.MTrimmedWindow {
margin-top: 0px;
margin-bottom: 0px;
margin-left: 2px;
margin-right: 2px;
.MPartStack {
swt-tab-renderer: null;
swt-selected-tabs-background: #FFFFFF #E8E8E8 100%;
hlindberg / gist:3429488
Created Aug 22, 2012
crash - geppetto issue 382
View gist:3429488
Process: Geppetto [12470]
Path: /Users/USER/*/
Identifier: org.eclipse.eclipse
Version: 3.8 (3.8)
Code Type: X86-64 (Native)
Parent Process: launchd [147]
Date/Time: 2012-08-22 23:07:47.840 +0200
OS Version: Mac OS X 10.7.4 (11E53)
Report Version: 9
hlindberg / henrik.lindberg.key
Created Sep 19, 2012 public key
View henrik.lindberg.key
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6Xn/GNCiRJXWcdYa90ebvf3dFgIy3BDvOag82lSA6X9fbkJWo03VMYu4n90T3DCNLWS0mOc8b16V7aRAXITDhEAmm/K16mTf8CstdNyYf6lh35v4oLtBlva/XuXH0R/pNrpdoBQwxw3eS4h4n5vgzAGT5peHplQ9/uamCQgvIRQl4XLLrps8LyHi5kBA8BZHmOQETVSYK4TlZ2JWF2wnM+j6eeo8cjT9FFyo6nKe8z2glc97M15byAgRopXs3z5X5g29Y32VO4aco04QT/1KoRyhCQkxmwMEBaxqu6d3H0r9/hWvy3ZuQ+yYLKTsxiE0bBhLaOLR8b/COMtQIL+SZQ==
View gist:4207862
./systest.rb -c ~/harness_work/config.yml --puppet "origin/master" --type package --ntp --ntp-server --root-keys --no-color --xml --debug --tests "template/PassTest.rb" --pkg-repo
Using Config /Users/henrik/harness_work/config.yml
Begin setup/early/00-vmrun.rb
Revert VMs
Skip: Skipping revert VM step
setup/early/00-vmrun.rb skipped in 0.00 seconds
Begin setup/early/01-gen-answer-file.rb
Skip: Skipping PE 2.x answers file generation for non PE tests
setup/early/01-gen-answer-file.rb skipped in 0.00 seconds
View Puppet 3.3.0 Relase Notes
Puppet 3.3.0 Release Notes
For the full list of closed issues specific to 3.3.0 see [this list in Redmine](, containing 17 new features, and 67 bugs closed.
New Features
#### #2628: It would be useful if node name regexps set $1
It is now possible to use the variables `$0` to `$n` regular expression match-variables set when using a regular expression node-name in a node declaration.

Facter 1.7.3 Release Notes

For the full detail of closed issues specific to 1.7.3 see this list in Redmine, containing no new features, and 10 bugs closed, the majority for Windows.

  • 12116: Windows domain and fqdn facts error when there is no domain.
  • 16665: [windows] wrong ipaddress with locale != en
  • 16668: [windows] ipaddress fact reports hostname
  • 20989: Facter 1.7.1 on 32 bit windows reports architecture fact as "i1586", should be "x86"
  • 21518: "interface" fact not available on windows 2003
  • 21533: Facter prints errors to stderr on precise and f18
hlindberg /
Last active Dec 23, 2015
This is a DRAFT of an article/blog post how to create a private hierarchy in a module that is transformed into a set of effective common bindings that can be composed with other modules without imposing that the site is configured to include all levels of the private data's hierarchy. At this moment, the examples are untested - there may be typo…

Private Data in Modules

Some modules have an requirements on an internal / private way of binding data using its own private hierarchy and mechanisms for binding keys to values. The key feature here is that the structure of this data is private to the module, externally it is possible to override the keys/parameters but then based on decisions in a hierarchy/using categories that are applicable at the site level and across all modules. As an example, one module may use a custom fact and need to use this in its hierarchical data. Without a private hierarchy, this "private category" would need to be configured and placed in relation to all other categories. While doable, this is not desirable when a module has complex needs.

The Puppet bindings system (ARM-9 'data in modules') combines all bindings from all sources into an overall hierarchy, and in this article it is shown how you can support a private data hierarchy by using the binding systems Ruby integration in combination with Hier