Team, I am in the process of investigating issues that going to popup during migration process. Currently I have installed puppet 3.1.1 from yum repository of puppetlabs
The installation process is pretty much strait forward but when I try to test the modules which were written based on the puppet-0.25.4, Most of the files sourced from the puppet server to agents using the following format, source => [ "puppet:///bamssh/sshd_config.$hostname", "puppet:///bamssh/sshd_config.$virtual", "puppet:///bamssh/sshd_config.$operatingsystemrelease" ], I am getting the following error message when I run the following command on master server ... (puppet apply bamssh/test/init.pp --debug) -------------------------------------------------------------------------------------------------------------------------------------------------------------------- *Error: /Stage[main]/Bamssh/File[/etc/ssh/sshd_config]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/bamssh/sshd_config.oel-puppet-master, puppet:///modules/bamssh/sshd_config.virtualbox, puppet:///bamssh/sshd_config.5.9* *Notice: /Stage[main]/Bamssh/Service[sshd]: Dependency File[/etc/ssh/sshd_config] has failures: true* *Warning: /Stage[main]/Bamssh/Service[sshd]: Skipping because of failed dependencies* --------------------------------------------------------------------------------------------------- When I specify the modules in the path, everything went fine when I run the same command (puppet apply bamssh/test/init.pp --debug) ... *source => [ "puppet:///modules/bamssh/sshd_config.$hostname", "puppet:///modules/bamssh/sshd_config.$virtual", "puppet:///modules/bamssh/sshd_config.$operatingsystemrelease" ],* ------------------------ Debug: Executing '/sbin/service sshd status' Debug: /Schedule[never]: Skipping device resources because running on a host Debug: /Schedule[weekly]: Skipping device resources because running on a host Debug: /Schedule[puppet]: Skipping device resources because running on a host Debug: Finishing transaction 70344638024840 Debug: Storing state Debug: Stored state in 0.01 seconds Notice: Finished catalog run in 0.32 seconds ------------------------------------------------------------------------------------------------------------ There are many places that requires this change, is there any round about to use old format in specifying path without the word "modules" word in sourcing file from puppet server to client (node) Could someone advise best-way to migrate from puppet-0.25.4 to the latest puppet, I will appreciate if someone share their experiences in migrating old puppet version to the latest ... Thank you very much in advance ,,,... -- 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+unsubscr...@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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.