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..063052e 100644
- --- a/deployment/puppet/nailgun/manifests/tuningbox/syncdb.pp
- +++ b/deployment/puppet/nailgun/manifests/tuningbox/syncdb.pp
- @@ -3,8 +3,10 @@ class nailgun::tuningbox::syncdb (
- ) 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}"],
- }
- }
- diff --git a/deployment/puppet/nailgun/manifests/tuningbox/systemd.pp b/deployment/puppet/nailgun/manifests/tuningbox/systemd.pp
- index e99cd1c..2b22962 100644
- --- a/deployment/puppet/nailgun/manifests/tuningbox/systemd.pp
- +++ b/deployment/puppet/nailgun/manifests/tuningbox/systemd.pp
- @@ -22,7 +22,7 @@ class nailgun::tuningbox::systemd (
- service { "${app_name}":
- ensure => running,
- enable => true,
- - subscribe => Exec['systemd_reload'],
- + subscribe => [ Exec['systemd_reload'], Exec["${syncdb_script}"] ]
- require => File["${systemd_script_path}"],
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement