I''ve started working on a new tool that should help with modifying the configuration of a system under the control of puppet. The tool is called cft (pronounced ''sift'') and is inspired by Gnome''s Sabayon[1] in taht it watches how an admin changes a system and spits out a puppet manifest based on its observations. Cft''s website is http://cft.et.redhat.com/ , sources can be found in the mercurial repo at http://hg.et.redhat.com/hg/emd/applications/cft (the README and TODO files contain juicier details on how cft does what it does and possible future direction) For discussions, please use et-mgmt-tools@redhat.com (though I will definitely answer anything that comes along on puppet-dev or puppet-users) Enjoy, David [1] http://www.gnome.org/~seth/blog/sabayon
On Dec 20, 2006, at 4:28 PM, David Lutterkort wrote:> I''ve started working on a new tool that should help with modifying the > configuration of a system under the control of puppet. The tool is > called cft (pronounced ''sift'') and is inspired by Gnome''s Sabayon > [1] in > taht it watches how an admin changes a system and spits out a puppet > manifest based on its observations. > > Cft''s website is http://cft.et.redhat.com/ , sources can be found > in the > mercurial repo at http://hg.et.redhat.com/hg/emd/applications/cft (the > README and TODO files contain juicier details on how cft does what it > does and possible future direction) > > For discussions, please use et-mgmt-tools@redhat.com (though I will > definitely answer anything that comes along on puppet-dev or > puppet-users)Incredibly cool, as I mentioned on IRC, my coworker and I have been talking about writing a gamin-based file monitor app, but you took it one step further and integrated directly with puppet. MAJOR kudos. -Blake
José González Gómez
2006-Dec-21 11:58 UTC
Re: cft through changes (new tool based on puppet)
2006/12/21, David Lutterkort <dlutter@redhat.com>:> > I''ve started working on a new tool that should help with modifying the > configuration of a system under the control of puppet. The tool is > called cft (pronounced ''sift'') and is inspired by Gnome''s Sabayon[1] in > taht it watches how an admin changes a system and spits out a puppet > manifest based on its observations. > > Cft''s website is http://cft.et.redhat.com/ , sources can be found in the > mercurial repo at http://hg.et.redhat.com/hg/emd/applications/cft (the > README and TODO files contain juicier details on how cft does what it > does and possible future direction) > > For discussions, please use et-mgmt-tools@redhat.com (though I will > definitely answer anything that comes along on puppet-dev or > puppet-users) > >I''ve taken a look at the README and TODO files, and the project seems to be quite RedHat oriented... is there any chance of abstracting things, so it can be adapted to other distros (let''s say... mmm... Gentoo)? Best regards Jose _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Dec 21, 2006, at 5:58 AM, José González Gómez wrote:> > I''ve taken a look at the README and TODO files, and the project > seems to be quite RedHat oriented... is there any chance of > abstracting things, so it can be adapted to other distros (let''s > say... mmm... Gentoo)?I expect that porting the tool is largely a question of support for gamin/fam and support for Puppet types. Is that right, David? -- Like frozen sentries of the serengeti, the century-old termite mounds had withstood all tests of time and foe - all tests, that is, except the one involving drunken aardvarks and a stolen wrecking ball." -- Gary Larson --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
On Thu, 2006-12-21 at 12:58 +0100, José González Gómez wrote:> I''ve taken a look at the README and TODO files, and the project seems > to be quite RedHat oriented... is there any chance of abstracting > things, so it can be adapted to other distros (let''s say... mmm... > Gentoo)?Absolutely ... the Red Hat orientation is mainly there because that''s what I know. Patches and/or suggestions on how to make it work on other distros are very much appreciated. David
On Thu, 2006-12-21 at 10:19 -0600, Luke Kanies wrote:> On Dec 21, 2006, at 5:58 AM, José González Gómez wrote: > > > > I''ve taken a look at the README and TODO files, and the project > > seems to be quite RedHat oriented... is there any chance of > > abstracting things, so it can be adapted to other distros (let''s > > say... mmm... Gentoo)? > > I expect that porting the tool is largely a question of support for > gamin/fam and support for Puppet types. Is that right, David?That, and there''s a little bit of knowledge about what certain paths mean (e.g. that a change to /etc/rc3.d/K50tux can be ignored because it will already be reflected in a service element) That knowledge about paths probably belongs into something that works on the provider level, rather than the type level; but in the interest of keeping things simple, I haven''t tried to tackle that yet. Realistically, I really need somebody running on a different distro to help out with making cft more portable, if not with actual coding, at least with a better understanding of where the problems lie just from using cft. One addition that I hope to make soon that will force the issue is support for packages: on the Fedora side, this will most likely require using ruby-rpm, and clearly that won''t fly on other distros. David