On Sun, Sep 25, 2011 at 9:58 PM, Dan White <[email protected]> wrote:
> (Bump)
>
> On Sep 16, 2011, at 3:03 PM, Dan White wrote:
>
> I just got a Cobbler/Puppet combo up and running.
> On my first install, I see "install_post_puppet" trying to puppet-
> certify my just-built machine.
> However, I am NOT using the FQDN for the certname -- which is what
> this scriipt uses.
>
> How can I override this in my installation ?
>
> I have created a custom facter-fact to give me the certname I need.

I don't see that snippet in our official list, where did you get it?
Can you pastebin it? I'd imagine you'd execute facter in a subshell to
get the name you need, though puppet works with the FQDN by default.
You can override the FQDN to puppet with the --fqdn option though, so
I imagine your snippet would be modified to look like this:

MYNAME=$(facter my_custom_fact)
puppetd <options> --fqdn=$MYNAME

Or whatever the puppet syntax is, if you're using the newer (2.6.x) or
older puppet (0.25.x).
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to