Re: hiera-gpg and 400 error

102 views
Skip to first unread message

Schofield

unread,
May 20, 2013, 12:50:43 PM5/20/13
to puppet...@googlegroups.com
On puppet version 3.0.0 there was a typo in the hiera.yaml file that prevented the gpg backend from loading so the data was never found.  If I remember right I think "backends" was just "backend".  Hiera silently failed back to loading just yaml without saying anything and gpg was never loaded.  Running the master in debug mode helped track it down.  Set ARGV << "-d" in the config.ru to get debugging enabled on the master when running under Passenger with Apache.

Bernd Weber

unread,
Jul 19, 2013, 11:01:00 AM7/19/13
to puppet...@googlegroups.com
The solution lies in changing the ownership of the .gnupg folder to be owned by puppet.

chown -R puppet:puppet <your_gnupg_folder_w_secret_key>
 
Reply all
Reply to author
Forward
0 new messages