[Puppet Users] Re: Problem with order and ensure_resource.

2015-03-30 Thread Nan Liu
On Monday, March 30, 2015 at 6:14:36 AM UTC-7, jcbollinger wrote: > > > > On Saturday, March 28, 2015 at 9:37:35 AM UTC-5, Nan Liu wrote: >> >> On Friday, March 27, 2015 at 5:49:54 PM UTC-7, Shawn Sterling wrote: >> > >> >> I will avoid any module that uses ensure_resources from this point on. >>

[Puppet Users] Re: Problem with order and ensure_resource.

2015-03-30 Thread jcbollinger
On Saturday, March 28, 2015 at 9:37:35 AM UTC-5, Nan Liu wrote: > > On Friday, March 27, 2015 at 5:49:54 PM UTC-7, Shawn Sterling wrote: > > > I will avoid any module that uses ensure_resources from this point on. >> > > Isn't that rather drastic, considering it's an issue with one module, and

[Puppet Users] Re: Problem with order and ensure_resource.

2015-03-29 Thread Shawn Sterling
On Saturday, March 28, 2015 at 7:37:35 AM UTC-7, Nan Liu wrote: > > Arioch's puppet-redis needs an anchor resource to wrap the classes > declared in the init.pp. You can establish a relationship if you specify an > existing class with resources (rather the the redis class which only > contain

[Puppet Users] Re: Problem with order and ensure_resource.

2015-03-28 Thread Nan Liu
On Friday, March 27, 2015 at 5:49:54 PM UTC-7, Shawn Sterling wrote: > > > > On Friday, March 27, 2015 at 6:45:05 AM UTC-7, jcbollinger wrote: >> >> ensure_resource() is not a resource declaration; it is a function call >> that under some circumstances causes a resource to be declared. It does >

[Puppet Users] Re: Problem with order and ensure_resource.

2015-03-27 Thread Shawn Sterling
On Friday, March 27, 2015 at 6:45:05 AM UTC-7, jcbollinger wrote: > > ensure_resource() is not a resource declaration; it is a function call > that under some circumstances causes a resource to be declared. It does > not return a value, and therefore cannot be valid operand for the chain > op

[Puppet Users] Re: Problem with order and ensure_resource.

2015-03-27 Thread jcbollinger
On Thursday, March 26, 2015 at 8:52:39 AM UTC-5, Shawn Sterling wrote: > > Using: > puppetserver-1.0.2-1.el7.noarch > puppet-3.7.4-1.el7.noarch > > Doing roles and profiles. Have a define setup to add 'includepkgs' items > to different yum repos (for security reasons). > > In my redis profile if