It is very ordinary:

       file { "/usr/ops/bin/create-zpool.sh":
               owner => root,
               group => root,
               mode => 755,
               source => "puppet:///files/usr/ops/bin/create-
zpool.sh",
               ensure => present
       }

/M

On Oct 30, 5:45 pm, "Andrew Shafer" <[EMAIL PROTECTED]> wrote:
> What does the definition of that file resource look like?
>
> On Thu, Oct 30, 2008 at 10:38 AM, Martin Englund <[EMAIL PROTECTED]>wrote:
>
>
>
> > Folks,
>
> > I'm getting a strange error message from puppet:
> > Thu Oct 30 09:30:27 -0700 2008 //Node[default]/base/zfs/File[/usr/ops/
> > bin/create-zpool.sh] (err): Failed to retrieve current state of
> > resource: undefined method `[]' for :che:Symbol
>
> > I thought I'd ask if someone has seen this before I start digging
> > deeper.
>
> > cheers,
> > /Martin
> > --
> > Martin Englund, Security Engineer, .Sun Engineering, Sun Microsystems
> > Inc.
> > Email: [EMAIL PROTECTED]  Time Zone: GMT+1  PGP: 1024D/AA514677
> > "The question is not if you are paranoid, it is if you are paranoid
> > enough."
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to