Puppet Resource: Move a Directory and Content
3,553 views · Published 18 March 2016 · 9:05 · Indexed 8 November 2026
Channel: theurbanpenguin · 2016 · Education
Using Puppet and the file resource we can copy a directory and the contents easily on our managed hosts. You may well manage web servers in your estate and you could well want to standardize the content of the web pages. Ensuring that on each system they are in /var/www/html. The default location is distribution dependent. To ensure they are all copied to the correct location we can use the file resource in Puppet to copy the source directory and contents to the new target directory and then remove the original source. Puppet can do this easily as we will see. Additionally you can find my video courses on Pluralsight: http://pluralsight.com/training/Authors/Details/andrew-mallett and take time to see my own site http://www.theurbanpenguin.com
More from this channel
-
8:44
Bash History Demo
-
8:39
A bash script to backup the MBR of all drives
-
9:40
Using SQUID to implement time restrictions . Captions Avaiable
-
6:24
Creating Desktop Shortcuts
-
8:58
Scripting Apache Virtual Hosts
-
5:25
Accessing The Linux Command Line
-
8:42
Managing Global Gnome Settings
-
2:40
NFSv4 Crossmnt Option