In this project, I started working with Puppet as a configuration management tool. I practiced writing Puppet manifest files to create a file, install a package, and execute a command.
-
0. Create a file
- 0-create_a_file.pp: Puppet manifest file that
creates a file
school
in the/tmp
directory.- File permissions:
0744
. - File group:
www-data
. - File owner:
www-data
. - File content:
I love Puppet
.
- File permissions:
- 0-create_a_file.pp: Puppet manifest file that
creates a file
-
1. Install a package
- 1-install_a_package.pp: Puppet manifest file
that install
flask
from pip3.
- 1-install_a_package.pp: Puppet manifest file
that install
-
2. Execute a command
- 2-execute_a_command.pp: Puppet manifest file
that kills the process
killmenow
.
- 2-execute_a_command.pp: Puppet manifest file
that kills the process