Ask Your Question
0

puppet opensource version shows as 3.8.5 always

asked 2017-11-22 23:34:43 -0600

pupperServer gravatar image

Hi ,

I have followed the puppet install guide and installed the puppet 5,1 opensource on ubuntu 16.04 Once i have installed , puppet version shows as 3.8.5

image description

Could you please let me know why my puppet version always shows as 3.8.5. Is there any command to check the puppet server version? Is i am missing any step here?

Thanks, Sudhakaran B

edit retag flag offensive close merge delete

Comments

Hi, could it be that you used the wrong repository? Can you paste the repository you are using in here?

buddy_spencer gravatar imagebuddy_spencer ( 2017-11-23 02:01:56 -0600 )edit

3 Answers

Sort by » oldest newest most voted
0

answered 2017-11-25 22:56:01 -0600

rnelson0 gravatar image

Uninstall the puppet, puppet-common (v3.8.5) packages. Puppet 5 replaces these packages with the single package puppet-agent. I believe they end up in different directories, though I don’t use Debian systems, and the v3 binaries are found in your path first.

It is possible you will need to reinstall the v5 packages afterward, but you definitely want to uninstall v3 first.

edit flag offensive delete link more
0

answered 2017-11-24 00:43:56 -0600

pupperServer gravatar image

Hi buddy_spencer , root@puppet5:~# cat /etc/apt/sources.list #

deb cdrom:[Ubuntu-Server 16.04.3 LTS Xenial Xerus - Release amd64 (20170801)]/ xenial main restricted

deb cdrom:[Ubuntu-Server 16.04.3 LTS Xenial Xerus - Release amd64 (20170801)]/ xenial main restricted

See http://help.ubuntu.com/community/Upgr... for how to upgrade to

newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted

deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted

Major bug fix updates produced after the final release of the

distribution.

deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

team. Also, please note that software in universe WILL NOT receive any

review or updates from the Ubuntu security team.

deb http://us.archive.ubuntu.com/ubuntu/ xenial universe

deb-src http://us.archive.ubuntu.com/ubuntu/ xenial universe

deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe

deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe

N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

team, and may not be under a free licence. Please satisfy yourself as to

your rights to use the software. Also, please note that software in

multiverse WILL NOT receive any review or updates from the Ubuntu

security team.

deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse

deb-src http://us.archive.ubuntu.com/ubuntu/ xenial multiverse

deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

N.B. software from this repository may not have been tested as

extensively as that contained in the main release, although it includes

newer versions of some applications which may provide useful features.

Also, please note that software in backports WILL NOT receive any review

or updates from the Ubuntu security team.

deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

Uncomment the following two lines to add software from Canonical's

'partner' repository.

This software is not part of Ubuntu, but is offered by Canonical and the

respective vendors as a service to Ubuntu users.

deb http://archive.canonical.com/ubuntu xenial partner

deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted

deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted

deb http://security.ubuntu.com/ubuntu xenial-security universe

deb-src http://security.ubuntu.com/ubuntu xenial-security universe

deb http://security.ubuntu.com/ubuntu xenial-security multiverse

# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

root@puppet5:~# cat /etc/apt/sources.list.d/puppet5.list

Puppet 5 xenial Repository

deb http://apt.puppetlabs.com xenial puppet5

Puppet 5 xenial Source Repository

The source repos are commented out by default because we

do not always make sources available for all packages or

for all platforms. If you want to access the source repos,

uncomment the following ...

(more)
edit flag offensive delete link more
0

answered 2017-11-23 03:14:29 -0600

stivesso gravatar image

updated 2017-11-23 03:23:53 -0600

Hi Sudhakaran,

From your screenshot, it seems like you've already installed the right version of Puppet Server (the screenshot shows 5.1.4). The command to check the version is:

 /opt/puppetlabs/bin/puppet master --version

The command you are running are for the agent, and even for that agent, you have already the right version install (the package is puppet-agent, not puppet), If you want to check the agent version, try to check the version with the full path (as seen below):

/opt/puppetlabs/bin/puppet --version

My suggestion for you (and to have everything installed in the right way), uninstall all the Packages listed above (dpkg -l | grep -i puppet) and reinstall the puppetserver package (coming with agent). After that, check the Server version with puppet master --version and the agent version with puppet --version

I hope I was of some help...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-11-22 23:34:43 -0600

Seen: 51 times

Last updated: Nov 25