Commits

Nicola Paolucci committed 3916846

automatically installs github.com/durdn/cfg

Comments (0)

Files changed (1)

manifests/default.pp

   package { "tmux":
     ensure => present,
   }
+
+  package { "curl":
+    ensure => present,
+  }
+
+  package { "bash":
+    ensure => present,
+  }
+
+  exec {
+    "install_cfg":
+    command => "curl -Lks git.io/cfg | HOME=/home/vagrant bash",
+    cwd => "/home/vagrant",
+    user => "vagrant",
+    path    => "/usr/bin/:/bin/",
+    require => Package["curl"],
+    logoutput => true,
+  }
 }
 
 include must-have