LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   puppet question (https://www.linuxquestions.org/questions/linux-newbie-8/puppet-question-947873/)

kamaleshbv1 05-31-2012 08:27 PM

puppet question
 
Hello All,

I have recently installed puppet and been playing around. I tried to change the "motd" via puppet and it's not happening so. Any help in this is greatly appreciated.

thanks

kamaleshbv1 05-31-2012 08:42 PM

root@puppet:~# cat /var/run/motd
Linux puppet 2.6.32-41-generic #89-Ubuntu SMP Fri Apr 27 22:22:09 UTC 2012 i686 GNU/Linux
Ubuntu 10.04.4 LTS

Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/

Your CPU appears to be lacking expected security protections.
Please check your BIOS settings, or for more information, run:
/usr/bin/check-bios-nx --verbose

root@puppet:~# puppetd --test
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet://alien/plugins
info: Caching catalog for puppet
info: Applying configuration version '1338512642'
--- /var/run/motd 2012-05-31 20:39:20.460173407 -0500
+++ /tmp/puppet-diffing20120531-3415-14q3mda-0 2012-05-31 20:39:40.420178074 -0500
@@ -1,10 +1 @@
-Linux puppet 2.6.32-41-generic #89-Ubuntu SMP Fri Apr 27 22:22:09 UTC 2012 i686 GNU/Linux
-Ubuntu 10.04.4 LTS
-
-Welcome to Ubuntu!
- * Documentation: https://help.ubuntu.com/
-
-Your CPU appears to be lacking expected security protections.
-Please check your BIOS settings, or for more information, run:
- /usr/bin/check-bios-nx --verbose
-
+If you dont work for my company . Please leave immediately.
notice: /Stage[main]//Node[puppet]/File[/var/run/motd]/checksum: checksum changed '{md5}0ce25af1d177d131299978637af7520d' to '{md5}1c0d36e090da162f75c36282a0a7924d'
info: /Stage[main]//Node[puppet]/File[/var/run/motd]: Filebucketed /var/run/motd to puppet with sum 1c0d36e090da162f75c36282a0a7924d
notice: /Stage[main]//Node[puppet]/File[/var/run/motd]/content: content changed '{md5}1c0d36e090da162f75c36282a0a7924d' to '{md5}0ce25af1d177d131299978637af7520d'
notice: Finished catalog run in 0.56 seconds
root@puppet:~# cat /var/run/motd
If you dont work for my company . Please leave immediately.
root@puppet:~#


All times are GMT -5. The time now is 05:06 PM.