Puppet Apply

51 views
Skip to first unread message

Fairouz el ouazi

unread,
Jun 2, 2017, 4:49:13 AM6/2/17
to Puppet Users
HI,

   I'm still a beginner in Puppet , and i want to know the advantages and in winch cases we have to use Puppet in standalone  version ?
   All that i found is that :single host method on puppet can be the best way to get started with puppet language , and the best way to quickly develop and test manifest ?
   If anyone has any examples of use cases ?
  THINKS ,

Ugo Bellavance

unread,
Jun 2, 2017, 8:06:28 AM6/2/17
to Puppet Users
I'd say that the first step would be to create a lab to do some testing. I'd also recommend buying one or a few books about the topic, this will help you a lot. Have you started searching a bit by yourself?  Did you see https://learn.puppet.com/category/self-paced-training?

I'm not sure if I understand your questions correctly, but I don't think there is a "best" way of testing.  You can write manifests on a single VM and test them, but you can also setup a server quite quickly and get going like that. I know that many books cover this topic. I just can't remember which ones.

What kind of use cases are you looking for? Do you have any business needs or is it just to learn?  I suggest that you look at public modules that are on the forge. It's good to be able to create manifests and modules, but many needs can be fulfilled by using modules.

Ugo Bellavance

unread,
Jun 2, 2017, 8:45:00 AM6/2/17
to Puppet Users
This tutorial is not perfect, but it's quite good: 

Fairouz el ouazi

unread,
Jun 2, 2017, 9:10:00 AM6/2/17
to Puppet Users
HI,
   First thank you for your response : My problem is a little bit complicated . ..and  it took 's me  one week to know if puppet is the device management that i m looking for  . To be more clear  ...there's an existing platform that manage devices ( IOT devices ) it 's an application that is  divided in many components one of them do "device management " in a simple way with less functionalities for example it can't offer groupping to change parameters of 10 devices at the same time ..or auto-provisioning ...my job is to integrate a good device management on this platform but in collaboration with the existant ... i  was thinkinh of making a puppet server in the level over the existing platform and using the existant device management as an agent ???

Sorry my english is not that good ..but i m trying to do my best ..

fairouz

Ugo Bellavance

unread,
Jun 2, 2017, 10:19:39 AM6/2/17
to Puppet Users


On Friday, June 2, 2017 at 9:10:00 AM UTC-4, Fairouz el ouazi wrote:
HI,
   First thank you for your response : My problem is a little bit complicated . ..and  it took 's me  one week to know if puppet is the device management that i m looking for  . To be more clear  ...there's an existing platform that manage devices ( IOT devices ) it 's an application that is  divided in many components one of them do "device management " in a simple way with less functionalities for example it can't offer groupping to change parameters of 10 devices at the same time ..or auto-provisioning ...my job is to integrate a good device management on this platform but in collaboration with the existant ... i  was thinkinh of making a puppet server in the level over the existing platform and using the existant device management as an agent ???

Sorry my english is not that good ..but i m trying to do my best ..


No problem about the language, you're doing your best and that is the only thing that matters.  However, it is very hard for me to see if puppet is a good for you without having more information, but I think that you are the best person to do your tests and determine if puppet is right for you.  Basically, puppet can do many things on an agent (client): push files, install packages, start services, configure services, etc. It contains a number or resource types that, in turn, can be use to achieve real results (install and configure a LAMP stack for example, or install MySQL server and create a database called db1).

Ugo

Corey Osman

unread,
Jun 2, 2017, 2:05:53 PM6/2/17
to Puppet Users
I would suggest using a tool I wrote called the puppet debugger. It allows you to write little bits of code in realtime and get the results back right away. It is a wonderful tool to learn the language with.

Basically just install it and run puppet debugger, than write some puppet code.

github.com/nwops/puppet-debugger

Or online at https://www.puppet-debugger.com

Ugo Bellavance

unread,
Jun 4, 2017, 10:21:04 PM6/4/17
to Puppet Users
That looks fantastic. Can it test modules as well? 
Reply all
Reply to author
Forward
0 new messages