}
}
+define set_alternatives($linkto) {
+ exec { "/usr/sbin/update-alternatives --set $name $linkto":
+ unless => "/bin/sh -c '! [ -e $linkto ] || ! [ -e /etc/alternatives/$name ] || ([ -L /etc/alternatives/$name ] && [ /etc/alternatives/$name -ef $linkto ])'"
+ }
+}
+
+
class debian-org {
package { "userdir-ldap": ensure => installed;
"zsh": ensure => installed;
value => 4096,
}
+ set_alternatives { "editor":
+ linkto => "/usr/bin/vim.basic",
+ }
+
exec { "syslog-ng reload":
path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
refreshonly => true,