Discussion:
[vagrant-up] unable to run puppet
a***@gmail.com
2018-11-10 15:21:48 UTC
Permalink
Hi All,

I am very new to ubuntu, purpose of using ubuntu is to install and learn
puppet.

I am using vagrant and ubuntu-trusty-64, when i type puppet --version i get
3.4.3

Also have another VM ***@ubuntu-xenial(puppet beginners guide-3)...here
i am unable to find puppet-beginners-guide-3 scripts.

when i run puppet --version..it says puppet is currently not installed

is there anything i am doing wrong or i do not understand....appreciate any
help.

Thanks
Alex
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/cc6011c7-2eec-4375-a3d8-efca5f4eb4cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
a***@gmail.com
2018-11-11 13:08:31 UTC
Permalink
i get below error

Installing the 'vagrant-vbguest' plugin. This can take a few minutes...
Vagrant failed to load a configured plugin source. This can be caused
by a variety of issues including: transient connectivity issues, proxy
filtering rejecting access to a configured plugin source, or a configured
plugin source not responding correctly. Please review the error message
below to help resolve the issue:
timed out (https://gems.hashicorp.com/specs.4.8.gz)
Source: https://gems.hashicorp.com/
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu/xenial64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/xenial64' is up to date...
==> default: A newer version of the box 'ubuntu/xenial64' for provider
'virtualbox' is
==> default: available! You currently have version '20181107.0.0'. The
latest is version
==> default: '20181109.0.0'. Run `vagrant box update` to update.
==> default: Setting the name of the VM:
puppet-beginners-guide-3_default_1541939316741_98320
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 80 (guest) => 8080 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/22d4b8de-80f7-4fc7-98c7-44a7b0cc4926%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
a***@gmail.com
2018-11-11 13:10:36 UTC
Permalink
doesn't show puppet

C:\start_vagrant.sh

C:\>vagrant ssh
Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-138-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
0 packages can be updated.
0 updates are security updates.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
***@ubuntu-xenial:~$
***@ubuntu-xenial:~$
***@ubuntu-xenial:~$
***@ubuntu-xenial:~$ puppet --version
The program 'puppet' is currently not installed. To run 'puppet' please ask
your
administrator to install the package 'puppet-common'
***@ubuntu-xenial:~$ vagrant up
The program 'vagrant' is currently not installed. To run 'vagrant' please
ask yo
ur administrator to install the package 'vagrant'
***@ubuntu-xenial:~$ vagrant init
The program 'vagrant' is currently not installed. To run 'vagrant' please
ask yo
ur administrator to install the package 'vagrant'
***@ubuntu-xenial:~$
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/496e73af-89b7-42ae-ab3f-5c1de1713fff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Brian Cain
2018-11-12 16:49:25 UTC
Permalink
Hey Alex,

You need to install Puppet on the guest to use the Puppet provisioner:
https://www.vagrantup.com/docs/provisioning/puppet_apply.html#bare-minimum

There's an issue already to change this so Vagrant installs Puppet, but for
now you need to install it yourself. I typically do this by using a shell
provisioner, for example:

config.vm.define "puppet" do |p|
p.vm.box = "bento/ubuntu-16.04"

p.vm.provision "shell", inline: <<-SHELL
wget https://apt.puppetlabs.com/puppet5-release-xenial.deb
sudo dpkg -i puppet5-release-xenial.deb
sudo apt update
sudo apt-get install puppet-agent
SHELL

p.vm.provision :puppet do |p|
p.module_path = ['modules', 'site']
end

p.vm.provider :virtualbox

p.vm.provision "shell", inline: <<-SHELL
puppet --version
SHELL
end

Thanks!
Post by a***@gmail.com
doesn't show puppet
C:\start_vagrant.sh
C:\>vagrant ssh
Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-138-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
http://www.ubuntu.com/business/services/cloud
0 packages can be updated.
0 updates are security updates.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
The program 'puppet' is currently not installed. To run 'puppet' please
ask your
administrator to install the package 'puppet-common'
The program 'vagrant' is currently not installed. To run 'vagrant' please
ask yo
ur administrator to install the package 'vagrant'
The program 'vagrant' is currently not installed. To run 'vagrant' please
ask yo
ur administrator to install the package 'vagrant'
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in
violation of those guidelines may result in your removal from this mailing
list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/496e73af-89b7-42ae-ab3f-5c1de1713fff%40googlegroups.com
<https://groups.google.com/d/msgid/vagrant-up/496e73af-89b7-42ae-ab3f-5c1de1713fff%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Brian Cain
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CADHESCWqwoJaQRaSmVPYVS8a_6H7KKsFCubYTsobW7KCxf45AQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
a***@gmail.com
2018-11-24 16:55:55 UTC
Permalink
Thanks Brian...i sorted it out

Once i downloaded beginners guide repo from git hub it worked...

Anyway thanks for your reply
Post by Brian Cain
Hey Alex,
https://www.vagrantup.com/docs/provisioning/puppet_apply.html#bare-minimum
There's an issue already to change this so Vagrant installs Puppet, but
for now you need to install it yourself. I typically do this by using a
config.vm.define "puppet" do |p|
p.vm.box = "bento/ubuntu-16.04"
p.vm.provision "shell", inline: <<-SHELL
wget https://apt.puppetlabs.com/puppet5-release-xenial.deb
sudo dpkg -i puppet5-release-xenial.deb
sudo apt update
sudo apt-get install puppet-agent
SHELL
p.vm.provision :puppet do |p|
p.module_path = ['modules', 'site']
end
p.vm.provider :virtualbox
p.vm.provision "shell", inline: <<-SHELL
puppet --version
SHELL
end
Thanks!
Post by a***@gmail.com
doesn't show puppet
C:\start_vagrant.sh
C:\>vagrant ssh
Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-138-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
http://www.ubuntu.com/business/services/cloud
0 packages can be updated.
0 updates are security updates.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
The program 'puppet' is currently not installed. To run 'puppet' please
ask your
administrator to install the package 'puppet-common'
The program 'vagrant' is currently not installed. To run 'vagrant' please
ask yo
ur administrator to install the package 'vagrant'
The program 'vagrant' is currently not installed. To run 'vagrant' please
ask yo
ur administrator to install the package 'vagrant'
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in
violation of those guidelines may result in your removal from this mailing
list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/496e73af-89b7-42ae-ab3f-5c1de1713fff%40googlegroups.com
<https://groups.google.com/d/msgid/vagrant-up/496e73af-89b7-42ae-ab3f-5c1de1713fff%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Brian Cain
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/c4af9858-6693-4f09-a707-6ba622a41edb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...