diff options
author | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-01-29 11:01:12 +0100 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-01-29 11:01:12 +0100 |
commit | e5692d6d992bb9899e62c573d0fa3b5be9540778 (patch) | |
tree | c3ce45f06d12d7c92fa3581538862a62c9b416c1 /provisioning/modules/pixelated/manifests/source.pp | |
parent | 2652238050640d7984f9464a9487d960133af19f (diff) |
Issue #252: Now correct node_modules gets deleted and phantomjs is installed.
Diffstat (limited to 'provisioning/modules/pixelated/manifests/source.pp')
-rw-r--r-- | provisioning/modules/pixelated/manifests/source.pp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/provisioning/modules/pixelated/manifests/source.pp b/provisioning/modules/pixelated/manifests/source.pp index c84eecfe..d740bc86 100644 --- a/provisioning/modules/pixelated/manifests/source.pp +++ b/provisioning/modules/pixelated/manifests/source.pp @@ -1,4 +1,5 @@ class pixelated::source { + include phantomjs package { [ 'git', @@ -26,7 +27,7 @@ class pixelated::source { } class install_pixelated { - $virtualenv_path = "/home/vagrant/user-agent-venv" + $virtualenv_path = '/home/vagrant/user-agent-venv' exec { 'install-pixelated': environment => 'USERNAME=vagrant', @@ -44,8 +45,8 @@ class pixelated::source { } file { '/home/vagrant/.activate_custom_node_modules.sh': - owner => 'vagrant', - mode => '0600', + owner => 'vagrant', + mode => '0600', source => 'puppet:///modules/pixelated/activate_custom_node_modules.sh', } exec { 'add_custom_node_modules_to_bashrc': |