[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-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] Problem with order and ensure_resource.

2015-03-26 Thread Shawn Sterling
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 I do this: $epel_packages = ['redis', 'jemalloc'] repo::epel::add { $epel_packages: } -