By default, when using
apt-get, Puppet v2.7 will be installed. This version doesn’t support useful features, such as Lambdas and iteration. To use these experimental features, Puppet v3.2+ is required.
First, visit http://apt.puppetlabs.com/ and determine the matching Ubuntu version.
Let’s assume we are using Ubuntu 13.04 (Raring Ringtail). So, we will choose http://apt.puppetlabs.com/puppetlabs-release-raring.deb from the list.
Execute the following commands to install Puppet:-
wget http://apt.puppetlabs.com/puppetlabs-release-raring.deb sudo dpkg -i puppetlabs-release-raring.deb sudo apt-get update sudo apt-get install puppet
Finally, run the following command to verify the installed version:-
The installed version should be v3.2+ and above.