細細.魚 发表于 2018-8-2 12:29:02

Puppet基础篇9-Puppetmaster多环境配置

# puppet agent -t  
info: Caching catalog for agent1_cert.kisspuppet.com
  
info: Applying configuration version '1395931962'
  
notice: /Stage/Motd/File/content:
  
--- /etc/motd    2014-03-27 22:55:43.000000000 +0800
  
+++ /tmp/puppet-file20140327-30010-8ada2g-0    2014-03-27 22:56:19.000000000 +0800
  
@@ -0,0 +1,3 @@
  
+--                     --
  
+--------puppet test---------
  
+--                     --
  
info: FileBucket got a duplicate file {md5}d41d8cd98f00b204e9800998ecf8427e
  
info: /Stage/Motd/File: Filebucketed /etc/motd to puppet with sum d41d8cd98f00b204e9800998ecf8427e
  
notice: /Stage/Motd/File/content: content changed '{md5}d41d8cd98f00b204e9800998ecf8427e' to '{md5}87ea3a1af8650395038472457cc7f2b1'
  
notice: /Stage/Puppet::Config/File/content:
  
--- /etc/puppet/puppet.conf    2014-03-27 22:56:14.000000000 +0800
  
+++ /tmp/puppet-file20140327-30010-cmjg48-0    2014-03-27 22:56:19.000000000 +0800
  
@@ -10,4 +10,3 @@
  server = puppetmaster.kisspuppet.com
  certname = agent1_cert.kisspuppet.com
  runinterval = 10
  
-    environment =kissprd
  
info: FileBucket got a duplicate file {md5}43df60b1aa2638c5f10aa7e6be892b77
  
info: /Stage/Puppet::Config/File: Filebucketed /etc/puppet/puppet.conf to puppet with sum 43df60b1aa2638c5f10aa7e6be892b77
  
notice: /Stage/Puppet::Config/File/content: content changed '{md5}43df60b1aa2638c5f10aa7e6be892b77' to '{md5}8c67cb8c039bb6436556b91f0c6678c4'

  
info: /Stage/Puppet::Config/File: Scheduling refresh of>
  
info:>  
notice: /Service/ensure: ensure changed 'stopped' to 'running'
  
notice: /Service: Triggered 'refresh' from 1 events
  
notice: Finished catalog run in 0.68 seconds
  
# cat /etc/motd
  
--                     --
  
--------puppet test---------
  
--                     --
页: [1]
查看完整版本: Puppet基础篇9-Puppetmaster多环境配置