summaryrefslogtreecommitdiff
path: root/provisioning/modules/chromedriver/manifests
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2017-06-06 14:21:49 -0300
committerTulio Casagrande <tcasagra@thoughtworks.com>2017-06-06 14:21:49 -0300
commit528fe698da03dd751d6516cbbd5f520c4506957e (patch)
tree838e3d0839e9a6f27c17c348d71388d555d55724 /provisioning/modules/chromedriver/manifests
parentb9467308bf33ea3cbff30598ec47607565a02463 (diff)
Add missing requires to chromedriver module
Diffstat (limited to 'provisioning/modules/chromedriver/manifests')
-rw-r--r--provisioning/modules/chromedriver/manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/provisioning/modules/chromedriver/manifests/init.pp b/provisioning/modules/chromedriver/manifests/init.pp
index d3f0a414..709d8aa1 100644
--- a/provisioning/modules/chromedriver/manifests/init.pp
+++ b/provisioning/modules/chromedriver/manifests/init.pp
@@ -25,13 +25,14 @@ class chromedriver (
command => "/usr/bin/unzip ${chromedriver} -d /usr/local/bin/",
cwd => '/var/tmp/',
creates => '/usr/local/bin/chromedriver',
+ require => [ Exec['fetch_chromedriver'] ],
}
exec { 'install_google_chrome':
command => "/usr/bin/dpkg -i ${google_chrome} || /usr/bin/apt-get -y -f install",
cwd => '/var/tmp/',
unless => '/usr/bin/dpkg -l google-chrome-stable > /dev/null 2>&1',
- require => [ Exec['apt_get_update'] ],
+ require => [ Exec['fetch_google_chrome'], Exec['apt_get_update'] ],
}
}