Skip to content

Commit

Permalink
Merge pull request #362 from chef/remove-chef-version
Browse files Browse the repository at this point in the history
Remove `chef_version` user variable & remove Chef installation option.
  • Loading branch information
fnichol committed May 26, 2015
2 parents 7b0d85d + 1f60142 commit 61290b3
Show file tree
Hide file tree
Showing 48 changed files with 89 additions and 461 deletions.
8 changes: 2 additions & 6 deletions centos-5.11-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,29 +102,25 @@
],
"post-processors": [
{
"output": "builds/{{.Provider}}/opscode_centos-5.11-i386_chef-{{user `chef_version`}}.box",
"output": "builds/{{.Provider}}/opscode_centos-5.11-i386.box",
"type": "vagrant"
}
],
"provisioners": [
{
"environment_vars": [
"CHEF_VERSION={{user `chef_version`}}"
],
"environment_vars": [],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"scripts": [
"scripts/common/vagrant.sh",
"scripts/common/sshd.sh",
"scripts/common/vmtools.sh",
"scripts/common/chef.sh",
"scripts/centos/cleanup.sh",
"scripts/common/minimize.sh"
],
"type": "shell"
}
],
"variables": {
"chef_version": "provisionerless",
"mirror": "http://mirrors.kernel.org/centos"
}
}
Expand Down
8 changes: 2 additions & 6 deletions centos-5.11-x86_64.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,29 +102,25 @@
],
"post-processors": [
{
"output": "builds/{{.Provider}}/opscode_centos-5.11_chef-{{user `chef_version`}}.box",
"output": "builds/{{.Provider}}/opscode_centos-5.11.box",
"type": "vagrant"
}
],
"provisioners": [
{
"environment_vars": [
"CHEF_VERSION={{user `chef_version`}}"
],
"environment_vars": [],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"scripts": [
"scripts/common/vagrant.sh",
"scripts/common/sshd.sh",
"scripts/common/vmtools.sh",
"scripts/common/chef.sh",
"scripts/centos/cleanup.sh",
"scripts/common/minimize.sh"
],
"type": "shell"
}
],
"variables": {
"chef_version": "provisionerless",
"mirror": "http://mirrors.kernel.org/centos"
}
}
Expand Down
8 changes: 2 additions & 6 deletions centos-6.6-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,30 +102,26 @@
],
"post-processors": [
{
"output": "builds/{{.Provider}}/opscode_centos-6.6-i386_chef-{{user `chef_version`}}.box",
"output": "builds/{{.Provider}}/opscode_centos-6.6-i386.box",
"type": "vagrant"
}
],
"provisioners": [
{
"environment_vars": [
"CHEF_VERSION={{user `chef_version`}}"
],
"environment_vars": [],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"scripts": [
"scripts/centos/fix-slow-dns.sh",
"scripts/common/sshd.sh",
"scripts/common/vagrant.sh",
"scripts/common/vmtools.sh",
"scripts/common/chef.sh",
"scripts/centos/cleanup.sh",
"scripts/common/minimize.sh"
],
"type": "shell"
}
],
"variables": {
"chef_version": "provisionerless",
"mirror": "http://mirrors.kernel.org/centos"
}
}
Expand Down
8 changes: 2 additions & 6 deletions centos-6.6-x86_64.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,30 +102,26 @@
],
"post-processors": [
{
"output": "builds/{{.Provider}}/opscode_centos-6.6_chef-{{user `chef_version`}}.box",
"output": "builds/{{.Provider}}/opscode_centos-6.6.box",
"type": "vagrant"
}
],
"provisioners": [
{
"environment_vars": [
"CHEF_VERSION={{user `chef_version`}}"
],
"environment_vars": [],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"scripts": [
"scripts/centos/fix-slow-dns.sh",
"scripts/common/sshd.sh",
"scripts/common/vagrant.sh",
"scripts/common/vmtools.sh",
"scripts/common/chef.sh",
"scripts/centos/cleanup.sh",
"scripts/common/minimize.sh"
],
"type": "shell"
}
],
"variables": {
"chef_version": "provisionerless",
"mirror": "http://mirrors.kernel.org/centos"
}
}
Expand Down
8 changes: 2 additions & 6 deletions centos-7.1-x86_64.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,30 +102,26 @@
],
"post-processors": [
{
"output": "builds/{{.Provider}}/opscode_centos-7.1_chef-{{user `chef_version`}}.box",
"output": "builds/{{.Provider}}/opscode_centos-7.1.box",
"type": "vagrant"
}
],
"provisioners": [
{
"environment_vars": [
"CHEF_VERSION={{user `chef_version`}}"
],
"environment_vars": [],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"scripts": [
"scripts/centos/fix-slow-dns.sh",
"scripts/common/sshd.sh",
"scripts/common/vagrant.sh",
"scripts/common/vmtools.sh",
"scripts/common/chef.sh",
"scripts/centos/cleanup.sh",
"scripts/common/minimize.sh"
],
"type": "shell"
}
],
"variables": {
"chef_version": "provisionerless",
"mirror": "http://mirrors.kernel.org/centos"
}
}
Expand Down
8 changes: 2 additions & 6 deletions debian-6.0.10-amd64.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,13 @@
],
"post-processors": [
{
"output": "builds/{{.Provider}}/opscode_debian-6.0.10_chef-{{user `chef_version`}}.box",
"output": "builds/{{.Provider}}/opscode_debian-6.0.10.box",
"type": "vagrant"
}
],
"provisioners": [
{
"environment_vars": [
"CHEF_VERSION={{user `chef_version`}}"
],
"environment_vars": [],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
"scripts": [
"scripts/debian/update.sh",
Expand All @@ -161,15 +159,13 @@
"scripts/debian/sudoers.sh",
"scripts/common/vagrant.sh",
"scripts/common/vmtools.sh",
"scripts/common/chef.sh",
"scripts/debian/cleanup.sh",
"scripts/common/minimize.sh"
],
"type": "shell"
}
],
"variables": {
"chef_version": "provisionerless",
"mirror": "http://cdimage.debian.org/cdimage/archive"
}
}
Expand Down
8 changes: 2 additions & 6 deletions debian-6.0.10-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,13 @@
],
"post-processors": [
{
"output": "builds/{{.Provider}}/opscode_debian-6.0.10-i386_chef-{{user `chef_version`}}.box",
"output": "builds/{{.Provider}}/opscode_debian-6.0.10-i386.box",
"type": "vagrant"
}
],
"provisioners": [
{
"environment_vars": [
"CHEF_VERSION={{user `chef_version`}}"
],
"environment_vars": [],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
"scripts": [
"scripts/debian/update.sh",
Expand All @@ -161,15 +159,13 @@
"scripts/debian/sudoers.sh",
"scripts/common/vagrant.sh",
"scripts/common/vmtools.sh",
"scripts/common/chef.sh",
"scripts/debian/cleanup.sh",
"scripts/common/minimize.sh"
],
"type": "shell"
}
],
"variables": {
"chef_version": "provisionerless",
"mirror": "http://cdimage.debian.org/cdimage/archive"
}
}
Expand Down
8 changes: 2 additions & 6 deletions debian-7.8-amd64.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,13 @@
],
"post-processors": [
{
"output": "builds/{{.Provider}}/opscode_debian-7.8_chef-{{user `chef_version`}}.box",
"output": "builds/{{.Provider}}/opscode_debian-7.8.box",
"type": "vagrant"
}
],
"provisioners": [
{
"environment_vars": [
"CHEF_VERSION={{user `chef_version`}}"
],
"environment_vars": [],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
"scripts": [
"scripts/debian/update.sh",
Expand All @@ -161,15 +159,13 @@
"scripts/debian/sudoers.sh",
"scripts/common/vagrant.sh",
"scripts/common/vmtools.sh",
"scripts/common/chef.sh",
"scripts/debian/cleanup.sh",
"scripts/common/minimize.sh"
],
"type": "shell"
}
],
"variables": {
"chef_version": "provisionerless",
"mirror": "http://cdimage.debian.org/cdimage/archive"
}
}
Expand Down
8 changes: 2 additions & 6 deletions debian-7.8-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,13 @@
],
"post-processors": [
{
"output": "builds/{{.Provider}}/opscode_debian-7.8-i386_chef-{{user `chef_version`}}.box",
"output": "builds/{{.Provider}}/opscode_debian-7.8-i386.box",
"type": "vagrant"
}
],
"provisioners": [
{
"environment_vars": [
"CHEF_VERSION={{user `chef_version`}}"
],
"environment_vars": [],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
"scripts": [
"scripts/debian/update.sh",
Expand All @@ -161,15 +159,13 @@
"scripts/debian/sudoers.sh",
"scripts/common/vagrant.sh",
"scripts/common/vmtools.sh",
"scripts/common/chef.sh",
"scripts/debian/cleanup.sh",
"scripts/common/minimize.sh"
],
"type": "shell"
}
],
"variables": {
"chef_version": "provisionerless",
"mirror": "http://cdimage.debian.org/cdimage/archive"
}
}
Expand Down
8 changes: 2 additions & 6 deletions fedora-20-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,21 +102,18 @@
],
"post-processors": [
{
"output": "builds/{{.Provider}}/opscode_fedora-20-i386_chef-{{user `chef_version`}}.box",
"output": "builds/{{.Provider}}/opscode_fedora-20-i386.box",
"type": "vagrant"
}
],
"provisioners": [
{
"environment_vars": [
"CHEF_VERSION={{user `chef_version`}}"
],
"environment_vars": [],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
"scripts": [
"scripts/fedora/fix-slow-dns.sh",
"scripts/common/sshd.sh",
"scripts/common/vmtools.sh",
"scripts/common/chef.sh",
"scripts/common/vagrant.sh",
"scripts/fedora/cleanup.sh",
"scripts/common/minimize.sh"
Expand All @@ -125,7 +122,6 @@
}
],
"variables": {
"chef_version": "provisionerless",
"mirror": "http://download.fedoraproject.org/pub/fedora/linux"
}
}
Expand Down
8 changes: 2 additions & 6 deletions fedora-20-x86_64.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,21 +102,18 @@
],
"post-processors": [
{
"output": "builds/{{.Provider}}/opscode_fedora-20_chef-{{user `chef_version`}}.box",
"output": "builds/{{.Provider}}/opscode_fedora-20.box",
"type": "vagrant"
}
],
"provisioners": [
{
"environment_vars": [
"CHEF_VERSION={{user `chef_version`}}"
],
"environment_vars": [],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
"scripts": [
"scripts/fedora/fix-slow-dns.sh",
"scripts/common/sshd.sh",
"scripts/common/vmtools.sh",
"scripts/common/chef.sh",
"scripts/common/vagrant.sh",
"scripts/fedora/cleanup.sh",
"scripts/common/minimize.sh"
Expand All @@ -125,7 +122,6 @@
}
],
"variables": {
"chef_version": "provisionerless",
"mirror": "http://download.fedoraproject.org/pub/fedora/linux"
}
}
Expand Down
8 changes: 2 additions & 6 deletions fedora-21-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,21 +102,18 @@
],
"post-processors": [
{
"output": "builds/{{.Provider}}/opscode_fedora-21-i386_chef-{{user `chef_version`}}.box",
"output": "builds/{{.Provider}}/opscode_fedora-21-i386.box",
"type": "vagrant"
}
],
"provisioners": [
{
"environment_vars": [
"CHEF_VERSION={{user `chef_version`}}"
],
"environment_vars": [],
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
"scripts": [
"scripts/fedora/fix-slow-dns.sh",
"scripts/common/sshd.sh",
"scripts/common/vmtools.sh",
"scripts/common/chef.sh",
"scripts/common/vagrant.sh",
"scripts/fedora/cleanup.sh",
"scripts/common/minimize.sh"
Expand All @@ -125,7 +122,6 @@
}
],
"variables": {
"chef_version": "provisionerless",
"mirror": "http://download.fedoraproject.org/pub/fedora/linux"
}
}
Expand Down
Loading

0 comments on commit 61290b3

Please sign in to comment.