Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
        define client( $ensure = 'present' ) {
                case $ensure {
                        ###
                        # If 'present', we copy in the file from the template directory,
                        # and then we notify apache.
                        ###
                        'present' : {
                                file {
                                        "/opt/parabuild/etc/system/parabuild.conf":
                                                ensure          => file,
                                                owner           => parabuild,
                                                group           => parabuild,
                                                notify          => Service["parabuild"],
                                                content         => template("parabuild/parabuild.conf.erb"),
                                                require         => install_from_script[parabuild];
                                }
                        }
         }