Puppet | [Dev|Web|Sys]Ops - Part 2
image_pdfimage_print
Error 400 on SERVER: Scope variable name is a Symbol

Error 400 on SERVER: Scope variable name is a Symbol

Get this error when running a manifest with an undefined has value: Error 400 on SERVER: Scope variable name is a Symbol Update to the latest version of puppet (3.2.3 at the time of the writing) and a more helpful error is sent: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: […]

Error 400 on SERVER: undefined method `empty?’ for nil:NilClass

Error 400 on SERVER: undefined method `empty?’ for nil:NilClass

After updating a hiera yaml file, I got this error: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `empty?’ for nil:NilClass at /etc/puppet/environments/production/manifests/site.pp:1 on node dc1-prd-git01.medic Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run Solution: There is a broken hash somewhere in the […]

Using puppet environments to test manifests

Using puppet environments to test manifests

Overview We want to test our code before deploying it to our live servers, regardless of the function that server may play in the organization (production server, internal server, development server, env3 server, etc.). To achieve this, we use puppet environments and push new code to non-production puppet environments. Therefore, we want to: Use environments: […]

image_pdfimage_print