发布时间:2012-11-29 17:54:59
#!/bin/bashset -xd=/tmp/citypasswd=123456mysql -uroot -p${passwd} -e "create database city;"for n in `cd $d ; ls -l |awk -F "[ .]" 'NR >1,(NF = NF -1) {print $NF}' |uniq `do echo $n dn=${d}/${n} m.........【阅读全文】
发布时间:2012-11-29 11:34:33
1,新建了个class[root@web1.test.com /etc/puppet/modules/cron/manifests]# lsinit.pp install.pp puppet.pp service.pp[root@web1.test.com /etc/puppet/modules/cron/manifests]# cat *class cron { include cron::install,cron::service,cron::puppet}class c.........【阅读全文】