Skip to content

Instantly share code, notes, and snippets.

View ohadlevy's full-sized avatar

Ohad Levy ohadlevy

  • Red Hat
  • Israel
View GitHub Profile

Hello all,

it is finally here. Foreman 1.3 has been released.

Improvements were made in the installation process, API, scalability (for importing reports and facts see bellow), existing hosts mapping to compute resources, and more. There is now a new official CLI.

Upgrade needs your attention, please read BEFORE YOU UPGRADE section bellow first.

@ohadlevy
ohadlevy / add_arguments.rb
Created October 28, 2011 09:28 — forked from alvagante/add_arguments.rb
Puppet add_arguments.rb
Puppet::Parser::Functions::newfunction(:add_arguments, :doc => <<-'ENDHEREDOC') do |args|
Converts a hash into a set of arguments that are added to the specified resource.
This function takes two arguments: a resource name, and a hash describing
a set of resources. The hash should be in the form `{title => {parameters} }`:
# A hash of arguments:
$myarguments = {
uid => '1330',
group => allstaff,
@ohadlevy
ohadlevy / foreman-cli
Created May 27, 2011 08:27 — forked from bgupta/foreman-cli
foreman-cli
#!/usr/bin/env ruby
# Copyright (C) 2011 Vijay Brian Gupta brian.gupta@brandorr.com
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of