module ChefUtils::DSL::OS
def darwin?(node = __getnode)
-
(Boolean)
-
Other tags:
- Since: - 15.5
Parameters:
-
node
(Chef::Node
) -- the node to check
def darwin?(node = __getnode) node["os"] == "darwin" end
def linux?(node = __getnode)
-
(Boolean)
-
Other tags:
- Since: - 15.5
Parameters:
-
node
(Chef::Node
) -- the node to check
def linux?(node = __getnode) node["os"] == "linux" end