aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-16 22:22:04 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-02-16 22:22:04 -0200
commitc5d5ce8bcd04d82987c17f053d82df5f36f4b7ee (patch)
tree1be91352405555b1b0b92c975351452dd26926bb
parentf515843476504a389b4fe778cc307cb9684a1074 (diff)
downloadpuppet-nodo-c5d5ce8bcd04d82987c17f053d82df5f36f4b7ee.tar.gz
puppet-nodo-c5d5ce8bcd04d82987c17f053d82df5f36f4b7ee.tar.bz2
Configuring editor alternative
-rw-r--r--manifests/subsystems/utils.pp7
1 files changed, 7 insertions, 0 deletions
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