diff --git a/manifests/init.pp b/manifests/init.pp index 626de8e..2d79abe 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -58,6 +58,7 @@ vim::rc { 'vimrc-pathogen': content => "execute pathogen#infect()\ncall pathogen#helptags()", + order => '10', } vim::rc { 'vimrc-local': diff --git a/manifests/rc.pp b/manifests/rc.pp index f657f97..c2b07f8 100644 --- a/manifests/rc.pp +++ b/manifests/rc.pp @@ -1,4 +1,4 @@ -define vim::rc ($content='') +define vim::rc ($content='', $order=75) { validate_string($content) @@ -8,7 +8,8 @@ } concat::fragment { "vimrc-${name}": - target => 'vimrc', - content => "${real_content}\n", + target => 'vimrc', + content => "${real_content}\n", + order => $order, } }