[Puppet Users] Re: yumrepo difference in behaviour between CentOS 6 and 7

2016-09-15 Thread Erez Zarum
It's a known bug, the best option i have come with is to create a module to manage the base repositories using augeas instead of yumrepo. On Monday, September 12, 2016 at 6:48:15 PM UTC+3, Jonathan Gazeley wrote: > > Hi folks, > > I'm working on a manifest that manages the stock yum.repos.d

[Puppet Users] Facts and Resource relationships

2016-10-06 Thread Erez Zarum
I'm not sure if it's a bug or an expected behavior. I have written a simple fact for a module that returns a version of a binary file, it executes: "binary --version" and then parses the version, no issues there, it works. The issue i am having is relying on this fact in case the binary file

Re: [Puppet Users] Facts and Resource relationships

2016-10-06 Thread Erez Zarum
Ok, so the workaround is to use a variable (set default), if that fails, try the fact. Thanks! On Thursday, October 6, 2016 at 10:45:26 AM UTC+3, R.I. Pienaar wrote: > > > > - Original Message - > > From: "Erez Zarum" <erez...@gmail.com &g

Re: [Puppet Users] Facts and Resource relationships

2016-10-06 Thread Erez Zarum
ot be needed. > > On Thursday, October 6, 2016, Erez Zarum <erez...@gmail.com > > wrote: > >> Ok, so the workaround is to use a variable (set default), if that fails, >> try the fact. >> >> Thanks! >> >> On Thursday, October 6, 2016 at 10:

Re: [Puppet Users] Defined Resource types and Relationship

2016-09-21 Thread Erez Zarum
Thanks! On Wednesday, September 21, 2016 at 11:26:57 AM UTC+3, R.I. Pienaar wrote: > > > > - Original Message - > > From: "Erez Zarum" <erez...@gmail.com > > > To: "puppet-users" <puppet...@googlegroups.com > > > Sent: We

Re: [Puppet Users] Defined Resource types and Relationship

2016-09-21 Thread Erez Zarum
If i understand correctly, I do not have to contain (declare contain) on the defined resource (like in app::server)? As in my example it will work as expected? On Wednesday, September 21, 2016 at 10:59:27 AM UTC+3, R.I. Pienaar wrote: > > > > - Original Message - >

[Puppet Users] Defined Resource types and Relationship

2016-09-21 Thread Erez Zarum
Is it the same behavior as classes? Example: define app::server { ::app::server::config { '/etc/app.conf': } ::app::server::service { 'app': } App::Server::Config['/etc/app.conf'] -> App::Server::Service['app'] } define app::server::config { file { $name: ensure => present } }

[Puppet Users] Re: puppetlabs/mount_providers Could not autoload puppet/type/mountpoint: Attempt to redefine entity

2016-12-20 Thread Erez Zarum
Looked like a contention of some kind, i removed the module and installed it again to see if i can run "puppet describe mountpoint", it is now working. On Tuesday, December 20, 2016 at 11:34:19 PM UTC+2, Erez Zarum wrote: > > Hey, > I'm trying to use puppetlabs/mount_provi

[Puppet Users] puppetlabs/mount_providers Could not autoload puppet/type/mountpoint: Attempt to redefine entity

2016-12-20 Thread Erez Zarum
Hey, I'm trying to use puppetlabs/mount_providers, it works fine on a puppet agent 1.6.2 (apply), when when i try to compile the catalog on the puppetserver (2.6.0), i receive the following error: 2016-12-20 21:20:30,321 ERROR [qtp2009689149-149188] [puppetserver] Puppet Evaluation Error: Error