发布时间:2015-04-01 18:09:20
具体不解释了,在Docker上做测试,注释了一些没办法实现的功能如require/notify等。[root@localhost puppet]# tree modules/modules/└── apache ├── manifests │ └── init.pp └── templates └─.........【阅读全文】
发布时间:2015-04-01 17:41:52
# tree modules/foomodules/foo└── manifests └── init.ppclass foo ( $a = 'aaa', $b = 'bbb', $c = 'ccc',) { notify { "\na=${a}\nb=${b}\nc=${c} ": }}执行结果# puppet ap.........【阅读全文】
发布时间:2015-04-01 14:03:02
#!/bin/bashif [ $# -lt 1 ]; then echo "tomcat instance ID is required, e.g 01 02" echo "USAGE: $0 instanceID" exit 1fihost=`hostname`for id in $@do $jid =>process ID( PID) echo "saving jstack to tomcat inst.........【阅读全文】
发布时间:2015-03-31 14:41:25
# class XX......define instance( $binlog_format = 'STATEMENT', $environment = $environment, $etc_mycnf &n.........【阅读全文】
发布时间:2015-02-13 10:52:02
# See how we were called.case "$1" in start) start && exit 0 ;; stop) &.........【阅读全文】