I was wondering if I could get help.

on client


[r...@linux ~]# puppetd --test --verbose
info: Caching catalog at /var/lib/puppet/localconfig.yaml
notice: Starting catalog run
err: //Node[basenode]/motd/Package[motd]/ensure: change from absent to
latest failed: Could not update: Could not find package motd at
/etc/puppet/modules/motd/manifests/init.pp:5
notice: //Node[basenode]/motd/File[/etc/motd]: Dependency package[motd] has
1 failures
notice: Finished catalog run in 9.68 seconds

on puppetmaster

# /etc/puppet/modules/motd/manifests/init.pp

class motd {

    package { motd: ensure => latest }

    file { "/etc/motd":
        owner   => root,
        group   => root,
        mode    => 440,
        source  => "puppet:///motd/motd",
        require => Package["motd"],
    }
}



Thanks
Cory McKee

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