[Puppet-dev] Re: creating a custom type to replace a line in a file

2009-01-19 Thread Marc Fournier
> ok, i think i'm missing at least one step in the augeas deployment. > [r...@puppetslave ~]# rpm -ivh augeas- > augeas-0.3.4-1.el5.x86_64.rpm augeas-libs-0.3.4-1.el5.x86_64.rpm > [r...@puppetslave ~]# rpm -ivh augeas-*x86_64*rpm > Preparing... > ###

[Puppet-dev] Re: creating a custom type to replace a line in a file

2009-01-18 Thread Teyo Tyree
On Sun, Jan 18, 2009 at 7:57 PM, chakkerz wrote: > > Awesome > > Thanks for the Template idea Teyo, that looks exactly like what i > want. > > So i created my templte sshd_config.erb > > Port 22 > Protocol 2 > ListenAddress <%= listenaddress %> > #ListenAddress :: > > SyslogFacility AUTHPRIV > Pe

[Puppet-dev] Re: creating a custom type to replace a line in a file

2009-01-18 Thread chakkerz
ok, i think i'm missing at least one step in the augeas deployment. [r...@puppetslave ~]# rpm -ivh augeas- augeas-0.3.4-1.el5.x86_64.rpm augeas-libs-0.3.4-1.el5.x86_64.rpm [r...@puppetslave ~]# rpm -ivh augeas-*x86_64*rpm Preparing... ### [100%] 1:a

[Puppet-dev] Re: creating a custom type to replace a line in a file

2009-01-18 Thread chakkerz
Awesome Thanks for the Template idea Teyo, that looks exactly like what i want. So i created my templte sshd_config.erb Port 22 Protocol 2 ListenAddress <%= listenaddress %> #ListenAddress :: SyslogFacility AUTHPRIV PermitRootLogin no #StrictModes yes PasswordAuthentication no ChallengeRespons

[Puppet-dev] Re: creating a custom type to replace a line in a file

2009-01-16 Thread David Lutterkort
On Thu, 2009-01-15 at 16:30 -0800, chakkerz wrote: > The premise is simple, what's causing for me this need for this type > is that i can't find anything that does it for me (augeas was > mentioned but i don't get the red hat site's relevance and there is no > info on the puppet site). What i want

[Puppet-dev] Re: creating a custom type to replace a line in a file

2009-01-16 Thread Peter Meier
Hi >> The premise is simple, what's causing for me this need for this type >> is that i can't find anything that does it for me (augeas was >> mentioned but i don't get the red hat site's relevance and there is no >> info on the puppet site). What i want to do is ensure that the >> sshd_config co

[Puppet-dev] Re: creating a custom type to replace a line in a file

2009-01-15 Thread Teyo Tyree
On Thu, Jan 15, 2009 at 6:30 PM, chakkerz wrote: > > Hello there > > I've posted on the user's group, but i'm starting to feel here might > be more appropriate since i want to do this in the scope of puppet, > rather than shell scripting. > > The premise is simple, what's causing for me this need