]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Configuring editor alternative
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 17 Feb 2011 00:22:04 +0000 (22:22 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 17 Feb 2011 00:22:04 +0000 (22:22 -0200)
manifests/subsystems/utils.pp

index 92e606b622f0989c90ecef6f0a189ac2be246cf0..b431b3d428ca9649613b4a3495c8c923258e357c 100644 (file)
@@ -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