environment settings looks like this,
# Setup dynamic environments with R10k
environment = production
manifest = $confdir/environments/$environment/manifests/default.pp
modulepath =
$confdir/environments/$environment/modules:$confdir/environments/$environment/dist:/opt/puppet/share/puppet/modules/
I used r10k to deploy environments to /etc/puppetlabs/puppet/environments,
and it looks like this,
/etc/puppetlabs/puppet/environments
└── atlassian_automation
├── manfests
└── modules
├── apache_config
├── concat
├── custom_facts
├── firewall
├── hiera-config
├── inifile
├── iptables
├── ntp
├── stdlib
└── vision_config
Now I have a node that registered to this puppet master, and I triggered an
agent like this,
puppet agent -t --environment atlassian_automation
While there are some catalogs being synced down to the node, the custom
modules I wrote above do not get copied over to my node. I check the
puppetmaster.access.log at /var/log/pe-httpd, and I saw these lines,
10.10.20.55 - - [08/Oct/2013:07:46:35 -0700] "GET
/atlassian_automation/file_content/plugins/facter/apache_info.rb HTTP/1.1"
200 329
10.10.20.55 - - [08/Oct/2013:07:46:35 -0700] "GET
/atlassian_automation/file_content/plugins/facter/mysql_jdbc_info.rb
HTTP/1.1" 200 756
10.10.20.55 - - [08/Oct/2013:07:46:35 -0700] "GET
/atlassian_automation/file_content/plugins/facter/concat_basedir.rb
HTTP/1.1" 200 220
10.10.20.55 - - [08/Oct/2013:07:46:35 -0700] "GET
/atlassian_automation/file_content/plugins/facter/concat_basedir.rb
HTTP/1.1" 200 220
10.10.20.55 - - [08/Oct/2013:07:46:35 -0700] "GET
/atlassian_automation/file_content/plugins/puppet/util/firewall.rb
HTTP/1.1" 200 5982
10.10.20.55 - - [08/Oct/2013:07:46:35 -0700] "GET
/atlassian_automation/file_content/plugins/puppet/util/firewall.rb
HTTP/1.1" 200 5982
10.10.20.55 - - [08/Oct/2013:07:46:35 -0700] "GET
/atlassian_automation/file_content/plugins/puppet/provider/firewall/iptables.rb
HTTP/1.1" 200 11225
10.10.20.55 - - [08/Oct/2013:07:46:35 -0700] "GET
/atlassian_automation/file_content/plugins/puppet/provider/firewall/iptables.rb
HTTP/1.1" 200 11225
10.10.20.55 - - [08/Oct/2013:07:46:36 -0700] "GET
/atlassian_automation/file_content/plugins/facter/php_info.rb HTTP/1.1" 200
737
10.10.20.55 - - [08/Oct/2013:07:46:36 -0700] "GET
/atlassian_automation/file_content/plugins/puppet/type/firewall.rb
HTTP/1.1" 200 22694
10.10.20.55 - - [08/Oct/2013:07:46:37 -0700] "GET
/atlassian_automation/file_content/plugins/puppet/type/firewall.rb
HTTP/1.1" 200 22694
10.10.20.55 - - [08/Oct/2013:07:46:40 -0700] "POST
/atlassian_automation/catalog/chillyhilly.local HTTP/1.1" 200 25398
10.10.20.55 - - [08/Oct/2013:07:46:42 -0700] "GET
/atlassian_automation/file_metadatas/modules/pe_mcollective/plugins?links=manage&recurse=true&&&checksum_type=md5
HTTP/1.1" 200 20592
10.10.20.55 - - [08/Oct/2013:07:46:43 -0700] "PUT
/atlassian_automation/report/chillyhilly.local HTTP/1.1" 200 26
10.10.20.55 - - [08/Oct/2013:07:46:56 -0700] "GET
/atlassian_automation/node/chillyhilly.local? HTTP/1.1" 200 4237
10.10.20.55 - - [08/Oct/2013:07:46:57 -0700] "GET
/atlassian_automation/file_metadatas/plugins?links=manage&recurse=true&&ignore=---+%0A++-+%22.svn%22%0A++-+CVS%0A++-+%22.git%22&checksum_type=md5
HTT
P/1.1" 200 50066
10.10.20.55 - - [08/Oct/2013:07:47:00 -0700] "POST
/atlassian_automation/catalog/chillyhilly.local HTTP/1.1" 200 25398
10.10.20.55 - - [08/Oct/2013:07:47:01 -0700] "GET
/atlassian_automation/file_metadatas/modules/pe_mcollective/plugins?links=manage&recurse=true&&&checksum_type=md5
HTTP/1.1" 200 20592
It looks like puppet master realize the dynamic environment settings, but
why my modules does not get down and applied? Any thought?
Thanks,
Chengkai
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.