{"id":15678990,"url":"https://github.com/garethr/tk-demo-puppet","last_synced_at":"2025-05-07T09:08:24.719Z","repository":{"id":6759530,"uuid":"8006156","full_name":"garethr/tk-demo-puppet","owner":"garethr","description":"A working example of using Test Kitchen for integration testing of puppet manifests and modules","archived":false,"fork":false,"pushed_at":"2013-02-04T15:27:17.000Z","size":104,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T09:08:19.002Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/garethr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-04T11:34:57.000Z","updated_at":"2014-06-07T15:43:07.000Z","dependencies_parsed_at":"2022-09-17T23:11:39.230Z","dependency_job_id":null,"html_url":"https://github.com/garethr/tk-demo-puppet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garethr%2Ftk-demo-puppet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garethr%2Ftk-demo-puppet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garethr%2Ftk-demo-puppet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garethr%2Ftk-demo-puppet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garethr","download_url":"https://codeload.github.com/garethr/tk-demo-puppet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252847494,"owners_count":21813454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T16:25:48.531Z","updated_at":"2025-05-07T09:08:24.697Z","avatar_url":"https://github.com/garethr.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Introduction\n\nAt FOSDEM Bryan Berry introduced a working demo of the new [Test\nKitchen](https://github.com/bryanwb/tk-demo) and pointed out that the\nproblem and infact the solution wasn't specific to Chef.\n\nThis example repos demonstrates using Test Kitchen with Puppet. It\nrelies on some small changes to both Test Kitchen and to the Vagrant\nTest Kitchen driver which are referenced in the Gemfile.\n\nThis demo spins up 2 nodes and then tests that one of them correctly\ninstalls a running nginx web server. It's not as fancy as Bryan's demo\nbut hey, it does color code the test output.\n\n\n## Running the example\n\nThis tutorial relies heavily on [bundler](http://gembundler.com/). The\n`rake` and `kitchen` commands will fail unless you prefix them with\n`bundle exec`.\n\nTo get started\n\n```Shell\n  $ git clone https://github.com/garethr/tk-demo-puppet \n  $ bundle install\n```\n\nTo spin up both nodes and then run the RSpec tests to test the final state\n\n```Shell\n  $ bundle exec rake test\n  # spins up 2 nodes, converges them, then executes rspec tests\n```\nTo destroy everything\n\n```Shell\n  $ bundle exec rake destroy\n  # destroys all virtualbox vms\n```\n\nThe [Rspec](https://www.relishapp.com/rspec) tests are located in\n`spec/hello_spec.rb`\n\n\n## Next steps\n\nThis is an example of the smallest possible working changes. The changes\nto Test Kitchen and Kitchen Vagrant need more work, in particular to\nmake them extensible and for the community to think about sensible\ndefaults.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarethr%2Ftk-demo-puppet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarethr%2Ftk-demo-puppet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarethr%2Ftk-demo-puppet/lists"}