Commit 4b0b0386 authored by Tim Smith's avatar Tim Smith
Browse files

Use the our platform_family helper


Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent aefa6350
......@@ -18,7 +18,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
unless node['platform_family'] == 'windows'
unless platform_family?('windows')
return "Chocolatey install not supported on #{node['platform_family']}"
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment