Marcus Schäfer
2013-Sep-06 08:54 UTC
[Puppet Users] clone system configuration with puppet
Hi, I''m new to puppet, read a bit about it and tried a few things out. It''s really a great piece of work. Thanks for doing all this. As part of my work I''m leading the opensource kiwi project which is a plain appliance builder and one aspect of the project is also to help people in migrating a currently running system into an appliance description which then allows to maintain and build into different appliance types, e.g the way from bare metal into the virtual world, or from one architecture into another. The migration code as it is right now handles the configuration part just by creating copies of configuration files. It relies on config metadata of the rpm database, it takes concepts of autoyast into place. But all this is a pretty humble approach has some room to fail and also limits to specific distribution concepts. I was thinking it could be done better/more generic. So my question is, is puppet able to provide information about the configuration of a system which it did _not_ setup itself in the first place ? information like sshd configuration, apache, etc, etc... my first guess would be it knows best about its own resources but not about services running on a system not managed by puppet so far. Is that correct ? Thanks much Regards, Marcus -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Steven Nemetz
2013-Sep-06 15:24 UTC
RE: [Puppet Users] clone system configuration with puppet
Puppet only knows about what it is managing or auditing. So, it will always be limited by what it is told to look at. While you might be able to do something using the audit feature, I would not recommend it. As it will never be complete for your purpose. I''d recommend looking at blueprint. There is also a newer tool, but I can''t remembered its name at the moment. Steven Date: Fri, 6 Sep 2013 01:54:28 -0700 From: marcus.schaefer@gmail.com To: puppet-users@googlegroups.com Subject: [Puppet Users] clone system configuration with puppet Hi, I''m new to puppet, read a bit about it and tried a few things out. It''s really a great piece of work.Thanks for doing all this. As part of my work I''m leading the opensource kiwi project which is aplain appliance builder and one aspect of the project is also to help people in migrating a currentlyrunning system into an appliance description which then allows to maintain and build into differentappliance types, e.g the way from bare metal into the virtual world, or from one architecture intoanother. The migration code as it is right now handles the configuration part just by creating copies ofconfiguration files. It relies on config metadata of the rpm database, it takes concepts of autoyastinto place. But all this is a pretty humble approach has some room to fail and also limits to specificdistribution concepts. I was thinking it could be done better/more generic. So my question is, ispuppet able to provide information about the configuration of a system which it did _not_ setupitself in the first place ? information like sshd configuration, apache, etc, etc... my first guess would be it knows bestabout its own resources but not about services running on a system not managed by puppet sofar. Is that correct ? Thanks much Regards,Marcus -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out. -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Steven Nemetz
2013-Sep-06 15:36 UTC
RE: [Puppet Users] clone system configuration with puppet
Found the other one. It is pysa Links for both: Blueprinthttps://github.com/devstructure/blueprinthttp://devstructure.com/blueprint/ Pysahttp://pypi.python.org/pypi/Pysahttp://github.com/MadeiraCloud/pysa Steven From: snemetz@hotmail.com To: puppet-users@googlegroups.com Subject: RE: [Puppet Users] clone system configuration with puppet Date: Fri, 6 Sep 2013 08:24:37 -0700 Puppet only knows about what it is managing or auditing. So, it will always be limited by what it is told to look at. While you might be able to do something using the audit feature, I would not recommend it. As it will never be complete for your purpose. I''d recommend looking at blueprint. There is also a newer tool, but I can''t remembered its name at the moment. Steven Date: Fri, 6 Sep 2013 01:54:28 -0700 From: marcus.schaefer@gmail.com To: puppet-users@googlegroups.com Subject: [Puppet Users] clone system configuration with puppet Hi, I''m new to puppet, read a bit about it and tried a few things out. It''s really a great piece of work.Thanks for doing all this. As part of my work I''m leading the opensource kiwi project which is aplain appliance builder and one aspect of the project is also to help people in migrating a currentlyrunning system into an appliance description which then allows to maintain and build into differentappliance types, e.g the way from bare metal into the virtual world, or from one architecture intoanother. The migration code as it is right now handles the configuration part just by creating copies ofconfiguration files. It relies on config metadata of the rpm database, it takes concepts of autoyastinto place. But all this is a pretty humble approach has some room to fail and also limits to specificdistribution concepts. I was thinking it could be done better/more generic. So my question is, ispuppet able to provide information about the configuration of a system which it did _not_ setupitself in the first place ? information like sshd configuration, apache, etc, etc... my first guess would be it knows bestabout its own resources but not about services running on a system not managed by puppet sofar. Is that correct ? Thanks much Regards,Marcus -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out. -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out. -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Marcus Schäfer
2013-Sep-09 12:43 UTC
Re: [Puppet Users] clone system configuration with puppet
HI, thanks I will take a look at the suggested projects Regards, Marcus On Friday, September 6, 2013 5:36:15 PM UTC+2, Steven wrote:> > Found the other one. It is pysa > > Links for both: > *Blueprint* > https://github.com/devstructure/blueprint > http://devstructure.com/blueprint/ > > *Pysa* > http://pypi.python.org/pypi/Pysa > http://github.com/MadeiraCloud/pysa > > Steven > > ------------------------------ > From: sne...@hotmail.com <javascript:> > To: puppet...@googlegroups.com <javascript:> > Subject: RE: [Puppet Users] clone system configuration with puppet > Date: Fri, 6 Sep 2013 08:24:37 -0700 > > Puppet only knows about what it is managing or auditing. So, it will > always be limited by what it is told to look at. While you might be able to > do something using the audit feature, I would not recommend it. As it will > never be complete for your purpose. > > I''d recommend looking at blueprint. There is also a newer tool, but I > can''t remembered its name at the moment. > > Steven > > > ------------------------------ > Date: Fri, 6 Sep 2013 01:54:28 -0700 > From: marcus....@gmail.com <javascript:> > To: puppet...@googlegroups.com <javascript:> > Subject: [Puppet Users] clone system configuration with puppet > > Hi, > > I''m new to puppet, read a bit about it and tried a few things out. It''s > really a great piece of work. > Thanks for doing all this. As part of my work I''m leading the opensource > kiwi project which is a > plain appliance builder and one aspect of the project is also to help > people in migrating a currently > running system into an appliance description which then allows to maintain > and build into different > appliance types, e.g the way from bare metal into the virtual world, or > from one architecture into > another. > > The migration code as it is right now handles the configuration part just > by creating copies of > configuration files. It relies on config metadata of the rpm database, it > takes concepts of autoyast > into place. But all this is a pretty humble approach has some room to fail > and also limits to specific > distribution concepts. I was thinking it could be done better/more > generic. So my question is, is > puppet able to provide information about the configuration of a system > which it did _not_ setup > itself in the first place ? > > information like sshd configuration, apache, etc, etc... my first guess > would be it knows best > about its own resources but not about services running on a system not > managed by puppet so > far. Is that correct ? > > Thanks much > > Regards, > Marcus > > > > -- > 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 <javascript:>. > To post to this group, send email to puppet...@googlegroups.com<javascript:> > . > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > > -- > 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 <javascript:>. > To post to this group, send email to puppet...@googlegroups.com<javascript:> > . > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. >-- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.