File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ def self.checks
16
16
@checks . keys
17
17
end
18
18
19
- desc 'command to run against an instance with the authenticated credentials used in sqlserver::config'
20
19
newparam ( :command , :parent => Puppet ::Property ::SqlserverTsql ) do
20
+ desc 'command to run against an instance with the authenticated credentials used in sqlserver::config'
21
21
22
22
end
23
23
24
- desc 'requires the usage of sqlserver::config with the user and password'
25
24
newparam ( :instance ) do
25
+ desc 'requires the usage of sqlserver::config with the user and password'
26
26
munge do |value |
27
27
value . upcase
28
28
end
@@ -36,8 +36,8 @@ def self.checks
36
36
end
37
37
end
38
38
39
- desc 'SQL Query to run and only run if exits with non-zero'
40
39
newcheck ( :onlyif , :parent => Puppet ::Property ::SqlserverTsql ) do
40
+ desc 'SQL Query to run and only run if exits with non-zero'
41
41
#Runs in the event that our TSQL exits with anything other than 0
42
42
def check ( value )
43
43
output = provider . run ( value )
You can’t perform that action at this time.
0 commit comments