Re: [Puppet Users] Re: roolback to previouse configuration

2012-02-25 Thread ruslan usifov
Thanks jcbollinger for detailed answer >>>For many resource types, another alternative to to purge unmanaged >>>resources via the 'Resources' meta-resource type. I misunderstand what you talking about? Could you share some links? -- You received this message because you are subscribed to the Go

[Puppet Users] roolback to previouse configuration

2012-02-19 Thread ruslan usifov
Hello Does anybody share how to roll-back configuration if puppet definition on host is change. For example Let's assume we have host on which initial was web server and bunch of users. All this resources we configured throw puppet. node { } At some point we decide to remove u

Re: [Puppet Users] How run a first command

2012-02-17 Thread ruslan usifov
2012/2/17 Jair Gaxiola > Hi, > > I try exec my first command apt-get update, after install other > packages but run first apt-get install and not apt-get update > > > Exec { >path => "/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin", > } > > exec { 'apt-get -y update': > command => '/usr/bin/ap

Re: [Puppet Users] Re: inherits from parametrized class

2012-02-17 Thread ruslan usifov
2012/2/15 jcbollinger > > > On Feb 14, 10:41 am, Nan Liu wrote: > > On Tue, Feb 14, 2012 at 6:49 AM, ruslan usifov > wrote: > > > Hello > > > > > In is possible inherits from parametrized class?? > > > Is class inheritance really would you sho

[Puppet Users] inherits from parametrized class

2012-02-14 Thread ruslan usifov
Hello In is possible inherits from parametrized class?? For example i have base php52 class like this: class linux::php52($pools, $extensions='') inherits linux { .. } and whants to inherit it like this: class linux::php52::cluster inherits linux::php52 for cluster configuration (c

[Puppet Users] redefine define parameters

2011-09-01 Thread ruslan usifov
Hello I just start to learn puppet. And have follow question. How is it possible to override params in define. For example i have follow definition for manage devel users: define users::devel { $l_shell_path = $operatingsystem ? { "freebsd" => "/bin/csh",