On Tue, Mar 30, 2010 at 7:58 PM, Daniel Pittman <dan...@rimspace.net> wrote:
> > > > > import "modules" > > import "templates" > > import "nodes" > > Er, did you include the class that manages the MOTD file anywhere? > Your debug output says no, because nothing mentions motd at all... > > > No. This just works(tm), aside from the need to change the file paths to > reflect the new "files in modules" path vs the old "files in modules" path. > > Daniel > > At least, not on my 50-odd nodes it didn't. > -- > ✣ Daniel Pittman ✉ dan...@rimspace.net ☎ +61 401 155 > 707 > ♽ made with 100 percent post-consumer electrons > > -- > > Yes, there is a complete class that manages MOTD. Here is site.pp: # site.pp import "modules" import "templates" import "nodes" file { "/etc/passwd": owner => "root", group => "root", mode => 644, } file { "/tmp/test": owner => "johns276", group => "accre", mode => 755, ensure => present, } Here is modules: import "sudo" import "motd" import "group" import "envvars" import "rclocal" import "selinux" import "hosts" import "rhosts" import "autofs" import "ntp" import "torque" import "nrpe" import "yum" import "nagios-plugins" import "puppetconf" import "static" import "syslog" import "epilogue" and there is an init.pp in modules/motd/manifests/ which includes the class needed to supply motd to the appropriate nodes. The motd files are in motd/files/ Like I said, all I have done is change the server from 0.24 to 0.25. File locations on both server and clients is unchanged. So, I have done something, but I am not sure what. Cheers-- Charles -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.