Skip to content

Instantly share code, notes, and snippets.

View hlindberg's full-sized avatar

Henrik Lindberg hlindberg

  • Bebalon Ltd
  • Għarb, Gozo, Malta
  • X @hel
View GitHub Profile
If you want to install Geppetto into your Eclipse IDE, you can do so by giving the Eclipse update manager this repository URL
http://download.cloudsmith.com/geppetto/updates
Please note that this URL is for use by a download manager - it is not meaningful to visit this URL with a browser.
@hlindberg
hlindberg / geppetto.cquery
Created March 24, 2011 23:22
geppetto.cquery - feed this to Buckminster to set up Eclipse Workspace and Target Platform
<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="geppetto.rmap">
<cq:rootRequest name="org.cloudsmith.geppetto.product" componentType="eclipse.feature"/>
<cq:property key="source.repository.url" value="git://github.com/cloudsmith/geppetto.git"/>
<cq:property key="target.arch" value="*"/>
<cq:property key="target.os" value="*"/>
<cq:property key="target.ws" value="*"/>
<cq:advisorNode useMaterialization="false" useTargetPlatform="false"/>
</cq:componentQuery>
@hlindberg
hlindberg / hiera.pptp
Created July 11, 2012 12:49
PPTP file describing puppet-hiera functions
<?xml version="1.0" encoding="ASCII"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pptp="http://www.cloudsmith.org/geppetto/1.0.0/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"/>
</pptp:PuppetDistribution>
</xmi:XMI>
@hlindberg
hlindberg / junoclassic-tweaked.css
Created August 21, 2012 13:10
Eclipse Juno Classic Theme Tweaked to look like Indigo
.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
hlindberg / gist:3429488
Created August 22, 2012 21:20
crash - geppetto issue 382
Process: Geppetto [12470]
Path: /Users/USER/*/Geppetto.app/Contents/MacOS/Geppetto
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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6Xn/GNCiRJXWcdYa90ebvf3dFgIy3BDvOag82lSA6X9fbkJWo03VMYu4n90T3DCNLWS0mOc8b16V7aRAXITDhEAmm/K16mTf8CstdNyYf6lh35v4oLtBlva/XuXH0R/pNrpdoBQwxw3eS4h4n5vgzAGT5peHplQ9/uamCQgvIRQl4XLLrps8LyHi5kBA8BZHmOQETVSYK4TlZ2JWF2wnM+j6eeo8cjT9FFyo6nKe8z2glc97M15byAgRopXs3z5X5g29Y32VO4aco04QT/1KoRyhCQkxmwMEBaxqu6d3H0r9/hWvy3ZuQ+yYLKTsxiE0bBhLaOLR8b/COMtQIL+SZQ== [email protected]
./systest.rb -c ~/harness_work/config.yml --puppet "origin/master" --type package --ntp --ntp-server us.pool.ntp.org --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
Puppet 3.3.0 Release Notes
==========================
For the full list of closed issues specific to 3.3.0 see [this list in Redmine](http://projects.puppetlabs.com/versions/401), 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
hlindberg / private-hierarchy-in-module.md
Last active December 23, 2015 07:48
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