Skip to content

Fix dev_running_from_source Docker agent section #165

@miharp

Description

@miharp

The Docker agent section in dev_running_from_source.markdown has several issues discovered during testing:

  1. IP-based connection fails — the example uses --server 172.17.0.1 (Docker host IP), but the server cert is issued for a hostname, not an IP. Connecting by IP fails with a TLS hostname mismatch error.

  2. MASTERHOST requireddev-setup must be run with MASTERHOST=puppet (or similar) so the server cert covers the hostname the agent will use.

  3. SSL volume needed — each docker run generates a new private key unless /etc/puppetlabs/puppet/ssl is persisted via a volume, causing cert/key mismatches on subsequent runs.

  4. Cert signing not documented — the agent cannot compile a catalog until its cert is signed. The section should mention either enabling autosign or the manual signing step.

The section needs a rewrite that reflects the actual working workflow (tested in #161).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions