| Native facter defines macaddress to be a string in its schema, and knows to emit it as a quoted string:
[root@ka8y738etxt42jh ~]# facter --version |
3.13.1 (commit 4e1df48f76caa0eaeee90af4239a1df450d45cd7) |
[root@ka8y738etxt42jh ~]# facter -y macaddress |
macaddress: "00:50:56:9a:8f:a7"
|
But puppet facts --render-as yaml doesn't know about the type information, and emits it in the plain style:
[root@ka8y738etxt42jh ~]# puppet --version |
6.4.0 |
[root@ka8y738etxt42jh ~]# puppet facts --render-as yaml | grep macaddress |
macaddress: 00:50:56:9a:8f:a7 |
macaddress_ens160: 00:50:56:9a:8f:a7
|
Since fact types are not sent along with the facts to the puppetserver, I don't know if there's anything that we can do differently? /cc Branan Riley, Henrik Lindberg |