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!

On Sun, Nov 11, 2018 at 5:10 AM <alexlearning...@gmail.com> wrote:

> 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.
> vagrant@ubuntu-xenial:~$
> vagrant@ubuntu-xenial:~$
> vagrant@ubuntu-xenial:~$
> vagrant@ubuntu-xenial:~$ puppet --version
> The program 'puppet' is currently not installed. To run 'puppet' please
> ask your
>  administrator to install the package 'puppet-common'
> vagrant@ubuntu-xenial:~$ vagrant up
> The program 'vagrant' is currently not installed. To run 'vagrant' please
> ask yo
> ur administrator to install the package 'vagrant'
> 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'
> 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+unsubscr...@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
> <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+unsubscr...@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.

Reply via email to