Hi
I have been trying to use class dependency and had no luck so far.
following are the two classes i am trying to use
[root@puppet]#cat libreoffice.pp
class libreoffice {
case $hostname {
"foo": { package { "libreoffice": ensure => present, require =>
Class["foo1"] } }
}
}
[root@puppet]#cat foo.pp
class foo1 {
package { "openoffice.org-core":
ensure => absent,
}
}
When i run puppetd on client i get the error message
Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find class foo1 at /etc/puppet/manifests/classes/
libreoffice.pp:18 on node
Do i need to do anything else in order to use require => Class?
Any help would be appreciated
Thanks
Brijesh
Do i need
--
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.