Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/deployment/puppet/nailgun/manifests/tuningbox/syncdb.pp b/deployment/puppet/nailgun/manifests/tuningbox/syncdb.pp
- index 4cec01d..18193fe 100644
- --- a/deployment/puppet/nailgun/manifests/tuningbox/syncdb.pp
- +++ b/deployment/puppet/nailgun/manifests/tuningbox/syncdb.pp
- @@ -1,10 +1,15 @@
- class nailgun::tuningbox::syncdb (
- - $syncdb_script = $::nailgun::tuningbox::params::syncdb_script,
- + $config_file_path = $::nailgun::tuningbox::params::config_file_path,
- + $app_name = $::nailgun::tuningbox::params::app_name,
- + $syncdb_script = $::nailgun::tuningbox::params::syncdb_script,
- ) inherits nailgun::tuningbox::params {
- exec {"${syncdb_script}":
- - tries => 5,
- - try_sleep => 10,
- - path => '/usr/bin:/bin:/usr/sbin:/sbin',
- + tries => 5,
- + try_sleep => 10,
- + refreshonly => true,
- + path => '/usr/bin:/bin:/usr/sbin:/sbin',
- + subscribe => File["${config_file_path}"],
- + notify => Service["${app_name}"],
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement