forked from hp197/puppet-thumbor
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
76fd058
commit f207bd4
Showing
6 changed files
with
17 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
# @summary Manage Thumbor system service and instances | ||
# @api private | ||
class thumbor::service { | ||
anchor { 'thumbor::service::begin': } | ||
-> systemd::unit_file { '[email protected]': | ||
require(['thumbor::install', 'thumbor::config']) | ||
|
||
systemd::unit_file { '[email protected]': | ||
content => template('thumbor/thumbor.systemd.erb'), | ||
} | ||
-> thumbor::service::systemd { [$thumbor::ports]: } | ||
-> anchor { 'thumbor::service::end': } | ||
thumbor::service::systemd { [$thumbor::ports]: | ||
require => Systemd::Unit_file['[email protected]'], | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters