Did anyone managed to get augeas running on Ubuntu 8.04? I tried for hours to get it working, but to no avail: No augeas on ubuntu repository, making from source fails (and the installation procedure included with augeas doesn''t agree with the file names one can get from the repositories)... And of course I failed to find any how-to on the web. The closest one I found is this: http://www.mail-archive.com/augeas-devel@redhat.com/msg01076.html Can someone in the list share his own experience with getting augeas work with puppet 0.25.1rc2 (or any other) in Ubuntu 8.04? Thank you very much. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
augeas is packaged for things newer than 8.04. I didn''t have any problem fetching the newer package source and building on 8.04. Of course, the grub lenses don''t seem to work, so I gave up, but augeas itself seems fine. It was basically as simple as: apt-get build-dep augeas apt-get source augeas cd augeas_0.5.1 debuild -i -us -uc -b seph Adam Ryczkowski <adam.ryczkowski@gmail.com> writes:> Did anyone managed to get augeas running on Ubuntu 8.04? I tried for > hours to get it working, but to no avail: No augeas on ubuntu > repository, making from source fails (and the installation procedure > included with augeas doesn''t agree with the file names one can get > from the repositories)... > And of course I failed to find any how-to on the web. The closest one > I found is this: http://www.mail-archive.com/augeas-devel@redhat.com/msg01076.html > > Can someone in the list share his own experience with getting augeas > work with puppet 0.25.1rc2 (or any other) in Ubuntu 8.04? > > Thank you very much. >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
David Lutterkort
2009-Oct-28 13:23 UTC
[Puppet Users] Re: Problem with augeas on Ubuntu 8.04
On Tue, 2009-10-27 at 05:13 -0700, Adam Ryczkowski wrote:> Did anyone managed to get augeas running on Ubuntu 8.04? I tried for > hours to get it working, but to no avail: No augeas on ubuntu > repository, making from source fails (and the installation procedure > included with augeas doesn''t agree with the file names one can get > from the repositories)... > And of course I failed to find any how-to on the web. The closest one > I found is this: http://www.mail-archive.com/augeas-devel@redhat.com/msg01076.html > > Can someone in the list share his own experience with getting augeas > work with puppet 0.25.1rc2 (or any other) in Ubuntu 8.04?I am not an Ubuntu user, but I was under the impression that augeas packages were maintained etc. Nicolas, any idea what''s happening ? David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Adam Ryczkowski
2009-Nov-03 18:26 UTC
[Puppet Users] Re: Problem with augeas on Ubuntu 8.04
> augeasis packaged for things newer than 8.04. I didn''t have any problem > fetching the newer package source and building on 8.04. Of course, the > grub lenses don''t seem to work, so I gave up, butaugeasitself seems > fine. > > It was basically as simple as: > > apt-get build-depaugeas > apt-get sourceaugeas > cd augeas_0.5.1 > debuild -i -us -uc -b > > sephI have finally found time to try it out, but to no avail. Maybe you were not specific enough about what to do. Using your steps the augeas compiled fine on Ubuntu 9.04, but it is not the point, because on this system I could just fetch it from the repository. The generated .deb files obviously couldn’t be installed on Ubuntu 8.04 due to broken dependencies (e.g. libaugeas0 depends on libc6 (>2.8); however on Ubuntu 8.04 Version of libc6 is 2.7-10ubuntu5). Copying the source directory from 9.04 into 8.04 and running from it “debuild -i -us -uc –b” was not successful due to unsatisfied dependencies. If I manually loaded required pakages: debhelper (>= 5) autotools-dev libreadline5-dev chrpath quilt (fortunately all of them are on repositories) the build failed anyway, after displaying (…) ./configure --host=i486-linux-gnu --build=i486-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info CFLAGS="" --enable-compile-warnings=yes /bin/sh: ./configure: Permission denied make: *** [config.status] Error 126 debuild: fatal error at line 1247: I’m under impression that augeas seems to be important enough component of puppet to post the problem here. Maybe someone managed to do it from official augeas source? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Adam Ryczkowski <adam.ryczkowski@gmail.com> writes:>> It was basically as simple as: >> >> apt-get build-dep augeas >> apt-get source augeas >> cd augeas_0.5.1 >> debuild -i -us -uc -b >> >> seph > > I have finally found time to try it out, but to no avail. Maybe you > were not specific enough about what to do. Using your steps the augeas > compiled fine on Ubuntu 9.04, but it is not the point, because on this > system I could just fetch it from the repository.Ignoring a minor typo ("_" instead of "-"), those are exactly the steps I run on ubuntu 8.04. They depend on having the appropriate deb-src line listed, but it''s a normal way to backport packages. If you''re missing dependencies, than you''re probably not running the build-dep line. Of course, now that I''ve actually tried using puppet and augeas, I''ve discovered I also need the libaugeas-ruby package. It can also be compiled with the same process.> I''m under impression that augeas seems to be important enough > component of puppet to post the problem here.I''d disagree. I''ve been using puppet for awhile, and haven''t needed augeas yet. I''ve just started looking at using it for a couple of config files, but it''s hardly critical. seph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
David Lutterkort wrote:> On Tue, 2009-10-27 at 05:13 -0700, Adam Ryczkowski wrote: > >> Did anyone managed to get augeas running on Ubuntu 8.04? I tried for >> hours to get it working, but to no avail: No augeas on ubuntu >> repository, making from source fails (and the installation procedure >> included with augeas doesn''t agree with the file names one can get >> from the repositories)... >> And of course I failed to find any how-to on the web. The closest one >> I found is this: http://www.mail-archive.com/augeas-devel@redhat.com/msg01076.html >> >> Can someone in the list share his own experience with getting augeas >> work with puppet 0.25.1rc2 (or any other) in Ubuntu 8.04? >> > > I am not an Ubuntu user, but I was under the impression that augeas > packages were maintained etc. Nicolas, any idea what''s happening ? > > David > > > > > >David, 8.04 is LTS and IIRC the maintained packages weren''t introduced til 9.04. They will only make it into LTS if they are ''backported''. -- Joe McDonagh Operations Engineer www.colonfail.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Adam Ryczkowski
2009-Nov-04 15:27 UTC
[Puppet Users] Re: Problem with augeas on Ubuntu 8.04
Alright, I made the augeas working. The point I have missed is that one should paste deb-src(...) from Karmic Koala into /etc/apt/ sources.list. I have never before backported anything. But then there happened another problem: after I install the augeas on puppet client (not master) and try to run this sample manifest /etc/puppet/manifests/site.pp: node default { augeas{ "server0": context => "/files/etc/hosts", changes => [ "set 4/ipaddr 192.168.0.1", "set 4/canonical server0.example.com", "set 4/alias[1] server0", "set 4/alias[2] puppet-augeas.example.com", ], } } the puppet displays an error: err: Could not run Puppet configuration client: Could not find a default provider for augeas I made a guess that it has something to do with "libaugeas-ruby1.8" which I haven''t installed (since it is also missing from Hardy repositories). I have tried the same backporting procedure seph has written, but after running debuild -i -us -uc -b inside fetched source directory the build process failed very fast with a message that "debian/ changelog" is missing (or very similar). Inside that directory there was no readme nor make, only "rake" file. I guessed again, that it has something to do with ruby make, so I have installed it and run it in this source directory wihout any parameters in a hope to get similar behaviour to make. The rake failed, saying that there was no "default" task. Also issuing "rake install" did not help. Or maybe I get it all wrong? What should I do to get augeas working? I use puppet 0.25.1 rc2, augeas 0.5.0 and vanilla ubuntu 8.04 lts --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Adam Ryczkowski
2009-Nov-20 20:40 UTC
[Puppet Users] Re: Problem with augeas on Ubuntu 8.04
I have submitted my adventures with getting puppet to work with augeas on Puppet Wiki http://reductivelabs.com/trac/puppet/wiki/PuppetSource . I hope it will be of use to someone like me. It took me one week to figure out what I wrote!... Unfortunately I can''t fully validate the steps, because it seems there are some problems with gem servers, and I can''t get any gems from the net. Thanks to seph again, without his advices none of it would be written. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=.