Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 25a2c09053
Fetching contributors…

Cannot retrieve contributors at this time

50 lines (39 sloc) 2.36 kb
Feature: Puppet support
Scenario: Run Puppet manifest on nodes
Given I have a clean running node n1
When I run puppet manifest "manifests/test.pp" on node "n1"
Then Node "n1" should have file or directory "/tmp/puppet_test"
Scenario: Run puppet manifest with included nodes
Given I have a clean running node n1
And I change the internal hostname for "n1" to "correct.puppet.com"
And I run puppet manifest "manifests/site.pp" on node "n1"
Then Node "n1" should have file or directory "/tmp/puppet_test_correct"
And Node "n1" should have file or directory "/tmp/puppet_test_default"
And Node "n1" should have not file or directory "/tmp/puppet_test_incorrect"
Scenario: Run puppet manifest with modules
Given I have a clean running node n1
When I run puppet manifest "manifests/test_module.pp" with config file "puppet_modules.conf" on node "n1"
Then Node "n1" should have file or directory "/tmp/puppet_test_module"
Scenario: Run puppet manifest with static files being served by fileserver
Given I have a clean running node n1
When I run puppet manifest "manifests/test_fileserver.pp" with config file "puppet_fileserver.conf" on node "n1"
Then Node "n1" should have file or directory "/tmp/puppet_test_fileserver"
Scenario: Run puppet manifest with template dir configuration
Given I have a clean running node n1
When I run puppet manifest "manifests/test_template.pp" with config file "puppet_template.conf" on node "n1"
Then Node "n1" should have file or directory "/tmp/puppet_test_template"
Scenario: Check that package was installed on centos box
Given I have a clean running node n1
When I run puppet manifest "manifests/test_install.pp" on node "n1"
Then Node "n1" should have package "zip" installed in the centos box
Scenario: Check that service is running on centos box
Given I have a clean running node n1
When I run puppet manifest "manifests/test_service.pp" on node "n1"
Then Node "n1" should have service "named" running in the centos box
Scenario: Run puppet manifest overriding conf settings
Given I have a clean running node n1
And node "n1" has the configuration settings:
|key|value|
|modulepath|/tmp/toft-puppet-tmp/modules|
When I run puppet manifest "manifests/test_module.pp" on node "n1"
Then Node "n1" should have file or directory "/tmp/puppet_test_module"
Jump to Line
Something went wrong with that request. Please try again.