Commits

Nicola Paolucci committed e5063da

shrinked and cleaned puppet default manifest

Comments (0)

Files changed (1)

manifests/default.pp

     command => '/usr/bin/apt-get update'
   }
 
-  package { "git-core":
-    ensure => present,
-  }
-
-  package { "vim":
-    ensure => present,
-  }
-
-  package { "screen":
-    ensure => present,
-  }
-
-  package { "tmux":
-    ensure => present,
-  }
-
-  package { "curl":
-    ensure => present,
-  }
-
-  package { "bash":
+  package { ["vim",
+             "screen",
+             "tmux",
+             "curl",
+             "git-core",
+             "bash"]:
     ensure => present,
+    require => Exec["apt-get update"],
   }
 
   exec {
     cwd => "/home/vagrant",
     user => "vagrant",
     path    => "/usr/bin/:/bin/",
-    require => Package["curl"],
+    require => Package["curl", "git-core"],
     logoutput => true,
     creates => "/home/vagrant/.cfg",
   }
     logoutput => "true",
     creates => "/home/vagrant/.cfg/.vim/bundle/scrooloose-nerdtree",
   }
-}
+} 
 
 include must-have