hai
given the same run list for 2 nodes, their run list expansion is not the
same. below, admin1 shows the correct run list expansion, admin2 does
not. any ideas what to look for? fwiw i tried the following:
knife node delete -y admin2.prod.solsticehippies.com
then on admin2, reran chef-client using -j runlist.json to recreate the
same intended run list. same result: incorrect run list expansion.
clients are CentOS 5.7, chef 0.10.4.
server is Ubuntu 11.04, chef 0.10.4
== correct run list expansion ==
[chef-repo]$ knife node show admin1.prod.solsticehippies.com -r
run_list:
role[base]
role[admin-server]
recipe[ec2-ephraid]
recipe[ec2-ebs]
role[dns-server]
role[syslog-ng-server]
role[vpn-server]
role[postfix-server]
recipe[zabbix]
recipe[cleanup]
[Fri, 30 Dec 2011 20:55:30 +0000] INFO: Run List expands to [chef-client::delete_validation, chef-client::config, chef-client, resolver::05nameservice-client, s3cmd, users::ops, users::dba, users::user-file-dist, snmp, toolbin, yum::19yum, admin-services, ec2-ephraid, ec2-ebs, bind9::04nameserver, syslog-ng::17syslog-ng, openvpn, postfix, postfix::sasl_auth, zabbix, cleanup]
== incorrect run list expansion ==
[chef-repo]$ knife node show admin2.prod.solsticehippies.com -r
run_list:
role[base]
role[admin-server]
recipe[ec2-ephraid]
recipe[ec2-ebs]
role[dns-server]
role[syslog-ng-server]
role[vpn-server]
role[postfix-server]
recipe[zabbix]
recipe[cleanup]
[Fri, 30 Dec 2011 20:44:25 +0000] INFO: Run List expands to [admin-services, ec2-ephraid, ec2-ebs, bind9::04nameserver, syslog-ng::17syslog-ng, openvpn, postfix, postfix::sasl_auth, zabbix, cleanup]
== the base role ==
[chef-repo]$ knife role show base -a env_run_lists | grep prod
prod: role[chef-client], role[dns-client], recipe[s3cmd], recipe[users::ops], recipe[users::dba], recipe[users::user-file-dist], recipe[snmp], recipe[toolbin], recipe[yum::19yum]
thanks,
kallen