Hello

I have this

fly::create_dir { "/usr/share/mysql-zrm/pkgs" : mode => 0755, owner => bin,
group => bin }

==> creates the directory and parents .. it just does a mkdir -p with couple
test

so I have
                 file {  "$client_package_file" :
                                path =>
"/usr/share/mysql-zrm/pkgs/$client_package_file",
                                source =>
"puppet:///fly-zrm/pkgs/$client_package_file",
                                mode => 0444, owner => bin, group => bin,
                                links => follow,
                                notify => Exec[
"install-$client_package_name" ],
                                require => fly::create_dir[
"/usr/share/mysql-zrm" ]
                        }


So i need to make sure create_dir is executed before the 'file' being copied
over
but it fails with

err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Syntax error at 'fly::create_dir'; expected '}' at
/var/lib/puppet/fly/modules/fly-zrm/manifests/client.pp:26 on node db10


can someone help me? .. i do not know if this is even possible and I could
different solution

i tried to capitalized the FLY. Fly, Create combination ..


thanks



-- 
-ls

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to