Puppet Class: cinderutils

Defined in:
modules/cinderutils/manifests/init.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'modules/cinderutils/manifests/init.pp', line 1

class cinderutils {
    # remove this after a few puppet runs
    file { '/usr/sbin/prepare_cinder_volume':
        ensure => absent,
    }

    file { '/usr/local/sbin/wmcs-prepare-cinder-volume':
        ensure => present,
        source => 'puppet:///modules/cinderutils/wmcs-prepare-cinder-volume.py',
        owner  => 'root',
        group  => 'root',
        mode   => '0755',
    }

    # compat
    file { '/usr/local/sbin/prepare_cinder_volume':
        ensure => link,
        target => '/usr/local/sbin/wmcs-prepare-cinder-volume',
    }
}