Hello All,

     I'm having problems getting a simple defined resource type work. 
 Here's an example of what I'm trying to run:

class app_deployer2 {
 define fil($ensure) { file {$name:
   content => "this is a test"
   }
 }

 fil { "File1" :ensure => "/tmp/file1" }

 }

#
But when I run it, I keep on geting error:

"err: Failed to apply catalog: Parameter path failed: File paths must be 
fully qualified, not 'File1' at 
/etc/puppet/modules/app_deployer2/manifests/init.pp:5"

As far as I can tell, this should work, but is not.  Can anyone see what I'm 
missing?

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/PpYd3Zoy2DMJ.
To post to this group, send email to puppet-users@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