OP#437 add required content
This commit is contained in:
28
manifests/site.pp
Normal file
28
manifests/site.pp
Normal file
@@ -0,0 +1,28 @@
|
||||
### Site.pp for the <your environment> environment @ <your site>
|
||||
|
||||
### variable for the puppet master
|
||||
$puppetserver = '<your puppetmaster>'
|
||||
|
||||
# exec paths
|
||||
Exec { path => ['/bin/', '/sbin/' , '/usr/bin/', '/usr/sbin/'] }
|
||||
|
||||
# create file bucket for backups
|
||||
filebucket { 'main':
|
||||
path => false, # This is required for remote filebuckets.
|
||||
}
|
||||
|
||||
# create backups when replacing files
|
||||
File { backup => main, }
|
||||
|
||||
# virtual packages
|
||||
Package {
|
||||
allow_virtual => false,
|
||||
}
|
||||
|
||||
### global firewall ###
|
||||
Firewall {
|
||||
before => Class['my-fw::post'],
|
||||
require => Class['my-fw::pre'],
|
||||
}
|
||||
class {['my-fw::pre', 'my-fw::post']: }
|
||||
class { 'my-fw': }
|
||||
Reference in New Issue
Block a user