[Puppet Users] Use of camelCase causes issues in dependancy resolution

2012-08-13 Thread Abhijeet Rastogi
Hi, Please have a look at this init.pp file. https://github.com/shadyabhi/puppet-t/blob/master/modules/php/manifests/init.pp In short, I have defined two classes that do some stuff & then I define that the resources in one class should be executed before the resources of the other class by usi

[Puppet Users] Re: Getting the catalog even if the puppet fails

2012-10-12 Thread Abhijeet Rastogi
12 7:11:56 PM UTC+5:30, jcbollinger wrote: > > > > On Thursday, October 11, 2012 11:48:29 PM UTC-5, Abhijeet Rastogi wrote: >> >> Hi, >> >> I have a situation where loading of facts & caching for catalog is done. >> After that, the puppet fails wit

Re: [Puppet Users] Creating users and group with same name

2013-02-05 Thread Abhijeet Rastogi
I don't even have it installed. Thing is, I can add the user by using "-g". But, why is puppet not able to do so, that's what is wondering me. On Tuesday, February 5, 2013 8:51:37 PM UTC+5:30, Jesse Throwe wrote: > > Generally when I see weird errors like this with users/group nscd has > gotten

[Puppet Users] Ensure "rows" in a mysql table

2014-11-21 Thread Abhijeet Rastogi
mysql instance and does it's job. Although, second option is the most optimal way to do, it also requires more man hours. I would be happy to choose something that's already built and tested. Any ideas? -- Cheers, Abhijeet Rastogi (shadyabhi) -- You received this message because you are

Re: [Puppet Users] Ensure "rows" in a mysql table

2014-11-24 Thread Abhijeet Rastogi
show_rows, add_rows & >> delete_rows. And then call "exec" with conditionals to alter these >> rows. >> 2. Write a custom type/resource which connects to mysql instance and >> does it's job. >> >> Although, second option is the most optimal way

[Puppet Users] Class ordering via anchor patterns not working in a pretty simple setup

2014-12-16 Thread Abhijeet Rastogi
nce]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list openstack-glance' returned 1: Error: No matching Packages to list Notice: /Stage[main]/Glance::Notify::Rabbitmq/Glance_api_config[DEFAULT/kombu_ssl_keyfile]: Dependency Package[openstack-glance] has

Re: [Puppet Users] Re: Class ordering via anchor patterns not working in a pretty simple setup

2014-12-17 Thread Abhijeet Rastogi
wrote: > > > > On Tuesday, December 16, 2014 7:59:00 AM UTC-6, Abhijeet Rastogi wrote: > > [...] > > class profile::base { >> anchor { 'base_repos_start': } >> class { '::yum::repo::epel': require => Anchor['base_repos_start&#

[Puppet Users] Elegant way to supply facts to `puppet apply`

2018-11-26 Thread Abhijeet Rastogi
Hi everyone, puppet lookup command has a nice --facts option which accepts a structured json/yaml file to upload files. Why does that option not exist for puppet apply? Is the environment variable the only option? Puppet version: 6.0.4 Thanks, Abhijeet -- You received this message because

[Puppet Users] Resource ordering not working for module classes (top-level)

2019-11-26 Thread Abhijeet Rastogi
Hi Puppet users, I have the following code and all resources inside class ipvsadm are not executed before all resources in class ipvs_keepalived. class profile::ipvs { # Removed other classes for readability include '::ipvs_keepalived' include '::ipvsadm' # Need ipvsadm kernel module

Re: [Puppet Users] Resource ordering not working for module classes (top-level)

2019-12-02 Thread Abhijeet Rastogi
-> Class['ipvs_keepalived::service'] > > I'm not a huge fan of creating relationships between components of > modules, but sometimes that's the best way forward. > > Watch the use of contain. It can be easy to create dependency cycles > particularly if you&