
* Fix following warnings: * double quoted string containing no variables * indentation of => is not properly aligned * mode should be represented as a 4 digit octal value or symbolic mode * string containing only a variable * top-scope variable being used without an explicit namespace * unquoted file mode * variable not enclosed in {} * Fix following errors: * trailing whitespace found * two-space soft tabs not used * Remove quotes around class in include/require statements Change-Id: Ia920d848e1955612a6486ec8731309e6d3a70f63
24 lines
651 B
Puppet
24 lines
651 B
Puppet
class swift::storage::account(
|
|
$package_ensure = 'present'
|
|
) {
|
|
swift::storage::generic { 'account':
|
|
package_ensure => $package_ensure,
|
|
}
|
|
|
|
service { 'swift-account-reaper':
|
|
name => $::swift::params::account_reaper_service_name,
|
|
ensure => running,
|
|
enable => true,
|
|
provider => $::swift::params::service_provider,
|
|
require => Package['swift-account'],
|
|
}
|
|
|
|
service { 'swift-account-auditor':
|
|
name => $::swift::params::account_auditor_service_name,
|
|
ensure => running,
|
|
enable => true,
|
|
provider => $::swift::params::service_provider,
|
|
require => Package['swift-account'],
|
|
}
|
|
}
|