[Puppet Users] Re: Augeas-1.5.0 to edit file using Puppet

2017-04-07 Thread Shrawan Bhagwat
Hi Peter, Is commenting and uncommenting any line using Augeas is possible? if so, how? On Friday, 7 April 2017 10:27:35 UTC+5:30, Shrawan Bhagwat wrote: > > Thanks Peter. It worked for me. > > On Thursday, 30 March 2017 17:27:30 UTC+5:30, Peter Faller wrote: >> >> Is

[Puppet Users] Re: Augeas-1.5.0 to edit file using Puppet

2017-04-06 Thread Shrawan Bhagwat
', > host_aliases => [ > 'north', 'main-switch' > ], > } > > > On Thursday, 30 March 2017 09:55:33 UTC+2, Shrawan Bhagwat wrote: >> >> >> -- You received this message because you are subscribed to the Google Groups "Puppet Users" grou

[Puppet Users] Augeas-1.5.0 to edit file using Puppet

2017-03-30 Thread Shrawan Bhagwat
Hi All, I have configured Puppet 3.8.1 and Augeas 1.5.0. I am trying to edit /etc/hosts file using augeas with following code: augeas{'host_file': context => "/files/etc/hosts", changes => [ "set ipaddr 192.168.0.1", "set canonical

Re: [Puppet Users] Re: Augtool installation

2016-07-12 Thread Shrawan Bhagwat
Hi David, Waiting for you response. :) Regards, Shrawan On Friday, 1 July 2016 19:36:47 UTC+5:30, Shrawan Bhagwat wrote: > > Hi David, > > Thanks for you response :) > > I have had downloaded puppet agent following that guide. but still i am > getting the same error. >

Re: [Puppet Users] Re: Augtool installation

2016-07-01 Thread Shrawan Bhagwat
gt; Hi Shrawan, > > On Tue, Jun 28, 2016 at 8:51 AM, Shrawan Bhagwat <shraw...@gmail.com > > wrote: > >> Hi David, >> >> I am getting following error: >> >> Error: /Stage[main]/Aug_mod::Configuration_files/Augeas[host_file]: Could >> not

[Puppet Users] Re: Augtool installation

2016-06-28 Thread Shrawan Bhagwat
, Shrawan Bhagwat wrote: > > Hi David, > > Thanks for your response. > > I have done that as guided in this: > http://www.unixarena.com/2016/02/puppet-augeas-edit-system-configuration-files.html > > Can you please help me with it's working? > > As of now i have

[Puppet Users] Re: Augtool installation

2016-06-28 Thread Shrawan Bhagwat
David Lutterkort wrote: > > On Friday, June 24, 2016 at 3:29:25 PM UTC+2, Shrawan Bhagwat wrote: >> >> Hi All, >> >> I have installed Augeas setup from yum repository using command yum >> install ruby-augeas.x86_64. >> >> I have got all pack

[Puppet Users] Re: Augtool installation

2016-06-27 Thread Shrawan Bhagwat
hrawan On Saturday, 25 June 2016 00:06:24 UTC+5:30, Michael Watters wrote: > > You'll need to install the package that provides augtool in order to use > it. > > yum provides augtool should show you what package to install. > > > On Friday, June 24, 2016 at 9:29:25 AM UTC-4, Shraw

[Puppet Users] Augtool installation

2016-06-24 Thread Shrawan Bhagwat
Hi All, I have installed Augeas setup from yum repository using command yum install ruby-augeas.x86_64. I have got all packages of Augeas but not able to find command Augtool. Please help! Regards, Shrawan -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Ordering of different modules of puppet at same path

2016-06-02 Thread Shrawan Bhagwat
Hi All, Can anyone suggest me how can i sequence the execution order of different modules of puppet that are present at same path? Regards, Sharwan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop

[Puppet Users] Runall Not installing Modules

2016-05-25 Thread Shrawan Bhagwat
Hi All, We have configured puppet 3.8.7 and we have started creating modules a per our requirements. when we are executing command mco puppet runall 2, it's not updating the node with new configurations. Please guide. Regards, Shrawan -- You received this message because you are subscribed