aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-03-09 15:26:47 -0300
committerSilvio Rhatto <rhatto@riseup.net>2019-03-09 15:26:47 -0300
commit6e66f83a76448a150a00b83d8101e6a749019601 (patch)
tree796c83b550dd9c0e0d54ff958ca7077b682b183e
parenta4ab6c3713ff846f062aad5fabb555f1b09f3c9d (diff)
downloadpuppet-nodo-6e66f83a76448a150a00b83d8101e6a749019601.tar.gz
puppet-nodo-6e66f83a76448a150a00b83d8101e6a749019601.tar.bz2
Support for ssh_authorized_key resources
-rw-r--r--manifests/resources.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/resources.pp b/manifests/resources.pp
index aa95a7e..5c014fb 100644
--- a/manifests/resources.pp
+++ b/manifests/resources.pp
@@ -44,6 +44,10 @@ class nodo::resources {
$sshkeys = hiera('sshkeys', {})
create_resources('sshkey', $sshkeys)
+ # SSH Authorized keys
+ $ssh_authorized_keys = hiera('ssh_authorized_keys', {})
+ create_resources('ssh_authorized_key', $ssh_authorized_keys)
+
# PaX flags
$pax = hiera('nodo::subsystem::grsec::paxctl', {})
create_resources('nodo::subsystem::grsec::paxctl', $pax)