As long as `platform` matches `os` you can write `collect_data(:smartos) do` instead of wrapping the code in an `if` statement. Platform will match `os` if you're running the default platform plugin.