diff --git a/CHANGELOG.md b/CHANGELOG.md
index b514d767..d5aab7c1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,24 @@
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
+## [v5.1.0](https://github.com/puppetlabs/puppetlabs-vcsrepo/tree/v5.1.0) (2022-06-24)
+
+[Full Changelog](https://github.com/puppetlabs/puppetlabs-vcsrepo/compare/v5.0.0...v5.1.0)
+
+### Added
+
+- pdksync - \(IAC-1753\) - Add Support for AlmaLinux 8 [\#524](https://github.com/puppetlabs/puppetlabs-vcsrepo/pull/524) ([david22swan](https://github.com/david22swan))
+- pdksync - \(IAC-1751\) - Add Support for Rocky 8 [\#523](https://github.com/puppetlabs/puppetlabs-vcsrepo/pull/523) ([david22swan](https://github.com/david22swan))
+- pdksync - \(IAC-1709\) - Add Support for Debian 11 [\#521](https://github.com/puppetlabs/puppetlabs-vcsrepo/pull/521) ([david22swan](https://github.com/david22swan))
+
+### Fixed
+
+- \(GH-535\) Fix for safe directories [\#549](https://github.com/puppetlabs/puppetlabs-vcsrepo/pull/549) ([chelnak](https://github.com/chelnak))
+- pdksync - \(GH-iac-334\) Remove Support for Ubuntu 14.04/16.04 [\#529](https://github.com/puppetlabs/puppetlabs-vcsrepo/pull/529) ([david22swan](https://github.com/david22swan))
+- MODULES-11050 - Force fetch tags [\#527](https://github.com/puppetlabs/puppetlabs-vcsrepo/pull/527) ([sp-ricard-valverde](https://github.com/sp-ricard-valverde))
+- pdksync - \(IAC-1787\) Remove Support for CentOS 6 [\#525](https://github.com/puppetlabs/puppetlabs-vcsrepo/pull/525) ([david22swan](https://github.com/david22swan))
+- pdksync - \(IAC-1598\) - Remove Support for Debian 8 [\#522](https://github.com/puppetlabs/puppetlabs-vcsrepo/pull/522) ([david22swan](https://github.com/david22swan))
+
## [v5.0.0](https://github.com/puppetlabs/puppetlabs-vcsrepo/tree/v5.0.0) (2021-06-02)
[Full Changelog](https://github.com/puppetlabs/puppetlabs-vcsrepo/compare/v4.0.0...v5.0.0)
diff --git a/REFERENCE.md b/REFERENCE.md
index f4a6ce35..dc1609b5 100644
--- a/REFERENCE.md
+++ b/REFERENCE.md
@@ -65,6 +65,7 @@ The following parameters are available in the `vcsrepo` type.
* [`path`](#path)
* [`provider`](#provider)
* [`remote`](#remote)
+* [`safe_directory`](#safe_directory)
* [`submodules`](#submodules)
* [`trust_server_cert`](#trust_server_cert)
* [`user`](#user)
@@ -158,6 +159,14 @@ The remote repository to track
Default value: `origin`
+##### `safe_directory`
+
+Valid values: ``true``, ``false``
+
+Marks the current directory specified by the path parameter as a safe directory.
+
+Default value: ``false``
+
##### `submodules`
Valid values: ``true``, ``false``
diff --git a/metadata.json b/metadata.json
index 40dcf7b3..48451e10 100644
--- a/metadata.json
+++ b/metadata.json
@@ -1,6 +1,6 @@
{
"name": "puppetlabs-vcsrepo",
- "version": "5.0.0",
+ "version": "5.1.0",
"author": "puppetlabs",
"summary": "Puppet module providing a type to manage repositories from various version control systems",
"license": "GPL-2.0+",
diff --git a/pdk.yaml b/pdk.yaml
new file mode 100644
index 00000000..4bef4bd0
--- /dev/null
+++ b/pdk.yaml
@@ -0,0 +1,2 @@
+---
+ignore: []