OP#437 add required content

This commit is contained in:
12ww1160
2026-02-16 15:38:24 +01:00
parent 269013f6e8
commit 506738fc6b
4 changed files with 32 additions and 1 deletions

1
Jenkinsfile vendored
View File

@@ -57,7 +57,6 @@ pipeline {
sh '''
git config user.name "Jenkins Server"
git config user.email jenkins@confdroid.com
git rm -r --cached docs || echo "No docs to remove from git"
git rm -r --cached .vscode || echo "No .vscode to remove from git"
git add -A && git commit -am "Recommit for updates in build $BUILD_NUMBER" || echo "No changes to commit"
git push origin HEAD:master

View File

@@ -22,6 +22,7 @@ cd /path/to/your/repositories
git clone https://sourcecode.confdroid.com/confdroid/control_repo_template.git r10k-control-repo
```
- use your favorite editor or IDE to edit files
- the site.pp example only contains suggestions. Fill in to your requirements.
## Contact Us

3
environment.conf Normal file
View File

@@ -0,0 +1,3 @@
manifest = manifests/site.pp
modulepath = modules:site

28
manifests/site.pp Normal file
View 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': }