Hi All

I have a bit of a strange one, and am not sure I'm doing this right. This is
with 2.6.4 on Solaris 10

We want to create a sym link from a source file that is created by a
package. If the package isn't installed, puppet in noop is registering an
error (big red in the dashboard) because it cannot stat the source file of
the link.

root@warbjohn# cat /tmp/symlink2.pp
package {"somepackage":
    ensure => installed,
}
file {"/path/created/by/some/package/link":
    source => "/path/created/by/some/package/source",
    require => Package["somepackage"],
}

root@warbjohn# puppet --verbose --noop /tmp/symlink2.pp
info: Applying configuration version '1299817006'
notice: /Stage[main]//Package[somepackage]/ensure: current_value absent,
should be present (noop)
err: /Stage[main]//File[/path/created/by/some/package/link]: Could not
evaluate: Could not retrieve information from source(s)
/path/created/by/some/package/source at /tmp/symlink2.pp:7
notice: Finished catalog run in 10.63 seconds

IMHO, I don't think this should be an error from noop. Is this a bug, or am
I pushing my luck?

Thanks

John

-- 
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 
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