puppetpuppetlabs-apache

Puppet install apache ubuntu


I use puppet to install apache with the following code in the manifest.

class{ 'apache':
    docroot           => '/var/www',  # ubu default, ignored
    default_vhost     => false,
    default_ssl_vhost => false,
    service_enable    => false,   # Do not start at boot
    service_ensure    => stopped, # Apache should be stopped if puppet runs
  }

In my puppet.conf I have mentioned like below.

mod "apache",
    :git => 'ssh://git.*.*.com:7999/xyz/jira-apache-puppet-module.git',
    :ref => 'master'

when i checked apache is getting installed with latest version as in my ubuntu repo.So is puppet using ubuntu repo for installing the package or the module as defined in puppet.conf


Solution

  • All the modules in Puppetfile will get installed during r10k run.

    r10k deploy environment -pv