diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-05-24 13:50:05 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-05-24 13:50:05 -0700 |
commit | 040e7473b458d1c917291d9857c15848a647e126 (patch) | |
tree | 4f97d2561899e9ff854a66facb763658a36949e4 /kitchen-tests/cookbooks/base/attributes/default.rb | |
parent | 37668e4b9a96b60c0a7ea5e7f9843c935163974a (diff) | |
download | chef-040e7473b458d1c917291d9857c15848a647e126.tar.gz |
convert kitchen tests to docker + other fixes
- use kitchen-dokken instead of kitchen-ec2
- add tests for gem metadata + chef-sugar
- convert to inspec and add some tests
this disables the webapp stuff completely and its testing for now, that
needs to be updated to more modern httpd/mysql cookbooks and have its
testing converted to inspec.
more O/S distros are also in the pipeline.
Diffstat (limited to 'kitchen-tests/cookbooks/base/attributes/default.rb')
-rw-r--r-- | kitchen-tests/cookbooks/base/attributes/default.rb | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/kitchen-tests/cookbooks/base/attributes/default.rb b/kitchen-tests/cookbooks/base/attributes/default.rb index d4e5d1ee5a..f3bcb4f21a 100644 --- a/kitchen-tests/cookbooks/base/attributes/default.rb +++ b/kitchen-tests/cookbooks/base/attributes/default.rb @@ -1,9 +1,12 @@ +puts "CHEF SUGAR THINKS WE ARE ON UBUNTU" if ubuntu? +puts "CHEF SUGAR THINKS WE ARE ON RHEL" if rhel? + # # ubuntu cookbook overrides # -default["ubuntu"]["archive_url"] = "mirror://mirrors.ubuntu.com/mirrors.txt" -default["ubuntu"]["security_url"] = "mirror://mirrors.ubuntu.com/mirrors.txt" +default["ubuntu"]["archive_url"] = "http://us-west-2.ec2.archive.ubuntu.com/ubuntu" +default["ubuntu"]["security_url"] = "http://us-west-2.ec2.archive.ubuntu.com/ubuntu" default["ubuntu"]["include_source_packages"] = true default["ubuntu"]["components"] = "main restricted universe multiverse" @@ -78,3 +81,9 @@ default["resolver"]["search"] = "chef.io" default["authorization"]["sudo"]["passwordless"] = true default["authorization"]["sudo"]["users"] = %w{vagrant centos ubuntu} + +# +# nscd cookbook overrides +# + +default["nscd"]["server_user"] = "nobody" |