1 [root@agent1 ~]# puppet agent -t
2 Notice: Ignoring --listen on onetime run
3 Info: Retrieving pluginfacts
4 Info: Retrieving plugin
5 Info: Caching catalog for agent1.pup.yxnu
6 Info: Applying configuration version ‘1483969520‘
7 Notice: /Stage[main]/Motd/File[/etc/motd]/content:
8 --- /etc/motd 2010-01-12 21:28:22.000000000 +0800
9 +++ /tmp/puppet-file20170109-2933-1q3m9uz-0 2017-01-09 21:45:21.074912907 +0800
10 @@ -0,0 +1,3 @@
11 +---------------------
12 +this is puppet testing
13 +-----------------------
14
15 Info: Computing checksum on file /etc/motd
16 Info: /Stage[main]/Motd/File[/etc/motd]: Filebucketed /etc/motd to puppet with sum d41d8cd98f00b204e9800998ecf8427e
17 Notice: /Stage[main]/Motd/File[/etc/motd]/content: content changed ‘{md5}d41d8cd98f00b204e9800998ecf8427e‘ to ‘{md5}b97562be6190ed905ab4e86a21c4e0c9‘
18 Notice: Finished catalog run in 0.71 seconds
19 [root@agent1 ~]# cat /etc/mo
20 modprobe.d/ motd
21 [root@agent1 ~]# cat /etc/motd
22 ---------------------
23 this is puppet testing
24 -----------------------
25 [root@agent1 ~]#