From 1eeec1b059677261c50feaf8f13ac130c128aaeb Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 10 Jun 2018 10:13:43 -0300 Subject: Newnode: fix nodo::subsystem::backup::encryptkey string escaping --- share/hydra/newnode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/hydra/newnode b/share/hydra/newnode index 78cd6cb..5e2a469 100755 --- a/share/hydra/newnode +++ b/share/hydra/newnode @@ -86,7 +86,7 @@ hydra $HYDRA newkeys all $NODE # Add OpenPGP key ID into secret node config KEYID="`keyringer $HYDRA decrypt nodes/$NODE/gpg/key.pub 2> /dev/null | gpg --with-colons 2> /dev/null | grep ^pub: | cut -d : -f 5`" -echo "nodo::subsystem::backup::encryptkey: '$KEYID\"" >> $HYDRA_FOLDER/puppet/config/secrets/node/$NODE.yaml +echo "nodo::subsystem::backup::encryptkey: '$KEYID'" >> $HYDRA_FOLDER/puppet/config/secrets/node/$NODE.yaml echo "" >> $HYDRA_FOLDER/puppet/config/secrets/node/$NODE.yaml -- cgit v1.2.3