Quantcast
Channel: Java mon amour
Viewing all articles
Browse latest Browse all 1121

Installing puppet-lint on your Vagrant VirtualBox

$
0
0
BEFORE you commit your puppet stuff, you better "lint" it :

http://rubydoc.info/gems/puppet-lint/0.3.2/frames

gem install puppet-lint

Although there are ways to install a gem offline, it's a lot easier to configure a proxy:

export http_proxy=http://myuser:mypassword@myproxyhost:myproxyport
gem install puppet-lint
and then:

cd /tmp/vagrant-puppet/modules-0/osb/manifests
puppet-lint --with-filename instance.pp

instance.pp - ERROR: trailing whitespace found on line 17

Viewing all articles
Browse latest Browse all 1121

Trending Articles