Skip to content

(maint) Get provider specs working on windows#689

Closed
jeffweiss wants to merge 2 commits intopuppetlabs:masterfrom
jeffweiss:maint/master/fix_provider_specs_for_windows
Closed

(maint) Get provider specs working on windows#689
jeffweiss wants to merge 2 commits intopuppetlabs:masterfrom
jeffweiss:maint/master/fix_provider_specs_for_windows

Conversation

@jeffweiss
Copy link
Contributor

Define helper to provider an existing command for windows because "echo"
is a shell interpreted command, not a proper executable.

As a side note, a helper method was the only way this actually functions
because of the evaluation context of the confine scenarios hash. Let,
before(:each), and instance variable all fail.

Jeff Weiss added 2 commits April 19, 2012 09:39
Define helper to provider an existing command for windows because "echo"
is a shell interpreted command, not a proper executable.

As a side note, a helper method was the only way this actually functions
because of the evaluation context of the confine scenarios hash. Let,
before(:each), and instance variable all fail.
Change to Puppet.features.microsoft_windows? for OS test.
@joshcooper
Copy link
Contributor

Thanks Jeff. I squashed the commits and pushed the change.

@joshcooper joshcooper closed this Apr 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants