在Vagrant环境中安装Grunt的问题
我试图在Ubuntu Trusty 64bit Vagrant环境中安装node.js,npm和Grunt.js,并遇到一些问题。 这是我的木偶清单: init.pp – class grunt::install { exec { 'apt_update': command => 'apt-get update', path => '/usr/bin' } package { [ 'curl', 'python-software-properties', 'ruby1.9.3' ]: ensure => present, require => Exec['apt_update'] } # Get node exec { 'add-node-repo': command => '/usr/bin/add-apt-repository ppa:chris-lea/node.js && /usr/bin/apt-get update', require => Package['python-software-properties'] } package { 'nodejs': […]