Ask Your Question

Can I attach an email address to a node?

asked 2018-12-21 17:12:43 -0600

Hello, I plan on rolling Puppet out to hundreds of users working remotely. I am looking for ways of keeping track of these nodes more easily based on email address (they are not connected to an AD domain). Ideally, the email address would be specified somewhere on the user's device (e.g. a text file) and then communicated back to the Puppetmaster.

Is this possible? Maybe by adding a custom fact to Facter?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-12-24 03:11:03 -0600

ffalor gravatar image

Yes its possible through a custom fact:

For example, i store server info in the registry, and i use ruby to read the key values as facts.

Alternatively, it sounds like this email is going to uniquely identify the nodes, you could even just make the email the actual nodes cert name since they are not in AD. The certname is normally the FQDN, but it does not have to be. This is probably not recommended, but if this fits your need then go for it.

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


Asked: 2018-12-21 17:12:43 -0600

Seen: 84 times

Last updated: Dec 24