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

adding support for the windows scheduled task #403

Merged
merged 1 commit into from May 7, 2014
Jump to file or symbol
Failed to load files and symbols.
+10 −1
Diff settings

Always

Just for now

@@ -5,7 +5,7 @@ module Type
base cgroup command cron default_gateway file group host iis_website iis_app_pool interface
ipfilter ipnat iptables kernel_module linux_kernel_parameter lxc mail_alias
package php_config port process routing_table selinux service user yumrepo
windows_feature windows_hot_fix windows_registry_key zfs
windows_feature windows_hot_fix windows_registry_key windows_scheduled_task zfs
)
types.each {|type| require "serverspec/type/#{type}" }
@@ -0,0 +1,9 @@
module Serverspec
module Type
class WindowsScheduledTask < Base
def exists?
backend.check_scheduled_task(@name)
end
end
end
end
ProTip! Use n and p to navigate between commits in a pull request.