Skip to content

Commit

Permalink
Added rcov coverage, lots of tests, definitions, node support
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhjk committed Mar 10, 2008
1 parent b4beed5 commit 3dd77b2
Show file tree
Hide file tree
Showing 56 changed files with 8,980 additions and 496 deletions.
6 changes: 3 additions & 3 deletions Manifest.txt
Expand Up @@ -2,6 +2,6 @@ History.txt
Manifest.txt
README.txt
Rakefile
bin/marionette
lib/marionette.rb
test/test_marionette.rb
bin/chef
lib/chef.rb
test/test_chef.rb
10 changes: 6 additions & 4 deletions README.txt
@@ -1,10 +1,12 @@
= marionette
= chef

* http://oss.hjksolutions.com/marionette
* http://oss.hjksolutions.com/chef

== DESCRIPTION:

Marionette is a configuration management tool inspired by Puppet.
Chef is a configuration management tool inspired by Puppet.

I'm in ur netwerk, cookin up yer servers. :)

== FEATURES/PROBLEMS:

Expand All @@ -25,7 +27,7 @@ Marionette is a configuration management tool inspired by Puppet.

== LICENSE:

Marionette - A configuration management system
Chef - A configuration management system

Copyright 2008 HJK Solutions

Expand Down
8 changes: 4 additions & 4 deletions Rakefile
Expand Up @@ -2,17 +2,17 @@

require 'rubygems'
require 'hoe'
require './lib/marionette.rb'
require './lib/chef.rb'
require './tasks/rspec.rb'
# require Dir[File.join(File.dirname(__FILE__), 'tasks/**/*.rb')].sort.each do |lib|
# require lib
# end

Hoe.new('marionette', Marionette::VERSION) do |p|
p.rubyforge_name = 'marionette'
Hoe.new('chef', Chef::VERSION) do |p|
p.rubyforge_name = 'chef'
p.author = 'Adam Jacob'
p.email = 'adam@hjksolutions.com'
p.summary = 'A configuration management system'
p.summary = 'A configuration management system.'
p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
Expand Down
4 changes: 2 additions & 2 deletions bin/marionette-dotgraph
Expand Up @@ -19,10 +19,10 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#

require File.join(File.dirname(__FILE__), "..", "lib", "marionette")
require File.join(File.dirname(__FILE__), "..", "lib", "chef")
require 'rgl/dot'

mr = Marionette::Recipe.new("test", "default", "node")
mr = Chef::Recipe.new("test", "default", "node")
raise ArgumentError, "#{ARGV[0]} is not a file!" unless File.exists?(ARGV[0])
mr.instance_eval(IO.read(ARGV[0]), ARGV[0], 1)
puts mr.inspect
Expand Down

0 comments on commit 3dd77b2

Please sign in to comment.