config.vm.box = "jessie"
# Shell provisioner to setup basic environment.
- #config.vm.provision :shell, :inline => "/vagrant/puppet/bin/provision"
+ config.vm.provision :shell, :inline => "/vagrant/puppet/bin/provision"
# Enable provisioning with Puppet stand alone.
config.vm.provision :puppet do |puppet|
puppet.module_path = "puppet/modules"
puppet.temp_dir = "/etc/puppet"
puppet.working_directory = "/etc/puppet"
+ puppet.hiera_config_path = "hiera.yaml"
end
# end
# virtual machine.
#
-#
-# Stage definitions
-#
-
-stage { 'first':
- before => Stage['main'],
-}
-
-stage { 'last': }
-Stage['main'] -> Stage['last']
-
#
# Class definitions
#
class { 'nodo':
role => 'vagrant',
}
-
-class vagrant_config {
- # Symlink to the mounted module folder
- file { '/etc/puppet/modules':
- ensure => '/etc/puppet/modules-0',
- force => true,
- }
-
- # Ensure a custom hiera configuration
- file { '/etc/puppet/hiera.yaml':
- owner => root,
- group => root,
- mode => 0644,
- force => true,
- ensure => '/etc/puppet/hiera/hiera.yaml',
- }
-}
-
-#
-# Class instantiations
-#
-class { 'vagrant_config':
- stage => first,
-}
--- /dev/null
+# /etc/aliases
+mailer-daemon: postmaster
+postmaster: root
+nobody: root
+hostmaster: root
+usenet: root
+news: root
+webmaster: root
+www: root
+ftp: root
+abuse: root
+noc: root
+security: root
+reprepro: root
-[main]
- environmentpath = $confdir/environments
- basemodulepath = $confdir/modules-0
+[master]
+ storeconfigs = true
+ dbadapter = sqlite3