Reg using Puppet razor only for device inventory data collection

39 views
Skip to first unread message

Sivakumar Gurumurthy

unread,
Feb 26, 2015, 5:53:46 PM2/26/15
to puppet...@googlegroups.com
I am looking at the option of using Puppet razor just for collecting the facts from the device but not for provisioning (I am already using Cobbler for this job).
Is it possible for me to use Razor just for this purpose (off course with some code modification)?
The idea is to reduce the work of me coming up with my own microkernel to collect this information.
Please let me know about it.

Thanks,
Siva.

Scott McClellan

unread,
Feb 26, 2015, 6:49:52 PM2/26/15
to puppet...@googlegroups.com
Hi Siva,

It may work to define a policy that uses a special boot_sequence. It would be like `boot_local.erb` but exit in a way that allows further network booting (not sanboot --drive 0x80).

Hooks can be used to report the facts to an external system. Whenever a node boots (or its facts change), you can have a script run and send these facts to an external system. See the hooks documentation for more information on that.

Hope that helps!

Scott

--
You received this message because you are subscribed to the Google Groups "puppet-razor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-razor...@googlegroups.com.
To post to this group, send email to puppet...@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-razor.
For more options, visit https://groups.google.com/d/optout.



--
Join us at PuppetConf 2015, October 5-9 in Portland, OR - http://2015.puppetconf.com.  
Register early to save 40%!

Sivakumar Gurumurthy

unread,
Feb 26, 2015, 7:01:27 PM2/26/15
to puppet...@googlegroups.com
Thanks for the response, Scott.
Apart from what the facts that razor supplies I would also need to collect other information as well.
I believe we can extend the TCL provided by Razor with all the necessary packages I want installed in it.
Correct?

Thanks,
Siva.

--
You received this message because you are subscribed to a topic in the Google Groups "puppet-razor" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-razor/gz4DH6AN23w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-razor...@googlegroups.com.

Scott McClellan

unread,
Feb 26, 2015, 7:05:38 PM2/26/15
to puppet...@googlegroups.com
That's correct, Siva. The relevant info on how to do that is in this documentation.

Scott

Sagar Shukla

unread,
Nov 7, 2017, 10:41:37 AM11/7/17
to puppet-razor
Hi Siva / Scott,

I am looking to do something similar and just wanted to check with you, if you have any standard documented workflow that I can try to follow.

Thanks for your help in advance.

Regards,
Sagar

Scott McClellan

unread,
Nov 7, 2017, 2:45:07 PM11/7/17
to puppet...@googlegroups.com
Hi Sagar,

Can you supply details on what you are trying to do?

The workflow in this email thread involves two steps:
1) creating a new policy that, rather than booting locally, defers to a different method of booting that can use the network, and
2) augmenting the microkernel to retrieve more facts.

Scott


For more options, visit https://groups.google.com/d/optout.
--
-- 

Sagar Shukla

unread,
Nov 9, 2017, 1:08:20 AM11/9/17
to puppet-razor
Scott,

I intend to discover hardware infrastructure through some means and then install OS on it with proper known hardware infrastructure. I need to implement both (1) and (2) that you mentioned.

Regards,
Sagar

Scott McClellan

unread,
Nov 9, 2017, 1:52:26 PM11/9/17
to puppet...@googlegroups.com
Hi Sagar,

I'm confused reading "and then install OS on it with proper known hardware infrastructure". Is something preventing you from using Razor itself to install the OS over iPXE? In this email thread, Siva wanted to use Cobbler to do the actual installation, and Razor to do the node inventory.

Perhaps this would work better in a separate email thread?

Scott
Reply all
Reply to author
Forward
0 new messages