diff --git a/example/Vagrantfile b/example/Vagrantfile deleted file mode 100644 index 0442dcd..0000000 --- a/example/Vagrantfile +++ /dev/null @@ -1,46 +0,0 @@ -# -*- mode: ruby -*- -# vi: set ft=ruby : - -# Not really needed, but useful while developing so that vagrant picks it up -Vagrant.require_plugin 'vagrant-lxc' -Vagrant.require_plugin 'vagrant-omnibus' - -Vagrant.configure("2") do |config| - config.vm.synced_folder "/tmp", "/vagrant_data" - - config.vm.provider :lxc do |lxc| - lxc.customize 'cgroup.memory.limit_in_bytes', '400M' - end - - config.vm.provision :shell, :inline => <<-SCRIPT -echo "Hi there I'm a shell script used for provisioning" - SCRIPT - - config.vm.provision :puppet do |puppet| - puppet.module_path = "puppet/modules" - puppet.manifests_path = "puppet/manifests" - puppet.manifest_file = "site.pp" - end - - port = 8080 - releases = %w(precise quantal raring wheezy squeeze sid) - releases.each do |release| - config.vm.define(release) do |lxc_config| - lxc_config.vm.box = "#{release}64" - lxc_config.vm.box_url = "http://dl.dropbox.com/u/13510779/lxc-#{release}-amd64-2013-07-12.box" - # Uncomment if you want to try out a box built locally - # lxc_config.vm.box_url = "../boxes/output/lxc-#{release}-amd64-2013-07-12.box" - lxc_config.vm.network :forwarded_port, guest: 80, host: (port += 1) - lxc_config.vm.hostname = "lxc-#{release}64-example" - - if %w(precise quantal raring squeeze).include? release - lxc_config.omnibus.chef_version = :latest - - lxc_config.vm.provision :chef_solo do |chef| - chef.add_recipe "hello-world" - chef.log_level = :debug - end - end - end - end -end diff --git a/example/cookbooks/hello-world/recipes/default.rb b/example/cookbooks/hello-world/recipes/default.rb deleted file mode 100644 index 0c96588..0000000 --- a/example/cookbooks/hello-world/recipes/default.rb +++ /dev/null @@ -1,4 +0,0 @@ -execute "hello world" do - command "echo 'Hello from Chef!'" - action :run -end diff --git a/example/puppet/manifests/site.pp b/example/puppet/manifests/site.pp deleted file mode 100644 index 947b061..0000000 --- a/example/puppet/manifests/site.pp +++ /dev/null @@ -1,5 +0,0 @@ -Exec { path => [ '/bin/', '/sbin/' , '/usr/bin/', '/usr/sbin/'] } - -notice "Hi there! puppet here" - -require hello_world diff --git a/example/puppet/modules/hello_world/manifests/init.pp b/example/puppet/modules/hello_world/manifests/init.pp deleted file mode 100644 index 952d2fc..0000000 --- a/example/puppet/modules/hello_world/manifests/init.pp +++ /dev/null @@ -1,3 +0,0 @@ -class hello_world { - notice "Puppet module here. Things seem to be working just fine ;-)" -}