lib/ohai/plugins/platform.rb in kurchatov-0.0.5.pre5 vs lib/ohai/plugins/platform.rb in kurchatov-0.0.5
- old
+ new
@@ -14,15 +14,15 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
-provides "platform", "platform_version", "platform_family"
+provides 'platform', 'platform_version', 'platform_family'
require_plugin "#{os}::platform"
-platform os unless attribute?("platform")
+platform os unless attribute?('platform')
-platform_version os_version unless attribute?("platform_version")
+platform_version os_version unless attribute?('platform_version')
-platform_family platform unless attribute?("platform_family")
+platform_family platform unless attribute?('platform_family')