This repository has been archived by the owner on Nov 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduced new 'manifestpath' option to satisfy #28
- Loading branch information
1 parent
cf51e0b
commit b59b8df
Showing
5 changed files
with
54 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Feature: Puppet Options | ||
In order to run Puppet in a way that suits me | ||
As a systems administrator | ||
I want to pass options to puppet | ||
|
||
@announce-stdout | ||
@announce-stderr | ||
Scenario: Set Manifest Path | ||
Given I have puppet code in "/tmp/more_skewer_test_code" | ||
And a file named ".skewer.json" with: | ||
""" | ||
{"puppet_repo":"/tmp/skewer_test_code"} | ||
""" | ||
When I run `./bin/skewer --manifestpath=foo/bar.pp provision --cloud=stub --role=foobar --image=ami-deadbeef` | ||
Then the stdout should contain "Using manifest foo/bar.pp" | ||
|
||
@announce-stdout | ||
@announce-stderr | ||
Scenario: Set Manifest Path | ||
Given I have puppet code in "/tmp/more_skewer_test_code" | ||
And a file named ".skewer.json" with: | ||
""" | ||
{"puppet_repo":"/tmp/skewer_test_code"} | ||
""" | ||
When I run `./bin/skewer provision --cloud=stub --role=foobar --image=ami-deadbeef` | ||
Then the stdout should contain "Using manifest manifests/site.pp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters