Hello,
Just upgraded Puppet from 3.4.3 to 3.6.0 in our sandbox, noticed the following.
- directory environments
Documentation says; "Set environmentpath = $confdir/environments in the puppet master’s puppet.conf (in the [master] or [main] section)."
Except environmentpath does not work in the [master] section, [main] section works fine
Checked with; puppet config print and value is empty when specified in [master] section.
- puppet run now shows warnings on file resources with sourceselect for files which are not available in <module>/files directory.
May 16 10:58:41 <hostname> puppet-agent[21561]: Find /tst/file_metadata/modules/iptables/iptables-config_iptables-1.4.7-11.el6.x86_64.<hostname>?links=manage&source_permissions=use resulted in 404 with the message: Not Found: Could not find file_metadata modules/iptables/iptables-config_iptables-1.4.7-11.el6.x86_64.<hostname>
file { '/etc/sysconfig/iptables-config' :
ensure => present,
owner => 'root',
group => 'root',
mode => $iptables::params::mode_sysconfig,
source =>
[
"puppet:///modules/iptables/iptables-config_${::iptablesversion}.${::hostname}",
"puppet:///modules/iptables/iptables-config_${::iptablesversion}"
],
sourceselect => first,
}
Info: Retrieving plugin
Info: Loading facts in /etc/puppet/environments/tst/modules/netbackup/lib/facter/netbackup_agent_version.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/netbackup/lib/facter/netbackup.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/multipath/lib/facter/lvm2version.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/multipath/lib/facter/multipathversion.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/common/lib/facter/vendor.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/common/lib/facter/runlevel.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/common/lib/facter/ictro_status.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/common/lib/facter/swap.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/selinux/lib/facter/c_selinux.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/vmware/lib/facter/vmware_tools_version.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/vmware/lib/facter/vmware_esx_version.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/ad/lib/facter/winbind.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/dell/lib/facter/omsa_version.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/ovo/lib/facter/ovo_agent_version.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/puppet/lib/facter/os_version.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/ssh/lib/facter/sshdversion.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/oracle/lib/facter/oracle.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/iptables/lib/facter/iptables.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/iptables/lib/facter/iptablesversion.rb
Info: Loading facts in /var/lib/puppet/lib/facter/multipathversion.rb
Info: Loading facts in /var/lib/puppet/lib/facter/ovo_agent_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/vmware_esx_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/vmware_tools_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/lvm2version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/netbackup.rb
Info: Loading facts in /var/lib/puppet/lib/facter/iptables.rb
Info: Loading facts in /var/lib/puppet/lib/facter/sshdversion.rb
Info: Loading facts in /var/lib/puppet/lib/facter/omsa_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/vendor.rb
Info: Loading facts in /var/lib/puppet/lib/facter/iptablesversion.rb
Info: Loading facts in /var/lib/puppet/lib/facter/oracle.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/os_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/netbackup_agent_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/ictro_status.rb
Info: Loading facts in /var/lib/puppet/lib/facter/c_selinux.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/winbind.rb
Info: Loading facts in /var/lib/puppet/lib/facter/swap.rb
Info: Loading facts in /var/lib/puppet/lib/facter/runlevel.rb
Stefan
Hello,
Just upgraded Puppet from 3.4.3 to 3.6.0 in our sandbox, noticed the following.
- directory environments
Documentation says; "Set environmentpath = $confdir/environments in the puppet master’s puppet.conf (in the [master] or [main] section)."
Except environmentpath does not work in the [master] section, [main] section works fine
Checked with; puppet config print and value is empty when specified in [master] section.- puppet run now shows warnings on file resources with sourceselect for files which are not available in <module>/files directory.
May 16 10:58:41 <hostname> puppet-agent[21561]: Find /tst/file_metadata/modules/iptables/iptables-config_iptables-1.4.7-11.el6.x86_64.<hostname>?links=manage&source_permissions=use resulted in 404 with the message: Not Found: Could not find file_metadata modules/iptables/iptables-config_iptables-1.4.7-11.el6.x86_64.<hostname>
file { '/etc/sysconfig/iptables-config' :
ensure => present,
owner => 'root',
group => 'root',
mode => $iptables::params::mode_sysconfig,
source =>
[
"puppet:///modules/iptables/iptables-config_${::iptablesversion}.${::hostname}",
"puppet:///modules/iptables/iptables-config_${::iptablesversion}"
],
sourceselect => first,
}ll iptables/files/iptables-config_iptables-1.4.7-11*
-rw-r-----. 1 puppet puppet 1974 Feb 26 2013 files/iptables-config_iptables-1.4.7-11.el6.x86_64
- puppet run on the puppet master, facts loaded twice, from modules directory and /var/lib/puppetInfo: Retrieving plugin
Info: Loading facts in /etc/puppet/environments/tst/modules/netbackup/lib/facter/netbackup_agent_version.rb
Info: Loading facts in /etc/puppet/environments/tst/modules/netbackup/lib/facter/netbackup.rb
Stefan