Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
added subscribe to gunicorn service
Browse files Browse the repository at this point in the history
  • Loading branch information
ipetepete committed Mar 15, 2022
1 parent 253afc5 commit 7e98324
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@
}
~> service {'gunicorn':
ensure => 'running',
subscribe => [ Vcsrepo['/opt/mars'] ],
}
file { '/etc/gunicorn-conf.py' :
ensure => 'file',
Expand Down
6 changes: 0 additions & 6 deletions manifests/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,6 @@
],
}

service { 'gunicorn':
enable => true,
ensure => running,
subscribe => [ Vcsrepo['/opt/mars'] ],
}

exec { 'nginx':
command => '/bin/systemctl enable nginx',
creates => '/etc/systemd/system/multi-user.target.wants/nginx.service',
Expand Down

0 comments on commit 7e98324

Please sign in to comment.