From c5d5ce8bcd04d82987c17f053d82df5f36f4b7ee Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 16 Feb 2011 22:22:04 -0200 Subject: Configuring editor alternative --- manifests/subsystems/utils.pp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'manifests') diff --git a/manifests/subsystems/utils.pp b/manifests/subsystems/utils.pp index 92e606b..b431b3d 100644 --- a/manifests/subsystems/utils.pp +++ b/manifests/subsystems/utils.pp @@ -10,6 +10,13 @@ class utils { ensure => installed, } } + + # Editor alternative + file { "/etc/alternatives/editor": + ensure => "/usr/bin/vi", + owner => root, + group => root, + } } # Common utilities for physical -- cgit v1.2.3