Re: [Puppet Users] remove/purge a package

2014-12-08 Thread ezzobad
Hi Spencer, cent200 is the puppet master and cent201 is the client. the manifest: Package { ensure => "installed", allow_virtual => 'false' } $unwanted_packages = [ "ypbind", "yp-tools" ] package { $unwanted_packages: ensure => 'purged', provider => 'yum' } [ro

[Puppet Users] remove/purge a package

2014-12-08 Thread ezzobad
Hi, I was trying to remove "ypbind" and "yp-tools" using ensure => 'absent', but it looks like puppet does not support interdependency in this way. So I tried 'purged' and the result is what I expected, except the report: ... Notice: /Stage[main]/Main/Package[yp-tools]/ensure: *created* ... Sho

[Puppet Users] Re: classification question

2014-12-08 Thread ezzobad
9, 2014 2:31:57 AM UTC+11, jcbollinger wrote: > > > > On Monday, December 8, 2014 12:08:22 AM UTC-6, ezzobad wrote: >> >> Hi, >> >> This is the configuration: >> *Puppet version:* 3.7.2 (Puppet Enterprise 3.7.0) >> *OS on the puppet master and agent:*

[Puppet Users] classification question

2014-12-08 Thread ezzobad
Hi, This is the configuration: *Puppet version:* 3.7.2 (Puppet Enterprise 3.7.0) *OS on the puppet master and agent:* CentOS release 6.5 (Final) *Puppet server:* Cent200.example.com *Puppet node:* Cent201.example.com environment1: /etc/puppetlabs/puppet/environments/environment1/ ├── manifests │