Nicola Paolucci avatar Nicola Paolucci committed b219fad

completed setup of middleman

Comments (0)

Files changed (1)

manifests/default.pp

     /*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",
+             "bash"]:
     ensure => present,
   }
 
 include nodejs
 
 package { "coffee-script":
-  ensure   => latest,
-  provider => 'npm',
-  require => Package['npm'],
+  ensure   => "1.4.0",
+  provider => "npm",
+  require => Package["npm"],
 }
 
 rbenv::install { "vagrant":
-  group => 'vagrant',
-  home  => '/home/vagrant',
+  group => "vagrant",
+  home  => "/home/vagrant",
 }
 
 rbenv::compile { "1.9.3-p327":
   global => true,
 }
 
+exec {
+  "install_eco_source":
+  command => "sudo gem install eco-source --pre",
+  provider => "shell",
+  cwd => "/home/vagrant",
+  user => "vagrant",
+  /*path    => "/usr/bin/:/bin/",*/
+  logoutput => "true",
+  before => Rbenv::Gem["eco"],
+}
+
+rbenv::gem { ["eco", "builder", "RedCloth", "markaby", "liquid", "less", "radius", "nokogiri", "creole"]:
+  user => "vagrant",
+  ruby => "1.9.3-p327",
+  before => Rbenv::Gem["middleman"],
+}
+
 rbenv::gem { "middleman":
   user => "vagrant",
   ruby => "1.9.3-p327",
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.