--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAJdJdQ%3DwmGU_uUs9cfpq0SwjCtahdxXDN-pW%3DXoKEyiJ-TSGow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
If you deploy the custom fact, the agent would need to perform a single run and then send the report to puppetdb. Afterward, it would be visible in the admin console (assuming you mean PE console here) in all the usual places, such as in the node details and filtering by fact valued.The runs don't need to change anything, but they do need to complete and send the report; if this doesn't happen every 14 days by default, it will get purged from puppetdb and of course no longer show up.
On Tue, Feb 28, 2017 at 6:48 PM warron.french <warron...@gmail.com> wrote:
--Thanks in advance,My employer is creating systems, and we are "stamping" them with a text file under /etc/ and we want to be able to grab the content of the file WE CREATE under /etc to determine if machine A, B....Z are part of Baseline1 or Baseline2; for example.Can I write a custom fact and see its value returned in the Admin Console? Or does it only allow for the execution of Puppet Code based on conditionals and criteria meeting expectations?If the answer is yes to the first question, can I simply write the Custom Fact, without necessarily making any changes to a Puppet Agent Node; so that I can assess certain details about my network that aren't native Puppet Facts?--------------------------
Warron French
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAJdJdQ%3DwmGU_uUs9cfpq0SwjCtahdxXDN-pW%3DXoKEyiJ-TSGow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--Rob Nelson--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAC76iT-W534UgJezB4RN3DOn_-Tb_fMA7SNozqCrjAF4f8bUGA%40mail.gmail.com.
Are you saying an empty class would do?Hi Rob, thanks.A single run? Runs don't need to change anything, but they do need to complete and send the report? How do I accomplish that?--------------------------
Warron FrenchOn Tue, Feb 28, 2017 at 10:30 PM, Rob Nelson <rnel...@gmail.com> wrote:
If you deploy the custom fact, the agent would need to perform a single run and then send the report to puppetdb. Afterward, it would be visible in the admin console (assuming you mean PE console here) in all the usual places, such as in the node details and filtering by fact valued.The runs don't need to change anything, but they do need to complete and send the report; if this doesn't happen every 14 days by default, it will get purged from puppetdb and of course no longer show up.
On Tue, Feb 28, 2017 at 6:48 PM warron.french <warron...@gmail.com> wrote:
--Thanks in advance,My employer is creating systems, and we are "stamping" them with a text file under /etc/ and we want to be able to grab the content of the file WE CREATE under /etc to determine if machine A, B....Z are part of Baseline1 or Baseline2; for example.Can I write a custom fact and see its value returned in the Admin Console? Or does it only allow for the execution of Puppet Code based on conditionals and criteria meeting expectations?If the answer is yes to the first question, can I simply write the Custom Fact, without necessarily making any changes to a Puppet Agent Node; so that I can assess certain details about my network that aren't native Puppet Facts?--------------------------
Warron French
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAJdJdQ%3DwmGU_uUs9cfpq0SwjCtahdxXDN-pW%3DXoKEyiJ-TSGow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--Rob Nelson--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAC76iT-W534UgJezB4RN3DOn_-Tb_fMA7SNozqCrjAF4f8bUGA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAJdJdQ%3DneD2UdG3ThgZkj2vwR6Yja-qavCRPVL4iqEcvX6oJpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Yeah, a 'profile::base' that does nothing or just updates the motd if you want a very simple manifest would do just fine.
On Wed, Mar 1, 2017 at 2:09 PM warron.french <warron...@gmail.com> wrote:
Are you saying an empty class would do?Hi Rob, thanks.A single run? Runs don't need to change anything, but they do need to complete and send the report? How do I accomplish that?--------------------------
Warron FrenchOn Tue, Feb 28, 2017 at 10:30 PM, Rob Nelson <rnel...@gmail.com> wrote:
If you deploy the custom fact, the agent would need to perform a single run and then send the report to puppetdb. Afterward, it would be visible in the admin console (assuming you mean PE console here) in all the usual places, such as in the node details and filtering by fact valued.The runs don't need to change anything, but they do need to complete and send the report; if this doesn't happen every 14 days by default, it will get purged from puppetdb and of course no longer show up.
On Tue, Feb 28, 2017 at 6:48 PM warron.french <warron...@gmail.com> wrote:
--Thanks in advance,My employer is creating systems, and we are "stamping" them with a text file under /etc/ and we want to be able to grab the content of the file WE CREATE under /etc to determine if machine A, B....Z are part of Baseline1 or Baseline2; for example.Can I write a custom fact and see its value returned in the Admin Console? Or does it only allow for the execution of Puppet Code based on conditionals and criteria meeting expectations?If the answer is yes to the first question, can I simply write the Custom Fact, without necessarily making any changes to a Puppet Agent Node; so that I can assess certain details about my network that aren't native Puppet Facts?--------------------------
Warron French
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAJdJdQ%3DwmGU_uUs9cfpq0SwjCtahdxXDN-pW%3DXoKEyiJ-TSGow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--Rob Nelson--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAC76iT-W534UgJezB4RN3DOn_-Tb_fMA7SNozqCrjAF4f8bUGA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAJdJdQ%3DneD2UdG3ThgZkj2vwR6Yja-qavCRPVL4iqEcvX6oJpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--Rob Nelson--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAC76iT_FjtVyet9HEfNK25OaQRsNjBRy46rJ0Csq45SFLy-76w%40mail.gmail.com.
rnelson, I managed to create 2 .rb files and several Custom Facts (I don't know the more succinct term).
It worked out awesomely! Thank you again.