summaryrefslogtreecommitdiff
path: root/provisioning/modules
diff options
context:
space:
mode:
Diffstat (limited to 'provisioning/modules')
-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'] ],
}
}