Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can check windows service startup mode now #968

Merged
merged 1 commit into from
Aug 23, 2016
Merged

can check windows service startup mode now #968

merged 1 commit into from
Aug 23, 2016

Conversation

Anirudh-Gupta
Copy link
Contributor

Allows one to check windows services start up mode : https://msdn.microsoft.com/en-us/library/aa384896(v=vs.85).aspx
For example:

describe service('AppMgmt') do
  it { should be_installed }
  it { should_not  be_running }
  its('startmode') { should be 'Manual'} 
end

@ksubrama
Copy link

Thank you Anirudh! I'll merge this in once travis goes green.

@ksubrama ksubrama added Type: Enhancement Improves an existing feature feature request labels Aug 23, 2016
@ksubrama ksubrama merged commit 16a943f into inspec:master Aug 23, 2016
@chris-rock chris-rock modified the milestone: 0.32.0 Aug 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improves an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants