diff --git a/CHANGELOG.md b/CHANGELOG.md index f889fa8d..2418f7f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ This project makes use of the [Sementic Versioning](http://semver.org/) - Backup compression using GZip - Added ruby 2.1.3 to the ruby binary list - test-kitchen to automatically test the cookbooks and resulting server setup +- Sysadmins recipe which allows you to provide sysadmin users in the node configuration. ### Deprecated - Nothing @@ -21,6 +22,8 @@ This project makes use of the [Sementic Versioning](http://semver.org/) ### Misc - Upgraded the chef-repo ruby version to 2.1.2 +- Sudo recipe configuration changed to match Ubuntu's default sudo + behaviour more closely. ## 2.1.0 - 2014-08-18 diff --git a/Cheffile b/Cheffile index bacd87d5..aaa1ede7 100644 --- a/Cheffile +++ b/Cheffile @@ -17,3 +17,4 @@ cookbook "packages", path: "vendor/cookbooks/packages" cookbook "rails", path: "vendor/cookbooks/rails" cookbook "ssh_deploy_keys", path: "vendor/cookbooks/ssh_deploy_keys" cookbook "backups", path: "vendor/cookbooks/backups" +cookbook "sysadmins", path: "vendor/cookbooks/sysadmins" diff --git a/Cheffile.lock b/Cheffile.lock index c7a54bc3..0a7337f8 100644 --- a/Cheffile.lock +++ b/Cheffile.lock @@ -91,6 +91,11 @@ PATH specs: ssh_deploy_keys (0.1.0) +PATH + remote: vendor/cookbooks/sysadmins + specs: + sysadmins (0.1.0) + DEPENDENCIES apt (~> 2.5.2) backups (>= 0) @@ -104,4 +109,5 @@ DEPENDENCIES ruby_build (~> 0.8.0) ssh_deploy_keys (>= 0) sudo (~> 2.7.0) + sysadmins (>= 0) diff --git a/Vagrantfile b/Vagrantfile index 395ef056..d4073e92 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -76,6 +76,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| json_payload = { "authorization" => { "sudo" => { + "passwordless" => true, "users" => ["vagrant"] } }, diff --git a/nodes/sample_host.json b/nodes/sample_host.json index 160b90fe..6b4442b0 100644 --- a/nodes/sample_host.json +++ b/nodes/sample_host.json @@ -6,6 +6,15 @@ "server_repl_password": "" }, "packages": ["