Files
puppet-swift/manifests/storage/generic/upstart.pp
Dan Bode 94fb333ab9 Move generic::upstart to its own file
I am not so sure that having multiple resource
types in the same file is supported as of 2.7.11

I am refactoring this code so that the upstart define
resides in its own file according to our standards.
2012-03-17 01:42:15 -07:00

11 lines
332 B
Puppet

# TODO this should be removed when the upstart packages are fixed.
define swift::storage::generic::upstart() {
file { "/etc/init/swift-${name}.conf":
mode => '0644',
owner => 'root',
group => 'root',
source => "puppet:///modules/swift/swift-${name}.conf.upstart",
before => Service["swift-${name}"],
}
}