Ask Your Question
1

Puppet apply adds domain name to the hostname

asked 2015-10-13 13:56:23 -0500

drm509 gravatar image

updated 2015-10-13 15:57:07 -0500

I've noticed puppet apply adds domain name to the hostname. Why is this? It messes up with the certificate.

[drm@TOCWgfi4IC etc]$ hostname
TOCWgfi4IC

[drm@TOCWgfi4IC etc]$ puppet apply /lumberjack_conf/manifests/init.pp Notice: Compiled catalog for tocwgfi4ic.bcp.tag.bnn in environment production in 0.32 seconds

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-10-13 15:51:03 -0500

ramindk gravatar image

The certname is set to the $::fqdn fact by default. $::fqdn is a combination of $::hostname and $::domainname by default.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-10-13 13:56:23 -0500

Seen: 158 times

Last updated: Oct 13 '15