Like this:
info: Loading fact location
info: Loading fact zpool
info: Loading fact zonename
info: Retrieving facts
info: Loading fact location
info: Loading fact zpool
info: Loading fact zonename
info: Caching catalog at /vr/puppet/state/localconfig.yaml
notice: Starting catalog run
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:2392:in `cached'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type/file/checksum.rb:75:in
`cache'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type/file/checksum.rb:129:in
`currentsum'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type/file/checksum.rb:233:in
`retrieve'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:924:in
`currentpropvalues'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util/posix.rb:133:in `inject'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:916:in `each'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:916:in `inject'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:916:in
`currentpropvalues'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type/file.rb:823:in `retrieve'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:833:in `evaluate'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:60:in `apply'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:239:in
`eval_resource'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:445:in `thinmark'
/usr/ops/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:444:in `thinmark'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:238:in
`eval_resource'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:310:in
`evaluate'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:445:in `thinmark'
/usr/ops/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:444:in `thinmark'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:309:in
`evaluate'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:303:in `collect'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transaction.rb:303:in
`evaluate'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/node/catalog.rb:124:in `apply'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:256:in
`run'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:212:in `benchmark'
/usr/ops/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:211:in `benchmark'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:255:in
`run'
/usr/ops/lib/ruby/1.8/sync.rb:229:in `synchronize'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:237:in
`run'
/usr/ops/bin/puppetd:417
err: //Node[default]/base/zfs/File[/usr/ops/bin/create-zpool.sh]:
Failed to retrieve current state of resource: undefined method `[]'
for :che:Symbol
info: Sent transaction report in 0.15 seconds
notice: Finished catalog run in 1.18 seconds
/M
On Oct 30, 9:44 pm, "Andrew Shafer" <[EMAIL PROTECTED]> wrote:
> What does --trace look like?
>
> On Thu, Oct 30, 2008 at 12:47 PM, martin <[EMAIL PROTECTED]> wrote:
>
> > 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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---