Skip to content

Commit

Permalink
Make installing puppet quieter
Browse files Browse the repository at this point in the history
  • Loading branch information
bfirsh committed Feb 27, 2014
1 parent 6451c33 commit cab747e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions loom/puppet.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fabric.api import env, abort, put, cd, sudo, task, settings, hide, show, execute
from fabric.api import env, abort, put, cd, sudo, task, execute
from fabric.contrib.files import upload_template
from StringIO import StringIO
import os
Expand Down Expand Up @@ -80,9 +80,8 @@ def install():
"""
Install Puppet and its configs without any agent or master.
"""
with settings(hide('stdout'), show('running')):
sudo('apt-get update')
sudo('apt-get -y install rubygems git')
sudo('apt-get update -qq')
sudo('apt-get -y -q install rubygems git')

puppet_version = env.get('loom_puppet_version')
sudo(_gem_install('puppet', version=puppet_version))
Expand Down

0 comments on commit cab747e

Please sign in to comment.